Player interaction with an Isometric Map [Tycoon game]

Get help using Construct 2

Post » Sun Nov 27, 2016 12:24 pm

Message: Savoyan2 can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
I have to admit I am really stuck in the development on my tycoon game project as this is a very important feature :
- Player interactions with the isometric map.

How do I allow the player to change the tiles' properties directly from the projection map? Right now for instance, I need the player to be able to choose the tiles on the map that can grow buildings (like the zoning tool would do in Sim City). Precisely I need events performing this:

1 - The player click on a tile (of the projection map) where building will have to grow. ( :) OK)
2 - The tile on the projection map finds its related tile on the tilemap. ( :oops: NO IDEA HOW TO DO THIS)
3 - The tile of the tilemap is replaced by another type of tile. ( :geek: SHOULD BE OK)
4 - The tile on the projection map changes appearance. ( :) OK)
5 - When all conditions are met a building can randomly appear on one of those constructible tiles. ( :) OK)

To sum up: how to make a zoning tool on an isometric map.

I am using the the scirra isometric https://www.scirra.com/arcade/tutorial-games/isometric-projection-6337
After hours of research the best thing I found is this tutorial : http://clintbellanger.net/articles/isometric_math/ - although I barely understand it and have no idea how to translate it in C2.

Right now buildings are randomly spawning on any existing tile when the demand is enough, here's the events :
Image

I am very looking forward to hear any of your ideas guys! :D
Last edited by Savoyan2 on Tue Nov 29, 2016 4:56 pm, edited 1 time in total.
B
3
Posts: 1
Reputation: 179

Post » Mon Nov 28, 2016 10:11 pm

Check out @rexrainbow 's SquareTx plugin. It has an isometric mode that works well for small (less then 1,000 x 1,000) grids.

http://c2rexplugins.weebly.com/rex_board_squaretx.html
http://c2rexplugins.weebly.com/rex_board.html
https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,415
Reputation: 4,824


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 21 guests