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

2020/1/10

How do I make a character bigger?

LightningFast 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 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 LightningFast

2020/1/10

#
should I put this in the world class or the hero class?
danpost 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.