flutterjump.lua - Flutter jump for Yoshi [v1.2]

Share and discuss custom LunaLua code and content packs for SMBX2.

Moderator: Userbase Moderators

Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 428
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

flutterjump.lua - Flutter jump for Yoshi [v1.2]

Postby Akromaly » Mon Oct 12, 2020 12:57 pm

Hello there, I bring you guys my second lua thingy, which brings Yoshi's flutter jump on SMBX, based on the NSMB series. Works with all Yoshi colors.



To use it in your level/episode, put the file in your level/episode folder and paste this code in your luna.lua file:

Code: Select all

local flutterjump = require("flutterjump")
v1.1
- Added a proper flutter animation
v1.2
- Yoshi's body now draws correctly facing left.
- The sound effect now fades after ending the flutter early.

Download (v1.2)
Last edited by Akromaly on Thu Jun 24, 2021 1:09 pm, edited 4 times in total.

SPEEDIE
Flurry
Flurry
Posts: 180
Joined: Sat Nov 03, 2018 6:22 pm
Flair: u fucking wot
Pronouns: he/him
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi

Postby SPEEDIE » Mon Oct 12, 2020 1:05 pm

I've wanted this for a long time, great job.

Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 428
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi

Postby Akromaly » Tue Oct 13, 2020 9:16 am

v1.1 is here and now Yoshi has a proper fluttering animation!

Image

ShadowLabrys101
Swooper
Swooper
Posts: 73
Joined: Thu Jan 09, 2014 3:14 pm

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby ShadowLabrys101 » Tue Oct 13, 2020 1:29 pm

Awesome! I'll use it in my project!

Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 428
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Akromaly » Tue Oct 13, 2020 3:34 pm

Did another minor update:
- Fixed strange behavior when not mounting Yoshi
- Fixed sound not playing when the level is in a different folder

Cedur
Link
Link
Posts: 7073
Joined: Tue Jun 28, 2016 10:14 am
Flair: I'm gone, for chess and minesweeper
Pronouns: he/him

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Cedur » Tue Oct 13, 2020 5:46 pm

> flutter jump in 1.4 is somewhat stiff
> this flutter jump is very fast

SPEEDIE
Flurry
Flurry
Posts: 180
Joined: Sat Nov 03, 2018 6:22 pm
Flair: u fucking wot
Pronouns: he/him
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby SPEEDIE » Wed Oct 14, 2020 1:58 am

Cedur wrote:
Tue Oct 13, 2020 5:46 pm
> flutter jump in 1.4 is somewhat stiff
> this flutter jump is very fast
I'm sure you can change the speed in the library file.

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 529
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Marioman2007 » Wed Oct 14, 2020 3:16 am

I also think so

JayTheUnwise123
Shy Guy
Shy Guy
Posts: 8
Joined: Mon Sep 28, 2020 2:20 am

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby JayTheUnwise123 » Thu Oct 15, 2020 5:42 pm

Nice! Pretty accurate to flutter jumps in other 2D Mario games, a few nit-picks however:

- In some cases it looks like I am on the ground, but the game still considers me as in the air, so I trigger a weak flutter jump while meaning to jump instead.
- The whole flutter audio plays even when canceling a flutter jump before it ends, so it sounds a bit strange afterwards.


This is still a good representation regardless, but it would feel better to use if there was some sort of fix for these.

Woshee_real
Shy Guy
Shy Guy
Posts: 9
Joined: Sat Oct 17, 2020 8:10 pm
Flair: GO NUTS!
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Woshee_real » Tue Dec 22, 2020 2:28 am

JayTheUnwise123 wrote:
Thu Oct 15, 2020 5:42 pm
Nice! Pretty accurate to flutter jumps in other 2D Mario games, a few nit-picks however:

- In some cases it looks like I am on the ground, but the game still considers me as in the air, so I trigger a weak flutter jump while meaning to jump instead.
- The whole flutter audio plays even when canceling a flutter jump before it ends, so it sounds a bit strange afterwards.


This is still a good representation regardless, but it would feel better to use if there was some sort of fix for these.
you stole my thunder about the first nitpick if you can call it a nitpick since it seems more like a bug then a nitpick.

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby TheGameyFireBro105 » Mon Jan 18, 2021 3:34 pm

There's a graphical bug that requires attention.


Yoshi's butt will always face right when fluttering.

krakin
Reznor
Reznor
Posts: 2917
Joined: Sun Dec 11, 2016 8:02 pm
Flair: cats are cool
Pronouns: he/him/his
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby krakin » Mon Jan 18, 2021 4:07 pm

TheGameyFireBro105 wrote:
Mon Jan 18, 2021 3:34 pm
There's a graphical bug that requires attention.


Yoshi's butt will always face right when fluttering.
There has to be something wrong on your end, a gif from the op shows the correct animation

Image

TheGameyFireBro105
Eerie
Eerie
Posts: 747
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby TheGameyFireBro105 » Mon Jan 18, 2021 4:10 pm

Rhosty wrote:
Mon Jan 18, 2021 4:07 pm
TheGameyFireBro105 wrote:
Mon Jan 18, 2021 3:34 pm
There's a graphical bug that requires attention.


Yoshi's butt will always face right when fluttering.
There has to be something wrong on your end, a gif from the op shows the correct animation

Image
did u do it facing left? It only faces right for me. Bottom yosh graphics are always facing right during flutter.

Added in 2 minutes 21 seconds:
I can face left, its just that I can't say the same for the yoshib sprites.

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm
Flair: Robotic
Pronouns: They/Them

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Sonya Sanchez » Wed Jan 20, 2021 3:21 am

Did you try it without the custom Yoshi gfx? Does it happen with the default Yoshi?

Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 428
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Akromaly » Wed Jan 20, 2021 4:23 am

Idunn wrote:
Wed Jan 20, 2021 3:21 am
Did you try it without the custom Yoshi gfx? Does it happen with the default Yoshi?
I tested it and it's not a custom graphics problem, though I figured out the source of the problem. I'll fix that as soon as I have time

rael1up
Shy Guy
Shy Guy
Posts: 6
Joined: Thu Jan 14, 2021 8:27 am
Pronouns: he/him

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby rael1up » Mon Jan 25, 2021 4:49 pm

Is awesome!

Animebryan
Spike
Spike
Posts: 262
Joined: Fri Jun 03, 2016 5:40 pm
Flair: Need help!
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Animebryan » Fri Feb 12, 2021 5:08 pm

AndrewPixel wrote:
Wed Jan 20, 2021 4:23 am
Idunn wrote:
Wed Jan 20, 2021 3:21 am
Did you try it without the custom Yoshi gfx? Does it happen with the default Yoshi?
I tested it and it's not a custom graphics problem, though I figured out the source of the problem. I'll fix that as soon as I have time
So has it been fixed yet?

MisterZygarde64
Bot
Bot
Posts: 52
Joined: Wed Jun 08, 2016 9:43 pm

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby MisterZygarde64 » Fri Jun 18, 2021 1:22 am

How's progress on fixing this error going?

Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 428
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.1]

Postby Akromaly » Thu Jun 24, 2021 1:07 pm

After this many time, the library has finally been updated!

- Yoshi's body now draws correctly facing left.
- The sound effect now fades after ending the flutter early.

Zer0
Bot
Bot
Posts: 53
Joined: Tue Mar 02, 2021 5:29 am
Pronouns: he/him
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi [v1.2]

Postby Zer0 » Wed Jun 30, 2021 3:27 pm

Thank you very much! That's really cool.


Return to “LunaLua”

Who is online

Users browsing this forum: arlee and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari