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
LightningFast
wrote ...
2020/1/10
How do I make a character bigger?
LightningFast
2020/1/10
#
I made a character online (png file) but now I want it to get bigger (it's too small on the screen!)
danpost
2020/1/10
#
LightningFast wrote...
I made a character online (png file) but now I want it to get bigger (it's too small on the screen!)
The GreenfootImage class has an instance method called
scale
.
LightningFast
2020/1/10
#
should I put this in the world class or the hero class?
danpost
2020/1/10
#
LightningFast wrote...
should I put this in the world class or the hero class?
In whichever class whose instance is to have that image. Add a constructor to the class and scale the image there.
You need to login to post a reply.
X