This is a preview of the html version of a game called AsteroidZ, which is an Asteroids clone I made earlier on Blitzbasic.
NOTE: This is a for-fun project only. Browser support is only Edge and Chrome. It may work elsewhere, but I won't test it.
See the short video below.
Test online:
https://joystickandcursorkeys.github.io/game1/examples/games/asteroids/index.html
This older Blitzbasic version is currently defunct, since it suddenly stopped working, due to something with free memory calculations.
I did not want to find another “Basic” variant, to convert it to, and neither did I want to go very low level, and go to C or C++, so I I am porting it to Javascript, with the benefit of it being multiplatform out of the box.
I did not want to use a game engine like Phaser or such. I tried with Phaser, but was just not happy, and a little bit eager to port my own minimalistic game engine, which I had written for the program, in Blitzbasic.
Current bugs that are being worked on:
#1 Asteroids get into overlapping mode, making them bounce very quickly, creating a buzzing noise. This happens offscreen, so you cannot see it.
#2 Mysterious border around the play canvas appears.
#3 Get proper music (currently it's just a random mp3 which I downloaded from a website that claimed it was royalty free).
Fun facts:
#1 The asteroids themselves were rendered some 20 years ago on my old Amiga.
#2 The background graphics are more or less a test of my html pixel drawing program called “hyperpyxel"