If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
platformer game
6 posts
• Page 1 of 1
platformer game
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.
- Attachments
-
- platformer0.1.fsm
- (2.62 KiB) Downloaded 1060 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: platformer game
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.
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.
- Exo
- Posts: 426
- Joined: Wed Aug 04, 2010 8:58 pm
- Location: UK
Re: platformer game
Nice start KG....can almost see a "pacman" game in there too..
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: platformer game
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.
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.
I noticed the errors when I reopened the schematic after publishing it.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: platformer game
Hi KG,
nice example...
i got rid of the errors with 'After Load' triggering 1st the 2 arrays in the 'map & specs' mod!
Keep on doing
nice example...
i got rid of the errors with 'After Load' triggering 1st the 2 arrays in the 'map & specs' mod!
Keep on doing
-
Walter Sommerfeld - Posts: 249
- Joined: Wed Jul 14, 2010 6:00 pm
- Location: HH - Made in Germany
Re: platformer game
For reference, I didn't use a afterload.
In the "maps and specs" module, I clicked reset, and the "Float Array Input"
until values appeared in the watch.
Then in main module,turned the ruby element off/on.
Loads up fine.
In the "maps and specs" module, I clicked reset, and the "Float Array Input"
until values appeared in the watch.
Then in main module,turned the ruby element off/on.
Loads up fine.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 132 guests