‹ BackHN Continuity

Thread

Tank Body Problem

188 points · 54 comments · jimbooonooo

  1. jimbooonooo · · focus · HN ↗
    I grew up playing scorched Earth on Windows 3 just over a thousand years ago, and have always enjoyed that game. here is my implementation using a circular world with basic orbital dynamics added. in theory it works on mobile as well, but is best intended to be a PC browser game.

    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!

    1. rikschennink · · focus · HN ↗
      I think the moon gravity is a bit much. It would be cool to use the gravity of the moon in your attack, but I think that would require it moving slower and perhaps some prediction logic where you can see where the moon will be if you fire now?

      I&#x27;ve built an iOS game (<a href="https:&#x2F;&#x2F;eveofimpact.com" rel="nofollow">https:&#x2F;&#x2F;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 &quot;decorative&quot; role.

      edit: Forgot to say awesome job :)

      1. jimbooonooo · · focus · HN ↗
        yeah, a friend of mine and I were kind of laughing about how difficult the moon made things. on the opposite side of the pendulum, without the moon gravity, it would only take two or three terms to defeat the opponent, but I agree, toning down the moon a bit and coming up with future artillery path prediction might be more fun
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.