by jimbooonooo · 2mo ago · 0 comments
in the interest of transparency, this was generated on qwen 3.8: 27b, so you should consider the "my implementation" loose at best.
I'd love feedback on what works and what doesn't.
some weapons, such as the laser satellite and the peacock feather have additional actions that can be commanded after the initial launch. for instance the laser satellite will shoot a laser in whatever the current orientation is, and the peacock feather will split up into multiple feathers when pressing the space button or the fire button again.
enjoy!
The math on whether a shot is in escape velocity should be trivial for an AI to add. The only other degenerate cases would be some sort of orbit. My recommendation would be if the shot hasn't landed in 5 seconds, see if it's making progress, and if unclear, accelerate time until it is clearly making porgress (by 10x) and timeout at 60s world time.
* Moon is moving too fast, has too much influence.
* Movement breaks the game as you can just move up to the opponent.
* The timeout is frustrating. I can line up a shot that actually looks like it is going to be a direct hit just to have the game remove it as it starts descending towards the target.
I've built an iOS game (https://eveofimpact.com) years ago (an earth vs asteroids kind of thing) and I ran into similar problems where gravity was too strong, and trying to use gravity to your advantage was very tricky and unpredictable making it less fun. I eventually decided to just make it play a more "decorative" role.
edit: Forgot to say awesome job :)
I remember taking a computer science class in high school and, IIRC, we didn't even have Windows, it was just DOS.
This would have been the mid 1990s.
I think it might be better to use the empty areas in the corners for the controls.