This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

Duta
Duta presents ...

2011/11/13

Sidescrolling

So basically, I had a few free minutes so I decided to put this together - you might want to look through the code, modify it and make it into your own game! :) If you do, comment on this project with the link and I'll check it out :P

It shouldn't be too hard to understand my code (which you could probably make more efficient), as I've commented a lot of it (for once :L).

This is a very basic sidescroller, with 2 enemies, and only left/right sidescrolling.

Future updates:
- Jumping when "space" is pressed.
- Using tiles as a real ground (instead of purely decorative) - actors will not be able to move through them.
- Shooting.
- Moving enemies (they want to kill you :p).
- Better images for the player & enemies (I didn't have the time to source some images).
- Backgrounds.

10828 views / 28 in the last 7 days

4 votes | 0 in the last 7 days

Tags: simulation physics demo with-source scrolling sidescroller

open in greenfoot
Your browser does not support the canvas tag.
craigCcraigC

2011/11/14

Thanks for posting! This will be a starting point for me to build a sidescrolling feature for my game.
FANATTOFANATTO

2012/3/7

WELL DONE
CockyCocky

2012/9/25

ja echt toll
200263200263

2022/4/15

What does the erm do?

Want to leave a comment? You must first log in.

Who likes this?

Kevroa davemib123 Cocky craigC