Rivals of Aether

Rivals of Aether

Rivals Workshop
Create Custom Characters, Stages, Buddies and Skins!
Learn More
How to "charselect_strip"
A few days ago I tried doing that cool effect that is about the character selection image, to actually have an animation.
https://imgur.com/kwQ0fub.png

The convenient one that I finded is "Googles", along with a lot of others character effects.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2906916649&searchtext=inkling
https://i.imgur.com/214LPzj.png

But even if I copypaste the "css_init" file, the thing just doesn't do anything.

-----

skin_played = false
css_anim_time = 0;
css_char_anim_time = 0;
css_char_pic = sprite_get("charselect");

//ANIMATION VARS
sprite_change_offset("idle", 60, 90); //should mimic the load.gml offsets

preview_idle = sprite_get("idle");
preview_scale = 1; //depends on if we have small sprites on, if we do, type 2, if not type 1
preview_anim_speed = 0.15; //should mimic "idle_anim_speed" - controls the sprites animation speed


alt_cur = 0; //checks current alt
alt_prev = 0; //checks previous alt

-----

If you're reading this and you know how to fix this problem, I'm open to help sentences in the box of comments.

If you're reading this and also ignoring this post, then go to hell. :)
Last edited by Manuel Toad; 20 Jun, 2024 @ 3:06am