[Extension] Arcade Easing - Move your sprite from A to B in style!


https://github.com/ChimbroDaPro/arcade-easing

Hey yall, so I’ve found myself getting really frustrated with the limited movement options for MakeCode, like, pretty much EVERYTHING is linear, and it makes things like character dashing, objects falling, and UI movement have a lot to be desired. I found it to be very limiting especially when you want certain movements to be really expressive or fancy.

But all of that has changed now, with the all new Easing Extension, my first proper extension! I made sure it’s super easy to use, and, who knows, maybe it’ll become something like Timers or Settings that people won’t be able to live without :sweat_smile: . I guess time will tell. But let me give you a breakdown of what this extension has to offer:

I strived to make the extension as accessible as possible, so that it’s simply a case of a “sprite moves from A to B” type block. So, in that sense, it helps with simple sprite movement, similar to that one block in @jwunderl’s sprite utils extension. Of course their also the twist of the actual easing to the location of your choice:

IMG_6697

I have various easings, from sine, quad, quint, bounce, elastic, circular (my favourite), exponential, quart, and back.

Here are a few fun ones:

Circular

IMG_6698

Elastic

IMG_6699

Bounce

IMG_6700

And if you want to move your sprite relative to the sprites location, like, say, you want a sprite to dash, you can use the ease by dx and dy block!

Now, trust me, my example isn’t great, but you can do A LOT with this if you pair it with an animation, or like some killer move where the enemy flies in and… nevermind lol, getting ahead of myself.

IMG_6701

Those are the main two blocks, and the rest are intuitive enough, but the cancel easing blocks are very useful too, especially if you want a diving attack to be parried of deflected, you could cancel the easing and… bruh why am I giving you ideas again? Just use it for yourself, I think you’ll like it.

Another gif with me just goin crazy with easings:

IMG_6703

14 Likes

This is great! I see it being really useful in cutscenes and stuff like that in the future. I already have alot of projects that i’d like to implement this with! :fire:

Awsome work :clap:

8 Likes

really cool extension!

oohhh god the geometry dash brainrot is kicking in…

5 Likes

FIRE IN THE HOLE​:speaking_head::speaking_head::speaking_head::fire::fire::fire::100::100::100::100:

3 Likes

what do you mea

1 Like

gd movement triggers

i know geometry dash didnt invent easings but its where i recognize them from

1 Like