Share My Creation Space Invaders

Another quick upload, this time my interpretation of the old classic Space Invaders, the only additional library is the JoyStickView, which just gave it better control over two buttons, left and right. I have included the source code and a number of additional files, sound effects, background etc. but they are all in a zip file on my Drive account (files were too large to upload)

Hopefully you'll enjoy, here's the link

 

Attachments

  • Screenshot_20250818-161407-1.jpg
    Screenshot_20250818-161407-1.jpg
    146.9 KB · Views: 474
  • Screenshot_20250818-161501-1.jpg
    Screenshot_20250818-161501-1.jpg
    146.2 KB · Views: 107
  • Screenshot_20250818-161539-1.jpg
    Screenshot_20250818-161539-1.jpg
    145.7 KB · Views: 94
  • Screenshot_20250818-161630-1.jpg
    Screenshot_20250818-161630-1.jpg
    122.8 KB · Views: 98
  • Screenshot_20250818-161416-1.jpg
    Screenshot_20250818-161416-1.jpg
    94.1 KB · Views: 120

bparent

Member
Licensed User
Longtime User
Thanks for code.

I get the following errors:

The files in drawable are readonly, but still get same error. Here are some warnings:
Main - 163: Variable declaration type is missing. String type will be used. (warning #5)
Main - 166: Variable declaration type is missing. String type will be used. (warning #5)
Main - 337: The following value misses screen units ('dip' or %x / %y): 10. (warning #6)
Main - 337: The following value misses screen units ('dip' or %x / %y): 20. (warning #6)
Main - 357: The following value misses screen units ('dip' or %x / %y): 10. (warning #6)
Main - 357: The following value misses screen units ('dip' or %x / %y): 20. (warning #6)
Main - 292: Msgbox and other modal dialogs are deprecated. Use the async methods instead. (warning #34)
Main - 21: Variable 'fx' is never assigned any value. (warning #10)
Main - 41: Variable 'lblScore' is never assigned any value. (warning #10)
Main - 275: Sub 'WaitFor' is not used. (warning #12)
File 'alien2.png' is not used. (warning #15)
File 'enemy2_2.png' is not used. (warning #15)
File 'explosion.png' is not used. (warning #15)
File 'player2.png' is not used. (warning #15)
File 'spaceinvaders.png' is not used. (warning #15)
Library 'JoyStick' is not used. (warning #32)
Library 'XUI' is not used. (warning #32)
 

Colin Evans

Active Member
Licensed User
Longtime User
Hi, I'd ignore the warnings (not errors), the only ones you can safely remove are the redundant files that aren't used.

File 'alien2.png' is not used. (warning #15)
File 'enemy2_2.png' is not used. (warning #15)
File 'explosion.png' is not used. (warning #15)
File 'player2.png' is not used. (warning #15)
File 'spaceinvaders.png' is not used. (warning #15)

As to the Library's, as Core and XUI are by default, I always leave them in, and the only other library required is JoyStickView.

I'm sure if you compiled and ran the program it would work regardless
All the best,
 
Top