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

Report as inappropriate.

matt.milan
matt.milan presents ...

2012/5/13

PlatFormed v6

broken - discussion http://www.greenfoot.org/topics/1459

crashes on scrolling screens as soon as the player reaches the middle point (the point where it would begin to scroll)

my scroll method gets 2 arraylists, sprite and obstacle, then for all, setlocation(x+player.getVelocity)

the obstacles alone work and move, but when i try to move the sprites also, i get an "actor not in world" eror. see discussion board for more info

2164 views / 589 in the last 7 days

Tags: game demo with-source cabrilol

open in greenfoot
Your browser does not support the canvas tag.
A new version of this scenario was uploaded on Sun May 13 23:19:39 UTC 2012 broken - crashes on scrolling screens as soon as the player reaches the middle point (the point where it would begin to scroll) my scroll method gets 2 arraylists, sprite and obstacle, then for all, setlocation(x+player.getVelocity) the obstacles alone work and move, but when i try to move the sprites also, i get an "actor not in world" eror. see discussion board for more info
danpostdanpost

2012/5/14

I added a 'bigRefresh();' as the first statement in the scroll() method and it seemed to work OK.

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

Who likes this?

No votes yet.