platformer game
Posted: Tue Oct 28, 2014 6:35 pm
A simple platformer game. You may specify platforms and player position. Moving happens via arrow keys. The collision physics is not very smooth, but it doesn't matter that much.
DSP Robotics and FlowStone Graphical Programming Software Support and Forums
https://dsprobotics.com/support/
I noticed these errors too. The loadstate error comes from the hidden method that save inputs and outputs - some variables can be passed but not saved and loaded. You might recall some time ago I posted an example where I tried to pass paths and it gave the same error, so I declared custom (dummy - empty) load and save functions for the marshal routine.Exo wrote:Very nice thanks KG,
Getting some errors on load, I had to cut and paste the map & specs module to get rid of a nil class error.
And also there is an EncodingError (in method 'load state') message inside the Ruby component with the physics inside. which is odd because it doesn't look like there is a loadstate method defined.