- Doing something with the Commander X16 emulator (without having to work inside the emulator)
- Writing something low level without having to write things in assembly (at least for now)
- Test a new language (Prog8) found on the X16 pages
Petaxian has been written in Prog8 (attaced version of Petaxian was compiled with version 8.10 of the compiler), see
The game is currently in "a mostly finished state". It has a workable game loop, a decent amount of levels (I hope), but is lacking some polish etc. Would be nice with at least some title screen music as well. We'll see if I ever get around to adding something.
I initially wrote this just for the X16 emulator, but over time I've also focused on getting this to run well on the C64. Various
optimization of the code (including writing some function in asm) and some significant improvements in Prog8 now has the C64 running without noticable slowdowns.
Compile/run for Commander X16 with something like this
%JAVA_PATH% -jar prog8compiler-8.10-all.jar -srcdirs cx16 -target cx16 petaxian.p8 %X16EMU_PATH%\x16emu.exe -joy1 SNES -run -prg petaxian.prg
and for C64 with e.g.
%JAVA_PATH% -jar prog8compiler-8.10-all.jar -srcdirs c64 -target c64 petaxian.p8 %VICE_PATH%\x64sc.exe petaxian.prg
If you want to have a look at the code you can find it at https://github.com/cyborgar/Petaxian.
Try It Now!