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

Comments for Scrolling Man

Return to Scrolling Man

tylerstylers

2012/5/25

is the source meant to be up?
MatheMagicianMatheMagician

2012/5/25

Yes it is, thanks
A new version of this scenario was uploaded on Fri May 25 18:49:12 UTC 2012
A new version of this scenario was uploaded on Fri May 25 18:50:18 UTC 2012
jertyjerty

2012/5/25

thx
A new version of this scenario was uploaded on Tue May 29 20:54:36 UTC 2012 Now overrides both move() and setLocation()
MoritzMoritz

2012/7/6

very nice... =)) but where can you make the scroll "longer" - because in this game the scroll is very short - if you know what I mean...
A new version of this scenario was uploaded on Fri Jul 06 21:35:59 UTC 2012 Made it simpler to use.
I do. Really, there is no limit built in to the game. However, if you call can(int direction); it uses the same variables described in the wombat scenario to figure out if you scroll that far out. The variables it uses to know that are the scrolly and scrollx variables at the top of the man class. You can play with these and see the result.
A new version of this scenario was uploaded on Sat Jul 07 18:12:07 UTC 2012
MoritzMoritz

2012/7/14

so yes ok - I got it thx =)) but the gamefigure always 'starts' in the left corner at the top... how can I change that? so I want the figure to start in the left corner at the bottom.
A new version of this scenario was uploaded on Sun Jul 15 11:32:18 UTC 2012
MatheMagicianMatheMagician

2012/7/15

Well, in this new version of the game that I just uploaded, you can adjust the starting position of the character by using the x and y variables of the scroller class. However, remember that the board is flipped, so that if you wanted the actor to start at 300, 200 for example, you would set the x variable to -300 and the y value to -200. I probably should post some sort of tutorial on this.
MoritzMoritz

2012/7/15

ok thank you very much ..but where and when will you post this tutorials? by the way; are you german? because I think Mathe ... it is german, isnĀ“t it? =))
MatheMagicianMatheMagician

2012/7/15

I'll probably create a word document or something and put it in the project files of my game in the next update. That way, it will be right there for anybody who downloads the code. Also, I am not German, however, my favorite book is the Phantom Tollbooth, and one of my favorite characters is the MatheMagician who has a pencil for a staff.
SPowerSPower

2012/7/15

@MatheMagician when your tutorial is done, would you please add it to this collection?: http://www.greenfoot.org/collections/321
A new version of this scenario was uploaded on Tue Jul 17 16:37:18 UTC 2012 Added the tutorial and a hitEdge() method.
MoritzMoritz

2012/7/17

thank you soo much =))
MatheMagicianMatheMagician

2012/7/17

You are welcome.
SPowerSPower

2012/8/4

I couldn't find the course, since the doc folder is re-created when you look at documentation. What you need to do, is create a new folder (in the same folder as images and sounds), and put the course in there.
A new version of this scenario was uploaded on Sat Aug 04 12:43:41 UTC 2012 Fixed some documentation problems.
groengeelgroengeel

2012/9/12

Thank you! I was looking very hard for this.. ;-)
MatheMagicianMatheMagician

2012/9/12

I am happy it was helpful to you. Um, could you please press the like button, though?