Rivals of Aether

Rivals of Aether

Yoshi
 此主题已被置顶,因此可能具有重要性
Charizard6903  [开发者] 6 月 16 日 上午 12:40
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!
< >
正在显示第 1 - 2 条,共 2 条留言
called it
can you add sol badguy thomas the tank engine volcarona soma cruz freddy fazbear aerith pingu tomoko funky kong and acrid into this egg compatibility
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50