I unearthed one of my old games while working on my previous post so I updated a few things and here it is:
Code is very sloppy (pls don’t look at it )
I unearthed one of my old games while working on my previous post so I updated a few things and here it is:
Code is very sloppy (pls don’t look at it )
I love how the projectiles bounce of the walls, and that you can shoot yourself. You obviously know how to program as that is a lot of Javascript; so the code is NOT sloppy.
Yes it is keep track of the direction using a number between 1 - 8 i think (the only cool part is that even if you hit the barrel on your tank u die, oh also It has no sprites only an image being drawn on.)