Hey, I was wondering if there was any way to get other draw commands to work along side this. For example I can't use something like image_blend when an object is using this script. Thanks :)
Hello! Sure, but I'm going to need more info than that! How far did you get? Did you find the instructions? Did you create an object with the CREATE, STEP, and DRAW event functions? Let me know.
Hey, I was able to make it work by looking at the examples but I was a little confused because it says parameters inside [] are optional but if I just call the function, it dosent work. One more think I got confused on is how I call the stretch function, it’s a different color than the other 2 so I though the shove and flick were not working but yeah, they all need at least 1 parameter I guess and that’s why I couldn’t get it to work
When I attempt to run this, clicking the right arrow causes the entire project to error out. It throws an "undefined value" error. Coming from the update function going all the way down to the "gml_Script_numeric_springing" function at line 166.
I've been glossing over the code and can't seem to find where the undefined variable is.
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.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hey, I was wondering if there was any way to get other draw commands to work along side this. For example I can't use something like image_blend when an object is using this script. Thanks :)
Cant seem to get this to work, any help?
Hello! Sure, but I'm going to need more info than that! How far did you get? Did you find the instructions? Did you create an object with the CREATE, STEP, and DRAW event functions? Let me know.
Hey, I was able to make it work by looking at the examples but I was a little confused because it says parameters inside [] are optional but if I just call the function, it dosent work. One more think I got confused on is how I call the stretch function, it’s a different color than the other 2 so I though the shove and flick were not working but yeah, they all need at least 1 parameter I guess and that’s why I couldn’t get it to work
When I attempt to run this, clicking the right arrow causes the entire project to error out. It throws an "undefined value" error. Coming from the update function going all the way down to the "gml_Script_numeric_springing" function at line 166.
I've been glossing over the code and can't seem to find where the undefined variable is.
First, make sure you have GameMaker 2.3 or later.
Secondly, can you post the entire error message? That would help me to identify! Thank you.
I'm on the latest version of GM (2022.8.1.37)
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()!