This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Camyh15
wrote ...
2015/8/1
Bigger Actors
Camyh15
2015/8/1
#
Hello, can you get bigger actors (enlarge them). If you can how?
danpost
2015/8/1
#
Camyh15 wrote...
Hello, can you get bigger actors (enlarge them). If you can how?
Just give the actors bigger images (or scale them up in size).
Camyh15
2015/8/1
#
How?
danpost
2015/8/1
#
Use the 'setImage' method of the Actor class to change the image to a larger one; or, use the 'getImage' of the Actor class to get the current image and use the 'scale' method of the GreenfootImage class to scale it.
Camyh15
2015/8/2
#
What's the 'scale' method?
danpost
2015/8/2
#
You should make use of the API documentation of classes. Refer to
this page
.
Camyh15
2015/8/7
#
danpost wrote...
You should make use of the API documentation of classes. Refer to
this page
.
What's that?
danpost
2015/8/7
#
Camyh15 wrote...
What's that?
Did you click on the link? (it reads "this page" in my last post)
Camyh15
2015/8/7
#
Yes, but I don;t really get which one to do.
danpost
2015/8/8
#
Camyh15 wrote...
Yes, but I don;t really get which one to do.
danpost wrote...
Camyh15 wrote...
Hello, can you get bigger actors (enlarge them). If you can how?
Just give the actors bigger images (or
scale
them up in size).
I gave you the method name explicitly.
Camyh15 wrote...
What's the 'scale' method?
and we discussed it specifically.
You need to login to post a reply.
X