Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
ERROR in
action number 1 
of  Step Event0
for object obj_character:
undefined value
at gml_Script_numeric_springing (line 166) -        _delta_x = (1+2*_t*_damping*_ang_freq)*_x+_t*_v+power(_t,2)*power(_ang_freq,2)*_x_t;
############################################################################################
gml_Script_numeric_springing (line 166)
gml_Script_anon_Sprite_Effect_gml_GlobalScript_pkg_sprite_effect_3599_Sprite_Effect_gml_GlobalScript_pkg_sprite_effect (line 145) -               _numeric_array = numeric_springing(y_shift_effect[0], y_shift_effect[1], 0, 1 * y_shift_effect[2], y_shift_effect[3], 1);
gml_Object_obj_character_Step_0 (line 4) - sprite.update();

I'm on the latest version of GM (2022.8.1.37)

(+1)

This was very helpful! I've added a new version that should resolve this. shove() required 2 arguments, but only one is supplied by default. I've made all arguments optional with the new version.

Thanks for your feedback and patience. Please let me know if this version works for you.

Thanks for the quick fix. I plan on using this in a jam game. I'll drop a link when I get it finished.

I'd love to see it! Thanks for using Sprite_Effect()!