Recent

Author Topic: Space Commanders remake with pas2js  (Read 1212 times)

Nimbus

  • Jr. Member
  • **
  • Posts: 79
Space Commanders remake with pas2js
« on: June 09, 2025, 04:49:22 pm »
Hi all,
No big news, just for fun, wrote a remake of Space Commanders old PC game (1983) - using pure pas2js on a HTML5 canvas, enhanced with WebGLazy (thanks lainz, borrowed the idea from one of your repositories); no other libraries of frameworks.

Can be played, if anyone's interested:
https://pascommanders.netlify.app/

Source's in the attachment.
Thanks.

Update - reuploaded with a few improvements:
  • Title screen, allowing for difficulty level selection
  • Touch input - now it's playable (to some extent) on mobile and tablets
  • Audio backend changed from <audio> tags to Web Adudio API for better performance
  • Added a basic PWA manifest so that it's "installable".

« Last Edit: June 11, 2025, 11:04:35 am by Nimbus »

dseligo

  • Hero Member
  • *****
  • Posts: 1650
Re: Space Commanders remake with pas2js
« Reply #1 on: June 09, 2025, 06:25:47 pm »
Nice, although it's very hard to play, I barely got to 2nd level. :)

Nimbus

  • Jr. Member
  • **
  • Posts: 79
Re: Space Commanders remake with pas2js
« Reply #2 on: June 09, 2025, 06:54:08 pm »
Nice, although it's very hard to play, I barely got to 2nd level. :)

Fair point, just brutal gaming of early 1980s :)
I'll add the difficulty selection for that matter.

Aruna

  • Hero Member
  • *****
  • Posts: 776
Re: Space Commanders remake with pas2js
« Reply #3 on: June 10, 2025, 02:49:03 am »
Playing your game brought back so many great memories. I made it to the third screen before meeting my pixelated demise 😅 Screenshot attached! Very nice work @Nimbus impressive to say the least!

Nimbus

  • Jr. Member
  • **
  • Posts: 79
Re: Space Commanders remake with pas2js
« Reply #4 on: June 10, 2025, 08:52:42 am »
Playing your game brought back so many great memories. I made it to the third screen before meeting my pixelated demise 😅 Screenshot attached! Very nice work @Nimbus impressive to say the least!

Nice - thanks Aruna :)
Glad you enjoyed it

TBMan

  • Sr. Member
  • ****
  • Posts: 335
Re: Space Commanders remake with pas2js
« Reply #5 on: June 10, 2025, 03:34:32 pm »
Good job!
I love programming.


Newest game (clone),
Missile Commander:
https://www.youtube.com/watch?v=tgKz0cxog-k

 

TinyPortal © 2005-2018