Asteroids is now working (no flying saucer).
As you can see from the demo here, the collision detection isn't great. I really wanted to avoid square root calculations and can't do pixel collision so its a simple box, and because of the shapes it is fairly generous with the collision detection.
Note, running the emscripten version does occasionally require a reload ignoring cache (Ctrl+Shift+R on Firefox) . I've just had it not work on me , nothing worked apparently, but reloading it fixed it.
Subscribe to:
Post Comments (Atom)
Breaking change
We all make mistakes. One early mistake I made was copying (partly) the old thing in Microsoft BASIC where you didn't have to declare ...
-
We all make mistakes. One early mistake I made was copying (partly) the old thing in Microsoft BASIC where you didn't have to declare ...
-
So, done a bit of work on Frogger, and it now mostly works. You can play the game, there are just no sound effects and the turtles don...
-
You can probably guess what the game is :) So I thought I'd use this built in compiler and see what it could do. I'd do two thin...

No comments:
Post a Comment