How?

This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?
Mosaic
Birdo
Birdo
Posts: 2887
Joined: Fri Feb 27, 2015 8:07 pm
Flair: All has a reason behind it, even if it's tough.
Pronouns: He/Him
Contact:

How?

Postby Mosaic » Sat May 13, 2017 4:44 pm

How do you enable peach to be able to spin jump? Does someone have a code of how?

HenryRichard
Birdo
Birdo
Posts: 2843
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: How?

Postby HenryRichard » Sat May 13, 2017 6:01 pm

Not 100% sure how you would do it, but you could check if the player just jumped and is holding the alt jump key, and then set the spinjump state to true.

krakin
Birdo
Birdo
Posts: 2851
Joined: Sun Dec 11, 2016 8:02 pm
Flair: Splatoon 3 is not Splatoon 2.5
Pronouns: she/her
Contact:

Re: How?

Postby krakin » Sat May 13, 2017 6:03 pm

timocomsmbx2345 wrote:ask Pixel fkjfhdskjbvhdfkjshflkhsdkljhfvkjlsdahfkjshdkPESTfjbsadnmdbkjaskjfds
I don't think that user exists..

PixelPest
Raccoon Mario
Raccoon Mario
Posts: 7111
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: How?

Postby PixelPest » Sat May 13, 2017 10:12 pm

HenryRichard wrote:Not 100% sure how you would do it, but you could check if the player just jumped and is holding the alt jump key, and then set the spinjump state to true.
Basically this.

The following should work:

Code: Select all

function onInputUpdate()
   if (player.character == CHARACTER_PEACH) and (player.altJumpKeyPressing) and (player:isGroundTouching()) then
      player:mem(0x50, FIELD_BOOL, true);
   end
end 
Last edited by PixelPest on Sun May 14, 2017 8:59 am, edited 1 time in total.

Hoeloe
Foo
Foo
Posts: 1442
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl
Pronouns: she/her

Re: How?

Postby Hoeloe » Sun May 14, 2017 6:31 am

PixelPest wrote:
HenryRichard wrote:Not 100% sure how you would do it, but you could check if the player just jumped and is holding the alt jump key, and then set the spinjump state to true.
Basically this.

The following should work:

Code: Select all

function onInputUpdate()
   if (player.character == 3) and (player.altJumpKeyPressing) then
      player:mem(0x50, FIELD_BOOL, true);
   end
end 
That will, I think, also allow you to turn a regular jump into a spinjump. You may also need to test player:isGroundTouching(). Also you should use CHARACTER_PEACH, rather than 3.

timocomsmbx2345
Nipper
Nipper
Posts: 840
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: How?

Postby timocomsmbx2345 » Sun May 14, 2017 3:13 pm

Did my posts get deleted here?

Mable
Ludwig
Ludwig
Posts: 5806
Joined: Sat Dec 21, 2013 4:23 am
Contact:

Re: How?

Postby Mable » Sun May 14, 2017 5:51 pm

Probably bc it was really uh not needed to say in a nice way?


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest