minimap layout

Get help using Construct 2

Post » Sat Mar 09, 2013 6:35 pm

Is it possible that in the sprite or the whole canvas display layout?
I mean such a system:
layout-1980x 1080px
minimap(sprite or canvas)-size 120x66 px
game window- 600x 330px

I want to be able to view in the minimap whole layout

like in that handmade example:


Of course in this example minimap shows only the visible layoutdelgado2013-03-09 18:44:17
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Sat Mar 09, 2013 7:00 pm

@Delgado,

I'll wait another person to answer you. If nobody answer you, I can share my alternative system, using a grid on the map and doing a simplified minimap.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276

Post » Sun Mar 10, 2013 10:32 pm

@TELLES0808 I waiting but No ideas, can i ask you for your idea?
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Mon Mar 11, 2013 8:57 am

B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Mon Mar 11, 2013 6:03 pm

@Wink thanks for your interest but i see this tutorials before and for me this is something different
B
93
S
19
G
34
Posts: 1,840
Reputation: 27,963

Post » Mon Mar 11, 2013 9:47 pm

@delgado

[quote]This mini map will be easy to make, but can decrease the performance of your game in some situations, also, it don't use plugins.

It's simple, you can make an array of your screen, placing invisible tiles on the screen, at the foreground (the top layer, that with parallax 0,0), then, check if any tile if overlapping any family.

Then, replicate it as a chest board on the corner of your screen, like you did.

This is not the best way, but I'm sure you can work with it.[/quote]

I'm currently working with a different version, where I place on the corner of my screen a reduced version of my canvas (it's hard, because you'll need to printscreen, make the puzzle, and then reduce it). After if, I do the player position on the minimap by checking his position on the screen and using a correlation.

Right now I'm improving it to zoom the map and cut the edges to make sure the minimap viewed is inside the minimap area (everything bigger than the minimap area will be made invisible using webGL effect), because the minimap is larger than his area on the screen.
ImageImageImageImageImageImage
B
92
S
19
G
12
Posts: 1,192
Reputation: 18,276


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 13 guests