Settings

Theme

My son (age 10) spent summer break making online games

mrbonkers.com

9 points by kathrynloving a year ago · 3 comments

Reader

gus_massa a year ago

It's an interesting variant of the tower defenece game. Are the new towers placed randomly? It would be nice to be able to choose the location.

  • kathrynlovingOP a year ago

    Thanks for trying it out!! Yes the new towers are placed randomly, with the gun turret pointed toward your mouse. He said he uses a random value for x and y for each tower (and he isn't sure why they always appear in the top half of the screen - maybe bug or maybe feature:)

    • gus_massa a year ago

      Since he is already using the mouse to aim the bullets, I was expecting that the new tower appears wherever the mouse is. It looks easy to implement. (I always say: That's easy and it will take me 10 minutes. But it always take much more time, like 3 or 4 hours :) .) (It also will be nice to center the new tower under the mouse. Add another hour of development.)

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection