Author Topic: Meteors (shooter game)  (Read 2831 times)

0 Members and 1 Guest are viewing this topic.

Offline mynameispaul

  • Newbie
  • Posts: 49
    • View Profile
Meteors (shooter game)
« on: October 25, 2020, 08:09:58 am »
loosely based on that old arcade game where you shoot the falling asteroids.
for my version, game is over when a meteor hits the bottom.

this game has several ways you can customize it:
* width and height of window
* speed of game
* speed of the movements of the meteors (in pixels)
look in the Meteors.ini file to make the changes

Put all files in the ZIP file in the folder where you have QB64
should look something like the following...

(folder containing QB64)
$GameRecord.bas
ASCII_RGB.ini
Meteors.bas
\PgmFiles
.\BlackJack
.\Hi-Lo

Create exe for $GameRecord.bas first, then Meteors.bas
* Meteors.zip (Filesize: 65.2 KB, Downloads: 180)
Meteors screen shot.jpg
* Meteors screen shot.jpg (Filesize: 13.26 KB, Dimensions: 899x527, Views: 224)

Offline Petr

  • Forum Resident
  • Posts: 1720
  • The best code is the DNA of the hops.
    • View Profile
Re: Meteors (shooter game)
« Reply #1 on: October 25, 2020, 11:40:05 am »
Hello. It's a nice game. I watch, how you load meteors and plot them. It would really save you a lot of work if you use _LOADIMAGE, _PUTIMAGE and _CLEARCOLOR for clear the meteor background, instead of PSET for rendering. It's just my tip. Definitely, so much effort, it's worth acknowledging. Very good work.