CPCWiki forum

General Category => Games => Topic started by: Typhon on 22:50, 22 April 24

Title: WIP Transversion
Post by: Typhon on 22:50, 22 April 24
Evening all,
 
Some screenshots of a new project: Transversion: a port to the CPC of the 1983 Solar-Fox/Gridrunner game originally for the Speccy. I'm using the lovely CPCTelera library, and I hope to have it completed in a few weeks, and I'll be including a few of the graphical tweaks from the awesome versions by Denis Grachev, (Sector and Sector:Invasion) which were released a few years ago, also for the Spectrum. Will work on any CPC, and full source code will be available. Stay tuned to this thread for more details!

(about:invalid)(about:invalid)(about:invalid)(about:invalid)(about:invalid)8.png(about:invalid)(about:invalid)(about:invalid)
Title: Re: WIP Transversion
Post by: Gryzor on 04:11, 23 April 24
Didn't know of this, looks interesting.

https://youtu.be/TmOxYX8tTDc

But please do something about the sound 😁
Title: Re: WIP Transversion
Post by: Typhon on 09:40, 23 April 24
Quote from: Gryzor on 04:11, 23 April 24Didn't know of this, looks interesting.

https://youtu.be/TmOxYX8tTDc

But please do something about the sound 😁
Our lovely MrLou has granted me permission to use some of his music instead of the Speccy's dulcet tones.
Title: Re: WIP Transversion
Post by: Typhon on 00:01, 25 April 24
Title: Re: WIP Transversion
Post by: Typhon on 00:04, 25 April 24
7.png9.png11.png
Title: Re: WIP Transversion
Post by: menegator on 22:20, 26 April 24
Nice. An idea, if it's not to late, make the tiles like bombjack, if you take them at a certain order to get higher score.
Title: Re: WIP Transversion
Post by: lightforce6128 on 01:51, 27 April 24
I always liked this game on the Atari 2600:

https://youtu.be/sk3resNu1kA?feature=shared&t=186 (https://youtu.be/sk3resNu1kA?feature=shared&t=186)

I'm looking forward to your CPC version.
Title: Re: WIP Transversion
Post by: Typhon on 23:07, 29 April 24
Alright, so a brief video of a WIP. Note that this is obviously way too slow and sluggish. I'm still writing my code as if I've got unlimited fps and a graphics card to play with! But now I have a vague idea of what is going on, its time to properly optimise stuff and get rid of stuff that doesn't translate well on a Z80 (for example, needless integer division and unnecessary redrawing of areas on the screen that haven't changed!), and to make the frame rate like the proverbial poo off a shovel.



Title: Re: WIP Transversion
Post by: Typhon on 23:35, 04 May 24
I've done some optimisation and additional work, though its not smooth or speedy enough yet. But its an enjoyable process to do so. I've got collision detection switched off for development purposes.

Title: Re: WIP Transversion
Post by: Typhon on 23:14, 05 May 24
Cracked the speed issue. Next stop, collision detection and death animations. I also need to look at ensuring things all happen at a consistent pace, and there's no slowdown or speedup depending on what is happening on screen.

Title: Re: WIP Transversion
Post by: ervin on 03:57, 06 May 24
Wow that's a big difference!
What were the main optimisations that led to the speed-up?
Title: Re: WIP Transversion
Post by: Typhon on 14:24, 12 May 24
OK, so the gameplay is functionally complete, and I've attached the game-as-is. Would welcome any feedback. To load run "tv2024.bas".

Next stop - extra graphics/animations, and of course music/sfx. I've got almost 14k free currently, so plenty of space for some nice stuff.
Title: Re: WIP Transversion
Post by: Typhon on 16:47, 12 May 24
QAOP or Joystick to control, H to pause.

Secret Keys in this level: ESC to abort/quit, or C to move onto next level.
Title: Re: WIP Transversion
Post by: Jean-Marie on 22:51, 12 May 24
Nice :) Could you please add the Cursor keys in the list of redefinable keys ?
I noticed that sometimes, when I'm hit by a laser bolt, I remain unscathed. I dunno if that's a bug, or maybe I misunderstood something?
Title: Re: WIP Transversion
Post by: Typhon on 19:10, 13 May 24
Think I just need to adjust the timing of the game code a bit. Player movement and bolt movement are updated on different frame-counters for speed reasons. :-)

I'll change things so you can redefine to cursor keys too, as well, as enabling of cancelling of the redefine screen without having to go through all the list of controls!
Title: Re: WIP Transversion
Post by: Typhon on 22:17, 13 May 24
Quote from: ervin on 03:57, 06 May 24Wow that's a big difference!
What were the main optimisations that led to the speed-up?

To belatedly answer your question:

The long and the short, I stopped programming like I could refresh the entire screen at 50fps :-)
Title: Re: WIP Transversion
Post by: ervin on 00:53, 14 May 24
Nice one.
Lots of cool optimisation ideas in there.
Powered by SMFPacks Menu Editor Mod