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

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
AndrewPixel
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 418
Joined: Sun Mar 12, 2017 8:07 am
Contact:

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

Postby AndrewPixel » 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 AndrewPixel on Thu Jun 24, 2021 1:09 pm, edited 4 times in total.
ImageImage

User avatar
SPEEDIE
Blooper
Blooper
Posts: 181
Joined: Sat Nov 03, 2018 6:22 pm
Flair: u 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.
linux user, the81project (now project 081) dev

if you want blade of justice "source", here ya go
https://github.com/speediegamer/bojsource
only released because project wasn't going anywhere

you should probably not contact me here cuz i wont respond
instead contact me on discord
dont spam or i'll just block ya.

dont dm me asking for code, graphics, install tutorial, etc.
there are tutorials and discord servers for that :)

finished projects:
a smbx episode
sm24s
various github stuff

User avatar
AndrewPixel
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 418
Joined: Sun Mar 12, 2017 8:07 am
Contact:

Re: flutterjump.lua - Flutter jump for Yoshi

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

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

Image
ImageImage

User avatar
ShadowLabrys101
Bit
Bit
Posts: 70
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!
Image
https://downloads.khinsider.com/?u=2386437
Image
Avatar by yours truly!
Spoiler: show
Image Now I want TOTAL PAWAAAAAAARR!!
My Pokemon Omega Ruby info
Image

User avatar
AndrewPixel
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 418
Joined: Sun Mar 12, 2017 8:07 am
Contact:

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

Postby AndrewPixel » 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
ImageImage

User avatar
Cedur
Raccoon Mario
Raccoon Mario
Posts: 7017
Joined: Tue Jun 28, 2016 10:14 am
Flair: semi-retired user, only interested in post ranks
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
Image
More Supports: show

Image
Image

Still using the legacy editor? Get SMBX2 and PGE, it will improve your experience significantly. Here's why. And remember, Yoshis are tools to be used and discarded.

ShadowStarX (06/14/18) wrote: South Korea is easy deal

User avatar
SPEEDIE
Blooper
Blooper
Posts: 181
Joined: Sat Nov 03, 2018 6:22 pm
Flair: u 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.
linux user, the81project (now project 081) dev

if you want blade of justice "source", here ya go
https://github.com/speediegamer/bojsource
only released because project wasn't going anywhere

you should probably not contact me here cuz i wont respond
instead contact me on discord
dont spam or i'll just block ya.

dont dm me asking for code, graphics, install tutorial, etc.
there are tutorials and discord servers for that :)

finished projects:
a smbx episode
sm24s
various github stuff

User avatar
marioman2007
Spike
Spike
Posts: 264
Joined: Tue Aug 25, 2020 3:19 am
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
Just learning Lua and Importing Graphics

The Super Cool Pack:
Image
https://discord.gg/78w3gGAptB

I support:
Image
Image

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.

User avatar
Woshee_real
Shy Guy
Shy Guy
Posts: 7
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.
Creator of SMBX2 Episode "Mario and Co. Bowser's Sinister Scheme", play Team Fortress 2 and other games when not working on it, homework is low priority :lol: .

User avatar
TheGameyFireBro105
Rocky Wrench
Rocky Wrench
Posts: 636
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes

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.
I love these episodes and packs; Go and support:
Image
Image
Image
Image
Image
Image

User avatar
Krakin
Birdo
Birdo
Posts: 2743
Joined: Sun Dec 11, 2016 8:02 pm
Flair: When I'm away from you, I'm happier than ever..
Pronouns: she/her/hers
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
Tone indicators : /j= joking, /srs= serious, /lh= light-hearted, /s= sarcastic
things: show

Get it, Let it roll!

Image
My Switch friend code: SW-1004-3051-8456
My main YT: https://www.youtube.com/c/ChicaMario64/featured
krakin.carrd.org
selective mutism is a nuisance

User avatar
TheGameyFireBro105
Rocky Wrench
Rocky Wrench
Posts: 636
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes

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.
I love these episodes and packs; Go and support:
Image
Image
Image
Image
Image
Image

User avatar
Sonya Sanchez
Rocky Wrench
Rocky Wrench
Posts: 642
Joined: Fri May 10, 2019 3:05 pm
Flair: Journalism
Pronouns: She/Her

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?

"We at the Sonya Sánchez Show care about our Gamers"


User avatar
AndrewPixel
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 418
Joined: Sun Mar 12, 2017 8:07 am
Contact:

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

Postby AndrewPixel » 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
ImageImage

User avatar
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!
(GENERATION 31: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

:D I am working in a new episode called "Time Machines", will be some cool! You will be able to travel in the time and see your past actions! 8-)

User avatar
Animebryan
Snifit
Snifit
Posts: 225
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?
Need serious help with Lua based features :(

User avatar
MisterZygarde64
Swooper
Swooper
Posts: 51
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?

User avatar
AndrewPixel
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 418
Joined: Sun Mar 12, 2017 8:07 am
Contact:

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

Postby AndrewPixel » 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.
ImageImage

User avatar
Unh0pe
Cheep-Cheep
Cheep-Cheep
Posts: 14
Joined: Tue Mar 02, 2021 5:29 am
Pronouns: he
Contact:

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

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

Thank you very much! That's really cool.
Image


Return to “LunaLua”

Who is online

Users browsing this forum: Animebryan and 3 guests