Additional Pick-Up Effects
This sample project includes additional pick-up effects, such as a pick-up sound, coin’s movement and change of scale.
Begin with creating a new animation and renaming it to “Additional Pick-Up Effects”.

Next, add the Pick-Up group from the scene tree into the timeline using the RMB.

Then, go to the Triggers tab, click on Any Object, and select MainCharacter > MainCharacter Body. Then, click on No Object, and select Pick-Up > Cylinder.

When completed setting up the trigger, you may now proceed to the steps described below to create the additional pick-up effects.
In this sample project, we used the following sound effect. You can download it below, or use one of your own.
coin.wav
31KB
Binary
coin
To add a sound effect for your pick up, select the Additional Pick-Up Effects animation you created earlier, click on the Add a Sound icon in the timeline tab.

Then, go to the created Audio Track and click on the 0 point using the LMB. Next, import a sound from your computer.

In this sample scene, a coin moves up and down and changes it’s scale after the main character picks it up. To create such effects, use the guidelines below completed in the Animation Mode.
Select the Additional Pick-Up Effects animation and add a movement for a pick-up group for Position Y. To do that, hover your mouse cursor over the pick-up object in the timeline, click on the (+) icon and select Position Y from the drop-down menu.

Then, click on the 0.5 point of the Position Y keyframe and input origin+2.5 using the keyboard.

Then, click on the 1.0 point of the same keyframe and input origin-2. This will animate the position of your coin for up and down movement.

To add a scale animation for X, Y, and Z axes, select the Additional Pick-Up Effects animation you created earlier, hover your mouse cursor over the pick-up object in the timeline, click on the (+) icon and select Scale for X Y and Z-axes from the drop-down menu, one at a time.

For each of this keyframe, move the origin point from 0 to 0.5. The latter will initiate the scale change of the coin when it moves down.

Then, click on the 1.0 point for each Scale keyframe and input 0 using the keyboard. This will create a shrinking effect for the pick-up.

Last modified 2yr ago