CPCWiki forum

General Category => Games => Topic started by: HAL6128 on 22:02, 18 March 15

Title: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: HAL6128 on 22:02, 18 March 15
Actually my Intention was to participate to the "BASIC Tenliners Contest 2015". I started with the idea of a simple BASIC port of Frogger.

This was my first Trial:
[attach=2]

This was my second Trial:
[attach=3]

...but I didn't get satisfied enough. So I programmed and coded and finally had a 200 liner, damn... (sorry darkdog). ;D

It became a simple port of Frogger which I want to release / introduce. I called it "JAF" (Just Another Frogger), because there are so many Frogger conversion around there. It's only playable in BASIC 1.1. (I think it's because of the "PRINT + semicolons" statements, but I'm not sure...)
It's pure BASIC and very easy to play, but due to the interrupts I used the keyboard responds a little bit sluggish (this is not a disadvantage, take this as a challange :)).
Have fun!

[attach=5]
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: ervin on 23:25, 18 March 15
Wow, this is really impressive!
I'm tempted to port it to CPC Basic 3 (or even better, ccz80) as a fun little exercise...
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: AMSDOS on 11:51, 19 March 15
Quote from: HAL 6128 on 22:02, 18 March 15
It's only playable in BASIC 1.1. (I think it's because of the "PRINT + semicolons" statements, but I'm not sure...)


It's using GRAPHICS PAPER & GRAPHICS PEN in Line 194. The GRAPHICS PEN can be simulated in BASIC 1.0 with PLOT -2,-2,x with "x" being the PEN, but I think GRAPHICS PAPER can only be simulated on a 464 via the Firmware GRA PAPER. I got to the Game Over screen and the game appeared to Crash, not sure what was going on there, I'm guessing something has been POKEd to a Memory Location, but it's one of those Firmware Addresses which differs from a 464 to the 6128?
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: TFM on 15:57, 19 March 15
Great work!!! Back the day at CPC AI they would have loved such a listing.  :)
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: Devilmarkus on 12:00, 20 March 15
Really impressive for CPC BASIC!
Well done!
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: Kris on 15:51, 20 March 15
Simple but addictive game, congrats !!
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: HAL6128 on 22:42, 21 March 15
Thanks for all the feedback!
Yeah, Locomotive Basic is really good for a Basic dialect, is it? It provide some cool stuff on the CPC. (I'm thinking of coding a new BASIC stuff / port. Let's see how far I can get?)
Cheers!
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: Gryzor on 17:32, 22 March 15
Really nice for BASIC! I only think controls could be made a bit better, perhaps, with regards to responsiveness... But it's really nice!
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: HAL6128 on 21:22, 22 March 15
...yes, keyboard responds slow because I used all four interrupt possibilities in BASIC: first interrupt which handles the upper opponents , the second one handles the lower opponents, the third the music and the forth the time flow. Therefore it remains not so much time for the main procedure (Player). It was compromise...
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: TFM on 03:43, 23 March 15
But Frogs ARE slow!  ;D
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: Gryzor on 20:45, 23 March 15
Don't know about that, when I tell my frog to jump it does so at once :D
Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: TFM on 20:46, 23 March 15
Quote from: Gryzor on 20:45, 23 March 15
Don't know about that, when I tell my frog to jump it does so at once :D


Do you use firecrackers to make him jump?


(That would be Fire 2 then??)

Title: Re: old game as a Locomotive BASIC port - called it "JAF" (Just Another Frogger)
Post by: Gryzor on 21:02, 23 March 15
Nah, plain old IRQs...
Powered by SMFPacks Menu Editor Mod