New game uploaded: Crazy Lander

All aspects of programming on the Commander X16.
Post Reply
User avatar
DusanStrakl
Posts: 134
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

New game uploaded: Crazy Lander

Post by DusanStrakl »




Crazy Lander




View File






Crazy Lander is another (mostly) BASIC game for Commander X16. We will introduce some new technologies not used before in our projects. It is a variation of Lander type games where we have to guide and land the space capsule to dedicated platforms using thrusters and navigating through natural and man-made obstacles. To make the game more challenging we have to be mindful of the fuel used and land gently. Few highlights:



  • Running in bitmap mode


  • It is a game of precision so we have to assure pixel perfect collision control


  • Animated obstacles unique to each level


  • Music and sound effects





Project Specs






  • Emulator Version R.38


  • Low resolution bitmap mode 320 x 240 in 16 colors on Layer 0


  • Use the menu system to choose difficulty, turn music on and off, display instructions, quit and of course start the game


  • Animated sprites for displaying capsule as well as thruster exhaust and explosion animation


  • Tile layer 1 is used for HUD and for messages and menus


  • Assembly subroutine for pixel perfect collision detection


  • 4 distinct levels with flexibility to add more


  • Scoring is based on the landing platform multiplier times the remaining fuel


  • Keyboard/Joystick controls


    • Left Arrow / Joystick Left fire left thruster pushing lander right


    • Right Arrow / Joystick Right fire right thruster pushing lander left


    • Space / Fire button main thruster pushing lander up




  • Music in the background using Music Library for BASIC programs


  • Sound effects using direct programming PSG from BASIC using VPOKE


  • 256 color splash screen











 
User avatar
kliepatsch
Posts: 247
Joined: Thu Oct 08, 2020 9:54 pm

New game uploaded: Crazy Lander

Post by kliepatsch »


Hey Dusan, this looks very cool from what you wrote. But I cannot get it running, neither in the "Try it now" section, nor after downloading all the files (individually) locally. In both scenarios, the program gets stuck at the splash screen with blue lines going from top to bottom.

Ed Minchau
Posts: 508
Joined: Sat Jul 11, 2020 3:30 pm

New game uploaded: Crazy Lander

Post by Ed Minchau »



On 11/14/2021 at 3:12 AM, kliepatsch said:




Hey Dusan, this looks very cool from what you wrote. But I cannot get it running, neither in the "Try it now" section, nor after downloading all the files (individually) locally. In both scenarios, the program gets stuck at the splash screen with blue lines going from top to bottom.



Are you using Rev 38?

Ender
Posts: 220
Joined: Sat May 09, 2020 9:32 pm

New game uploaded: Crazy Lander

Post by Ender »


Actually I downloaded this and it seems to work fine for me with R39.  I think it may actually be made for R39 not R38, unless it's made for both.  I haven't looked at the source.

User avatar
DusanStrakl
Posts: 134
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

New game uploaded: Crazy Lander

Post by DusanStrakl »



On 11/14/2021 at 2:12 AM, kliepatsch said:




Hey Dusan, this looks very cool from what you wrote. But I cannot get it running, neither in the "Try it now" section, nor after downloading all the files (individually) locally. In both scenarios, the program gets stuck at the splash screen with blue lines going from top to bottom.



I noticed the same thing with the "Try it now". Will try to troubleshoot in coming days. I am using R38 and just tried downloading files into clean directory and it works fine for me.

I haven't tried it in R39.

User avatar
kliepatsch
Posts: 247
Joined: Thu Oct 08, 2020 9:54 pm

New game uploaded: Crazy Lander

Post by kliepatsch »


Found the issue: it's because "FONT.bin" is not in all-caps. This is a non-issue for the Windows users, but for Linux and the Web emulator it is. Simply change the name to all-caps and it will work.

User avatar
DusanStrakl
Posts: 134
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

New game uploaded: Crazy Lander

Post by DusanStrakl »



On 11/15/2021 at 12:33 AM, kliepatsch said:




Found the issue: it's because "FONT.bin" is not in all-caps. This is a non-issue for the Windows users, but for Linux and the Web emulator it is. Simply change the name to all-caps and it will work.



Awesome. Thanks for the help, just changed it and now it works.

 

Post Reply