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

2017/11/2

Resize lock

Kagz Kagz

2017/11/2

#
Hi there, I have set my actor to ideal size using {GreenfootImage image = getImage(); image.scale(100, 150); setImage(image); } when I place the actor into the world it is the correct size however when I press run it returns to its original size, how would I get him to stay the intended size after running the scenario?
danpost danpost

2017/11/2

#
Kagz wrote...
when I place the actor into the world it is the correct size however when I press run it returns to its original size, how would I get him to stay the intended size after running the scenario?
We will need to see the entire class code (1) to see where the given code is located; and (2) to see if anything else is causing the issue.
You need to login to post a reply.