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

2014/12/21

Help- Changing Size of an Actor

DancingDuck DancingDuck

2014/12/21

#
Working on a game, and I'm trying to change the size of a Bomb and the explosion. I've tried some ways to change the size already, but it isn't working for me. Help would be appreciated- Thanks!
danpost danpost

2014/12/21

#
The bomb itself should not be difficult -- just use the 'scale' method on the GreenfootImage object that is assigned to the Bomb object. The explosion may be a different story, in that it may consist of several images or it may already be scaling an image to produce the animation. If the latter case, you will have to adjust the way it scales the image (both the initial and subsequent parts of the animation.
DancingDuck DancingDuck

2014/12/22

#
Thanks!
You need to login to post a reply.