How to make an object scale?
Want to spice up your game? Create a dynamic object which scales to make your game more interesting.
Creating dynamic elements where objects change sizes throughout the game can spice up your game. Follow these steps to set up this effect:
Select your object
Set your Trigger
Decide on the action that will trigger the appearance and disappearance. If you want your object to continuously appear and disappear right from the onset of the game, opt for the “Game Start” trigger. This will ensure the effect begins as soon as gameplay starts.
Set your Loop
To have the object consistently appear and disappear, go to the “Controllers” tab. Select and drag the “Infinitely” loop block, placing it below the trigger.
Scale your object up
In the “Object Action” tab, drag the “Scale Object” block into the “Infinitely” loop. Adjust the block settings, increasing the X, Y, and Z coordinate values to scale the object up
Add Wait Time
Insert a “Wait” block for a 1-second pause before scaling up again.
Scale your object down
Add another “Scale Object” block below the first one. Toggle this block and decrease the values of all coordinates to scale the object down. Add a Wait Node to add 1 second before the object scales up again. Drag it below Object action.
Add Wait Time
Insert a “Wait” block for a 1-second pause before scaling up again.
Playtest!
After setting up the movements, test your game to see how the object behaves and make adjustments for the perfect effect.
Was this page helpful?