Rivals of Aether

Rivals of Aether

Sonic the Hedgehog
 This topic has been pinned, so it's probably important
Bar-Kun  [developer] 11 Oct, 2023 @ 6:19am
Compatibilities
RAINBOW RING TRICKS
sonic's rainbow ring now has it's own compatibility, letting your character do a trick of their own when they touch the rainbow ring!

to add it, you need to add a few things to your character, and using this template will make it easier
https://drive.google.com/file/d/15_sOToj3Y-2qp91jFFuWkfgFmr_-xhn9/view?usp=sharing

now for the code itself:

//load.gml sprite_change_offset("sonictrick", 24, 47); //the name and offsets can be whatever you need them to be, just make sure you specify the sprites in the attack //init.gml sonic_rainbowring_atk = 46; //the value corresponds to an attack index, make sure it's unused by your character. this value is used by the template //attack_update.gml if (attack == sonic_rainbowring_atk) //check if the trick attack is used { iasa_script(); //lets character cancel out of the animation at any point if (vsp > 0 && window == 3) //window 3 is the window specified for the trick pose { window ++; window_timer = 0; } if (window > 1 && !free) set_state(PS_LANDING_LAG); }

if you want you can add your own logic on top of what the rainbow ring does, but you don't have to. either way it's done on your end and not sonic's end

HOMING ATTACK CLASHES
sonic's homing attack can now clash with other moves! if the object hitting sonic has the variable [barsonic_clash_homeatks] set to true while sonic uses his homing attack, it will negate all damage taken and bounce sonic up, while keeping your character in the same animation they were

keep in mind that it will likely not work properly with projectiles or articles

STAGE COMPATIBILITIES
if you are making a stage that has no players like hallowflame, you can use [bar_sonic_boost_down] to make sure that sonic's boost mode can go away

additionally, if your stage is a sort of game mode with custom win conditions, you can add compatibility to sonic's ranking system using [rank_override], which can change sonic's ranking based on your criteria

RANKS:
  • E: 0
  • D: 1
  • C: 2
  • B: 3
  • A: 4
Last edited by Bar-Kun; 3 Sep, 2024 @ 2:38am