Discuss Scratch

KenScratchOfficial
New Scratcher
2 posts

HOW DO I MAKE A CITY BUILDER

I want to make a city builder and don't know where to start like should i pick basic or country inspired (example: france inspired city builder) and i don't know how to code this complex?

to help me, say the script like for the example:
when green flag clicked
forever
move (10) steps
end
Chocolate_Burger
Scratcher
58 posts

HOW DO I MAKE A CITY BUILDER

KenScratchOfficial wrote:

(#1)
snip
You have a great goal. When I start building things, I always start small, and start with the skeleton. I'd recommend looking up “how to start game design” for more info on a timeline to create a game. My advice: start smaller. If you haven't coded before, try coding something that is doable, but not something you've already done. Some things are out of my scope, and I avoid them, but I build up to them with smaller projects.
dem_bot
Scratcher
1000+ posts

HOW DO I MAKE A CITY BUILDER

This would be a too big project to post here.
I think the easiest would be to go for NY inspired with a neat grid of roads.

Often what I do is make a main loop
when green flag clicked
INIT::custom
forever
Do thing 1::custom
Do thing 2::custom
end
and then instead of do thing, it's just a top level description of the program. Then I go through the blocks one by one and if it's a relatively complex thing, I also make those definitions out of custom blocks, else I make the definition. INIT is the block that does everything that should happen once at the start to set up all the vars and stuff.
KenScratchOfficial
New Scratcher
2 posts

HOW DO I MAKE A CITY BUILDER

And how do I make Roads Duplicate
dem_bot
Scratcher
1000+ posts

HOW DO I MAKE A CITY BUILDER

KenScratchOfficial wrote:

And how do I make Roads Duplicate
That depends on if you want it scrolling or not, but either way, you'll probably have a few road costumes, and then go in a grid and stamp them. You then turn 90 degrees and go stamp another grid of them for the other road direction. After that, you'll grab some intersection costumes and go in another grid and stamp those where they go. For a scrolling map, you'll have to also compute which roads are on screen and stamp everything with the camera offset.
themadz
Scratcher
100+ posts

HOW DO I MAKE A CITY BUILDER

KenScratchOfficial wrote:

I want to make a city builder and don't know where to start like should i pick basic or country inspired (example: france inspired city builder) and i don't know how to code this complex?

to help me, say the script like for the example:
when green flag clicked
forever
move (10) steps
end
look at other games and take inspiration on how they did things when i tried to make a grand strategy game i didnt know what i was doing but i earned from the masters and am making an even better game

Powered by DjangoBB