LoginLogin

Space Race!

Root / Talk About Programs / [.]

IonesqueCreated:
Ended up making the space tutorial into a full on game, now with 100% more gameplay, explosions, and shooting. Did not plan to originally expand the game nearly this much, I actually don't have a true goal with this game, just coding on the fly as I get familiar with SmileBASIC's syntax. Gameplay: Survive long as you can, using your skill, blind luck, Contains examples of: -Arrays -Sprite collision -Sprite animation -Controls -Sounds effects -Music -Management of hundreds of objects while staying at or near 60 FPS -Rendering both to the top and bottom screens -Multi-layer backgrounds Version 4.0: -Fixed bug where ships might not be removed from the screen if you kill them when you die. -Stars are no longer sprites -Stars vary in length based on speed -Stars vary in color -Added respawn "reboot" sequence to lower screen -Added old CRT effect to lower screen -Added radar grid lines for next version -Addressed issue with star background flicker should frame rate dip below 60 FPS -General optimization/tweaks for a better user experience Version 3: -Lower screen now displays stats -Added two weapons cannon, and charged super beam -Minor graphical tweaks -Use of backgrounds to render lower screen -Weapon charge gauge added -Changed BGM music, changes every 10 levels Version 2: -Cleaner coding -Benchmark mode -Generated 3-D star background Version 1: -100-line self challenge -Basic collision -Level progression Major known issues: -Radar is not coded yet -Fuel does not count down -No help/menus options -High score does not get saved

Really Cool! Good Luck, if you plan to keep updating! ;)

To save the highscore just do this:
SAVE "TXT:highscore",Scorevariable
And at the title screen do this:
 LOAD "TXT:highscore",0
Print "HighScore: ";scorevariable

New update submitted fixes a few bugs, adds new UI elements, graphic improvements, and better optimization.