Here you are a little game created as a development example with
CPCtelera (http://lronaldo.github.io/cpctelera/). Platform Climber (http://fremos.cheesetea.com/?wpdmdl=1687) is just a simple game where we control a character that must climb platforms to avoid falling into the lava:
(http://fremos.cheesetea.com/wp-content/uploads/2015/06/pclimber.png?123) (http://fremos.cheesetea.com/?wpdmdl=1687)
Complete source code (https://github.com/lronaldo/cpctelera/tree/master/examples/games/platformClimber/src) is available and included into the last version of CPCtelera (at Github) (https://github.com/lronaldo/cpctelera/). Everything is commented and structured. If you have any doubts, please ask me :) .
The game implements physics based on integer arithmetics with 256-level subpixel precision: you can feel it when playing. There are tons of aspects to be improved in the game, but we have left it as is to maintain it relatively simple to understand for those interested in learning from it or modifying the code. There is still no music, but I could add it if some one wanted to create one (I am unable to join two notes with coherence :) )
You can modify it, test it, crash it or do whatever you wanted :) . You just have to download latest version of CPCtelera (at Github) (https://github.com/lronaldo/cpctelera/), type in "make" and start playing with it ;) .
Here you are a sample video and links for downloading the game and playing it directly from your browser.
- [[ Download Platform Climber DSK ]] (http://fremos.cheesetea.com/?wpdmdl=1687)
- [[ Play Platform Climber in your Browser ]] (http://fremos.cheesetea.com/emucpc/?disk=pclimber&run=pclimber)
Youtube video: https://www.youtube.com/watch?v=ZwUwUAXBPd8 (https://www.youtube.com/watch?v=ZwUwUAXBPd8)
Fantastic!
Great way to show off cpctelera and how to use it! :)
Nice looking game, and better still it a cool game mechanic. Well done!
Code is very well commented. The project structure for the game is easy to use to find the files.
:)
That's very cool! And I really like the source code structure!
Excellent job ronaldo. 8)
Way to go!
Looks enjoyable , will have to give it a burn, not a patch on Home Runner( Which is in Machine Code ,I'll have you know ;) )
No seriously thanks for keeping things interesting in the CPC world.
The beginning of the game reminds me of Roland in the Caves
Thank you very much for your comments, guys :). I hope it to be helpful for those wanting to use the source code.
Although it is reasonably structured, it requires much improvement to be much more useful. Comments, criticism and suggestions are much appreciated. I think that improving structure of games like this is a first step in creating something more like "game generators", like AGD or others.
For your reference, actual score record of this game is 330. Anyone able to achieve more? ;)
PS: If you haven't tried it, test what happens when you use cursor down key, being over a platform 8)
Ooh, an infinite climber game on the CPC! I love it, I don't know if it needs any music but sfx for sure. And of course it needs to scroll quite a bit faster, but I like it so far. The somersault is really cute :)
The scroll velocity increases as you climb more and more ;). However, it is a software scroll: the idea was to keep the code as simple and understandable as possible, as it is an example for people :).
If you wanted to create sound FX and/or music for the game, I may include it. I'm just virtually deaf for creating any kind of sound asset :D
Today I throughly tested Platform Climber on my real Amstrad CPC 464 and set up a new record: 776 platforms.
Anyone wanting to accept the challenge of beating it? :D
[attach=2]
Damn, it's pretty hard !
My personal record : 31 :picard:
Try using the Down arrow key ;)
Hum, I have using it :picard: :D