#1.2 Loot: Lootboxes


The battery lootboxes work as well as the batteries. With the small difference that it should look like the battery comes out of the Lootbox, which is opened when the player jumps against it from below.

To save an actor the empty Lootbox is already shown in the scene background and the full Lootbox Actor is placed on top of it. To allow the player to walk on the Lootbox it is important to mark the upper half as a barrier and leave the lower half free so that the player can still interact with it.

As mentioned, the Lootbox works just like the battery. With the difference that the actor first looks like the Lootbox and when the player touches it, it moves up hidden and then becomes visible again with the battery sprite, so that the empty Lootbox can be seen in the background and the battery now flies up. 

Get GB Space Jump -2.0

Leave a comment

Log in with itch.io to leave a comment.