How do I duplicate the current level and put it in a minimap

Get help using Construct 2

Post » Sat Jan 02, 2016 11:55 am

I'm messing around, getting a feel for C2 and I'm trying to add a minimap to the ui. I've looked through various tutorials and posts but they are all for pre-built stuff. I'm using the rougelike tutorial so the map is random on each load.

Somehow I need to duplicate each tile that's on the map and copy it to a minimap box place for place. And it gets a bit harder because I'm using a fog of war, so the minimap should take that into account too.

I think I could work out the second bit once I've got the map duplicated.

Here is the capx to show the kind of map: dl.dropboxusercontent.com/u/2399862/r1.capx (bare in mind stuff in there is messing around with things, it's just to show the map generation).

Thanks for any advice!
B
5
Posts: 4
Reputation: 248

Post » Sun Jan 03, 2016 1:27 am

maybe this will help?
https://www.dropbox.com/s/fn0yggj7tk4za ... .capx?dl=0
What basically i did there was make a a map window that has same resolution as the entire layout and divided its width and height by 5. Everything put in the map will for this reason be divided by 5 in this case to work accurate. The map also must have its image point set on top left to position everything correctly. The rest is shown in events...
B
47
S
10
G
5
Posts: 232
Reputation: 7,561

Post » Mon Jan 11, 2016 1:59 pm

Message: evu is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
Miu3 wrote:maybe this will help?What basically i did there was make a a map window that has same resolution as the entire layout and divided its width and height by 5. Everything put in the map will for this reason be divided by 5 in this case to work accurate. The map also must have its image point set on top left to position everything correctly. The rest is shown in events...


Hi Miu3, thanks that works well :) and for the capx too! big help, cheers.
B
5
Posts: 4
Reputation: 248


Return to How do I....?

Who is online

Users browsing this forum: ahmadi9112, Fabgon, Hellhoundslayer and 8 guests