How do I make a game like simcity

Get help using Construct 2

Post » Thu Apr 24, 2014 6:11 pm

Well, i want to make a game like simcity, but i have some problems:

1) I can't make a road tool. I mean, a tool for create roads
2) I don't know how to make the people walk in the roads and go to their houses. Also , i have the same problem with the vehicles.

Please, help me. I used the defense the tower tutorial for make a script for place buildings, but i don't know how to make roads and people and cars AI.

PD: Sorry for my bad english, i'm from venezuela
B
2
Posts: 1
Reputation: 152

Post » Fri Apr 25, 2014 7:43 am

Simcity... this could be very difficult.

You have to play around with tilemaps. https://www.scirra.com/manual/172/tilemap

Imagine left click set a tile to a road tile.

What if a road has intersection, does it have to be set to a T-shaped intersection or + shaped intersection? You need events to take care of all these.

For people going from one place to another, they must be able to know their shortest path. There is pathfinding feature in C2: https://www.scirra.com/manual/154/pathfinding

But before I overwhelm you further, could you please try create a simple program first where:

1. There is a road with several intersections.
2. A person walks from point A to point B on the road.

Try do the above first before proceeding any further. If you need help on specific features, create new topics for those.
I got a game that you multiply, breath fire with two heads and brawl foes to oblivion with your clones: http://www.newgrounds.com/portal/view/660664 (use Chrome on Windows for best performance)

My sites:
http://twinblazar.deviantart.com
http://twinblazar.newgrounds.com
https://twitter.com/twinblazar
http://www.pixiv.net/member.php?id=15072448
B
30
S
11
G
11
Posts: 411
Reputation: 8,469


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests