Rivals of Aether

Rivals of Aether

Yoshi
 This topic has been pinned, so it's probably important
Charizard6903  [developer] 16 Jun @ 12:40am
Yoshi Egg Compatibility Guide
Yoshi's neutral special, Egg Lay, allows for workshop creators to create a unique egged sprite for their fighters. This is a brief guide on how to go about doing just that!

Firstly, you'll need to make your sprite; this should consist of three frames, one for full health, one for half, and one for almost broken. For example, this is what Yoshi's default egg sprite looks like:
your_eggsprite_name_here_strip3[i.imgur.com]

Once you have your sprite completed, you'll need to change its offset. This offset will act as the egg's pivot point, on which it rocks back and forth. As another example, Yoshi's default egg is (16, 27), like so:
//load.gml sprite_change_offset("your_eggsprite_name_here", 16, 27);
However, given that your sprite may be a different size, or rotate in a different fashion, feel free to adjust this value as needed.

Lastly, you'll need to set your sprite as the Yoshi egg compatibility sprite, using this line of code in init.gml:
//init.gml yoshi_egg_sprite = sprite_get("your_eggsprite_name_here");

And after some tweaking to your load.gml offsets, you should be done! Enjoy fighting Yoshi with your new statused look!
< >
Showing 1-1 of 1 comments
< >
Showing 1-1 of 1 comments
Per page: 1530 50