CPCWiki forum

General Category => Games => Topic started by: abalore on 18:48, 15 May 22

Title: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 18:48, 15 May 22
Hello,

I'm posting this quick BASIC game I made in my spare time. I hope someone can enjoy it or see the code for some cool BASIC tricks. It's 100% pure Locomotive BASIC.

If someone is able to finish it, please let me know!

Abalore


By the way, keys are:

Up = Jump
Down = Look to the other side
Left and Right = Move
Space = Shoot laser

Cartridge version in the ZIP

464 compatible version by SRS
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: HAL6128 on 19:32, 15 May 22
Hey, what a nice game!! Cool game play. It's easy to use, fast reaction of cursor keys and the protagonist, even with enemies around, and a fast setup of the windows, respect. This game does not need to shy away from a comparison with MC written games.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 19:56, 15 May 22
By the way, keys are:

Up = Jump
Down = Look to the other side
Left and Right = Move
Space = Shoot laser

Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: XeNoMoRPH on 20:16, 15 May 22
https://youtu.be/ATkuDd103cg
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 20:31, 15 May 22
I reuploaded the DSK fixing a couple of small things, please download again if you already did!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 13:37, 16 May 22
New file update!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 17:02, 16 May 22
Added cartridge version :D

In the ZIP file in first post
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: eto on 17:10, 16 May 22
Quote from: abalore on 17:02, 16 May 22Added cartridge version :D

In the ZIP file in first post
I was not aware that a Cartridge version will work with BASIC. Does this also work on a GX4000 (if it's playable without keys).
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 17:49, 16 May 22
Quote from: eto on 17:10, 16 May 22
Quote from: abalore on 17:02, 16 May 22Added cartridge version :D

In the ZIP file in first post
I was not aware that a Cartridge version will work with BASIC. Does this also work on a GX4000 (if it's playable without keys).

It would work in a GX4000, and joystick is supported.

Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: VincentGR on 19:49, 16 May 22
Cute and fantastic at the same time.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Xyphoe on 21:53, 16 May 22
Cool! I'm going to play this on Twitch now :)
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: SRS on 13:18, 17 May 22
Nice game !

Works quite well with CPC6128 emulated on WinApe, but with CPC464 emulated (and PARADOS) its not working like I'd expect.

See screenshot
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 13:48, 17 May 22
Quote from: SRS on 13:18, 17 May 22Nice game !

Works quite well with CPC6128 emulated on WinApe, but with CPC464 emulated (and PARADOS) its not working like I'd expect.

See screenshot

Yes, the game doesn't work in the 464 because of a bug in string processing in BASIC. Maybe someone wants to fix it?? ;D

(I run it in my 464 from cartridge with the Plus2CPC / Play2CPC, because it replaces the internal operating system)
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Devlin on 13:53, 17 May 22
I noticed a bug - but spoiler tagged because it's related to the endgame

Spoiler: ShowHide
I got the bomb and put it on the computer, but I ran out of time before getting back to the spaceship and it still said "you did it"


I enjoyed playing that a lot. Thank you for making it!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 14:08, 17 May 22
Quote from: Devlin on 13:53, 17 May 22I noticed a bug - but spoiler tagged because it's related to the endgame

Spoiler: ShowHide
I got the bomb and put it on the computer, but I ran out of time before getting back to the spaceship and it still said "you did it"


I enjoyed playing that a lot. Thank you for making it!

Yes, that's not really a bug, because you are ordered only to destroy the computer, not to survive ;D

To survive it's just for the sake of your honor.

Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: asertus on 16:30, 17 May 22

Great game, and actually is kind of "motivating" to start trying something in BASIC...
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: skylas on 17:47, 17 May 22
Congratulations! really nice!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Nworc on 21:57, 17 May 22
Yay, what a nice game! It just came at the right time to interrupt my work and let me think of something completely different. Thank you for this.

I see that my skills learned in games such like Turrican, Hunchback and Metal Army finally pay off: I was surprised that jumping from one stone to the next in the lava room worked like a charm. Surprising to see how far jumps can be the longer you play it.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Gryzor on 13:41, 18 May 22
This looks really cute and cool!

Can I move it to the Games forum? I don't see why it's under Programming...
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 14:26, 18 May 22
Quote from: Gryzor on 13:41, 18 May 22This looks really cute and cool!

Can I move it to the Games forum? I don't see why it's under Programming...

Sure, move it. But also is for programmers interest, since the source code is provided.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Gryzor on 14:33, 18 May 22
Yes, I noticed that, but since the focus is on the game rather than the code itself... :)
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Sykobee (Briggsy) on 15:06, 18 May 22
I'm always impressed by well presented full games in BASIC, good work.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: SRS on 15:23, 18 May 22
Well, CPC464 ... give "P4-464" a try, at least works for first three screens now ;)

p4.zip

and still on 6128.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Devlin on 16:02, 18 May 22
Quote from: SRS on 15:23, 18 May 22Well, CPC464 ... give "P4-464" a try, at least works for first three screens now ;)

p4.zip

and still on 6128.
Not bad! the collision works properly, but the moving spaceships are invisible and their "sprite" is shown at the far left of the screen until you die on that screen, where they then display properly
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 17:12, 18 May 22
Quote from: SRS on 15:23, 18 May 22Well, CPC464 ... give "P4-464" a try, at least works for first three screens now ;)

p4.zip

and still on 6128.

Great work! Almost there!

Just one more USING, in line 1840 !
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: SRS on 20:00, 18 May 22
Lessons learned - you can do that game fully compatible with using the quite unknow USING "&" - I had to search my brains very old backup tapes to get it work :D

And - you need to be patient enough to play all levels to get rid of last "bugs".

New version ici p4.zip



Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: abalore on 22:48, 18 May 22
Quote from: SRS on 20:00, 18 May 22Lessons learned - you can do that game fully compatible with using the quite unknow USING "&" - I had to search my brains very old backup tapes to get it work :D

And - you need to be patient enough to play all levels to get rid of last "bugs".

New version ici p4.zip




Added to the first post!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: darksteph on 07:03, 19 May 22
Nice game, I had a great time playing. I made a small map of the game.  :laugh:

=AZWHMeLlFJcDRz8_b3xhss7k84GM0Hr-_KLP5zwt9lfx7fjiObewrUJM1V_88aQKHkcglcpRIM3g9QJOA3-JPh9NHmfc-8rNzXfTbGsVysGGEODik6b4WSU9-yDmW0rc-QU&__tn__=%2CO%2CP-R]https://www.facebook.com/steph.darksteph.1/posts/531590945269670?__cft__
(https://www.facebook.com/steph.darksteph.1/posts/531590945269670?__cft__%5B0)
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Gryzor on 09:52, 19 May 22
Now someone do a poke loader for the full treatment 😄
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: darksteph on 10:47, 20 May 22
New video on my Youtube DarkArcade channel on this excellent game. I had fun, even if I didn't see the good ending because I didn't go out  :P 

https://youtu.be/uj8sVZAQ6gY (https://youtu.be/uj8sVZAQ6gY)
I also put the link to the map of the game :

https://drive.google.com/file/d/1_zrxhpYDWSK51TrOHfJYVltzc9IWgQ_7/view?usp=sharing (https://drive.google.com/file/d/1_zrxhpYDWSK51TrOHfJYVltzc9IWgQ_7/view?usp=sharing)


Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Gryzor on 11:31, 20 May 22
Funny how a BASIC game gets a map and a walkthrough video, though I guess it shows how good it is!

Now to wait for the final version of BASIC Tetris... :)
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Prodatron on 11:57, 20 May 22
Congratulation Abalore, this game is really cool!
It has a very nice feeling like these great platform games from the good early times. Once you found out how you really can control the player it is great to play.
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: eto on 12:07, 20 May 22
Quote from: Gryzor on 11:31, 20 May 22Funny how a BASIC game gets a map and a walkthrough video, though I guess it shows how good it is!

There are far worse commercial games.

This would have been a great type-in in the 80s and probably with a bit of tweaking it would work as a framework, where games/levels could be added just by changing the data and adding a few lines of specific logic. Imagine that - every 2 or 3 months a new level and you only have to type in a half a page. I would have loved that as a kid :-)

Great game!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: Gryzor on 12:18, 20 May 22
What a great idea!
Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: asertus on 13:37, 20 May 22
Quote from: eto on 12:07, 20 May 22
Quote from: Gryzor on 11:31, 20 May 22Funny how a BASIC game gets a map and a walkthrough video, though I guess it shows how good it is!

There are far worse commercial games.

This would have been a great type-in in the 80s and probably with a bit of tweaking it would work as a framework, where games/levels could be added just by changing the data and adding a few lines of specific logic. Imagine that - every 2 or 3 months a new level and you only have to type in a half a page. I would have loved that as a kid :-)

Great game!

Actually, a real winner in CPCRetrodev BASIC category .... 


Title: Re: Locomotive BASIC Game: P4: Return to Ganymede.
Post by: j0nx on 11:00, 23 May 22
Read bout it on IRN. Nice little gem. :) Thanks!
Powered by SMFPacks Menu Editor Mod