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

2014/11/24

Scrolling Super World issues with main actor

1
2
danpost danpost

2014/11/25

#
Got it. Actually the solution is very, very simple; however, no one would think to do this except me (who wrote the 'SWorld' class and maybe a very few others, who are good at deciphering and understanding the code). Add the Heart into the world using 'addObject(Actor, int, int, false);'. The 'false' at the end tells my SWorld class that it is not a scroller object and, in essence, it is not. It is to become the main actor -- the one that controls the scrolling when moved.
Dillybar Dillybar

2014/11/26

#
Perfect, thank you very much.
You need to login to post a reply.
1
2