Newgrounds Background Image Theme

Mayor Outbreak

Share Collapse

Author Comments

My entry for the HaxeFlixel GameJam with the theme AloneTogether.

You are the mayor of a city hit by a major virus outbreak!


Close buildings to avoid having too many citizens running around,

Give protective items to the citizens to help them against the virus,

Spend coins at the pharmacy for protective items,

Donate coins to Research in order to find a cure,

Distribute the cure to the citizens,

Or just do whatever while the outbreak run its course!


WASD / Arrow Keys to move,

Hold SHIFT to run,

JKL / CXZ to throw items,

Comma / Period to zoom in / out

1234, E for building interaction


Submitted an update on 28/04/20 at 15:00 GMT+1 (BST).

The update fixes the bug where infected numbers would not update after some time.

It also enables the player to switch songs on the radios, and fixes a bug where some items would sometime be unable to get equipped by certain npcs.



Characters and city sprites by Kenney at https://kenney.nl/assets/rpg-urban-pack

Virus, facemask, hand sanitizer, glove, syringe, radio sprites by me, use as you want.


Sounds by Juhani Junkala at https://www.youtube.com/watch?v=dbACpSy9FWY


Acid Trumpet by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3340-acid-trumpet

License: http://creativecommons.org/licenses/by/4.0/

Cold Funk by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3522-cold-funk

License: http://creativecommons.org/licenses/by/4.0/

Achaidh Cheide by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3338-achaidh-cheide

License: http://creativecommons.org/licenses/by/4.0/

B-Roll by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3402-b-roll

License: http://creativecommons.org/licenses/by/4.0/

Feelin Good by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3744-feelin-good

License: http://creativecommons.org/licenses/by/4.0/

Wallpaper by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/4604-wallpaper

License: http://creativecommons.org/licenses/by/4.0/

Carpe Diem by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3478-carpe-diem

License: http://creativecommons.org/licenses/by/4.0/

Clear Air by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3515-clear-air

License: http://creativecommons.org/licenses/by/4.0/

Somewhere Sunny (ver 2) by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/4389-somewhere-sunny-ver-2-

License: http://creativecommons.org/licenses/by/4.0/

Source code:


Not proud of this code, game jams don't seem to produce quality code...

Submit all the pull requests that you want!

Log in / sign up to vote & review!

Newgrounds accounts are free and registered users see fewer ads!

Cool seeming game but very confusing, I definitely would have appreciated a tutorial!

I think this is a pretty cool idea, but I felt so confused playing it. There was no tutorial for the controls (I didn't realize there was a throw button for a long time) or easing in to grasp the situation, and it never felt like I was able to have any effect on anything and I was just doomed to die without accomplishing anything. If that was the intention, kudos, but I assume there must be a way to win. It might've been my own fault as when I read the concept, I assumed it was going to be a Sim-City/Starcraft type game where you view the town from above and click on things to manage, but instead you control a little guy in a gigantic city. Because of that, it was chaos and I could never tell if I was having any effect on anything since it took forever to get around and I couldn't see far or wide enough if any of my actions were having a large-scale effect. A lot of times the game would just end with me catching the virus for no reason from what I could tell and I'd die (there was a little bug where you can live with 0HP: you only die if you go into the negatives for some reason). Again, I think this is a neat idea that could definitely work if maybe it was structured a bit more and didn't just chuck you into the deep end.

Fat-Leech responds:

Thanks for the feedback, all valid points with which I agree

Is there an end condition?

Fat-Leech responds:

Unfortunately not, if you can reach 0 infected you win the game

I like how this game has a lot of unique assets and it looks great! There's a lot of fun ideas and I can imagine quite a bit of programming as well.

What I don't like as much is that I feel this game is a bit overloaded. It's hard to quite get what's going on as there's just too many variables. For such an arcadey game, a great simplification of the mechanics would've went a long way.

Fat-Leech responds:

Thanks a lot for the compliments and for playing!
Unfortunately many players seem to have had your same experience regarding the mechanics, for my next submissions I'll be sure to either keep it simple or present ideas slowly to the player, maybe through a tutorial stage.

I think a small third phase would have been nice like "you have no infections left! Time to celebrate!" or stuff like this

Fat-Leech responds:

Thanks a lot for the feedback and suggestion, I completely agree that there should be a win state or something informing you of your accomplishment!

Credits & Info

3.11 / 5.00

Apr 27, 2020
10:26 AM EDT
  • HaxeFlixel
  • Audacity
  • Piskel
Misc. Kit
  • Visual Studio Code