MicroCity - City simulation in your pocket

I love pokitto and gamebuino- so i would like to see ports to both :wink:

3 Likes

Hi Guys,
Do you think it is possible to use parts of MicroCity to program a Game like Command and conquer :thinking: or is something like that to complex for the Arduboy recurrences?

I wouldn’t really say that there would be much that could be used for an RTS style game. I’ve thought about how an RTS game would work on an Arduboy before and the main problems I see are:

  • screen resolution (can’t fit much on the screen at once which isn’t great for the genre)
  • telling teams apart with a monochrome screen
  • controls with only 2 buttons

I think that these are solvable with some good art and design work.

A while ago I started writing a prototype RTS engine for the Uzebox which has a similar chip to the Arduboy. There is some code here with some pathfinding and AI designed for limited memory / CPU here:

1 Like

Hello,
There is a game on Gameboy Color “Warlocked”, and its a RTS like warcraft with very nice 2 buttons control and a small screen :slight_smile:

Btw great work with microcity, i still w8 for my arduboy but that will be one of the 1st game that i will try on it

6 Likes

Love it but I think it need more buildings(airport, seaport)

I know its one of my favorites to it would be good in color though :thinking:

I think that it would technically be possible to add some extra buildings as there is some space left for some more tiles. You can see the current tile set here:

There can be up to 15 types of buildings and there are 10 slots currently used (2 are used for rubble after destroying a building). Any new buildings would then need to have some logic written for how they affect the rest of the city, and then balancing would need to be done. e.g. an airport could boost commercial but have a negative effect on nearby residents.

6 Likes

I think it would be really cool if it was ported to the clockworkpi gameshell.

Odd.
This game may not be the biggest hit (as Arduventure or the lode runner)
but it’s the game I would recommend, and in fact the only game I am saying, “I want to pick it up and play it.”
Also, I had uninstalled SimCity for some reason.

1 Like

Every time I pick up this game I find myself playing through it for 15 minutes or so, but I never get enough time to actually build the city most of the time I’m just interested to see how the code works… :smiley:

4 Likes

I always max out the city and end up re-installing it later to do the same thing. Very fun. I did it all the time with my Palm M500 Sim City version before this game came out.

2 Likes

It’s definitive one of my favorites, too. But I agree: A few more building types would be more interesting. But me and my son like this game a lot. The graphics are beautiful and clear.

But I found two bugs (don’t know, if already posted earlier):

  • If I set buildings close to each other to reach a high density, I’m not able to build anymore buildings after the map is filled to approx. 75…80%. I’m able to build streets and wires, but no more buildings. Out of memory? Why is it possible to build dozens more streets?
  • If there are two power plants, that are not connected to each other (for example one city at left side of the river and another one at the right side), the first power plant and city gets out of power immediately after building the second one. Even the power plant itself has a blinking out-of-power-icon.
2 Likes

Yes, should technically be possible to add other types of building types. It would need new graphics and extra logic on how they should interact with the rest of the city (plus balancing where required).

Regarding the bugs you found:

  1. You have hit the memory limit. There is a limit to the number of buildings you can place (even if there is space on the map). Unfortunately nothing can really be done about this as memory usage is already very tight.
  2. The multiple power plant bug has been fixed but I haven’t made a new binary release. If you compile from source then this will fix the issue. I should get around to putting a new release up on Github! Edit: Oops! Just realised that I never committed the fix. I will try get a fix in when I have some time.
3 Likes

@Ema
Power plant bug fixed. New release binaries available on Github:

3 Likes

The is most certainly my most favorite Arduboy game so far. I wouldn’t mind seeing sound effects in this game if you have the will for it. I am most certainly into your adaptation here.

3 Likes

I think there probably would be room for sound effects. I guess there wouldn’t be much needed - just build and demolish sounds

3 Likes

I could almost see the LED flash orange when there is a fire also. Haha. I didn’t realize LED lights could be used in game dev on this Arduboy until Farkle and Ardutosh.

1 Like

A memory corruption bug was discovered when developing the Pokitto port. It can sometimes affect the power grid connectivity calculation when buildings are built in the very corner of the map. I’ve released a new build on Github that fixes the problem!

5 Likes

I just got a crash on the Arduboy FX. I assume it’s the bug on that version. How do I replace the version on the FX with the bug fix? I love this game, I want to build a big city :slight_smile:

Found this to get the newest version onto the FX, as well as a ton more games: [Build your own Arduboy FX Cart Image - Arduboy - Arduboy] Build your own Arduboy FX Cart Image