Boomerang Flower V1.0 w/ Custom GFX!

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

Moderator: Userbase Moderators

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Thu Mar 02, 2017 7:41 pm

practicalshorty014 wrote:Can you by any chance make a Boomerang Bro Suit?
Image
Here you go.

http://www.mediafire.com/file/cr65d644n ... empest.zip

It's a custom Boomerang Suit. It replaces the hammer suit and allows the player to throw boomerangs.

Image

In case you couldn't tell, i took the SMBX 1.4.3 mario-9 sprites, added that hammer suit hat on top and changed some of the colors & other stuff.

If you have any suggestions for a new powerup or have found any bugs/glitches, let me know.

GIVE CREDIT IF USED.
Last edited by Tempest on Fri Apr 27, 2018 10:51 pm, edited 2 times in total.

MacDuckBeat
Fuzzy
Fuzzy
Posts: 1055
Joined: Fri Oct 07, 2016 8:09 am
Flair: Neon and edgy artist hehe
Pronouns: he/him
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby MacDuckBeat » Thu Mar 02, 2017 11:50 pm

Is it only me the code isn't working though ?
Image

And here's the current code that it wasn't working.
Spoiler: show

Code: Select all

local BoomerangLock = 0

function onTick()
	if player.powerup == PLAYER_HAMMER then
		if player.character == CHARACTER_MARIO then
			if BoomerangLock == 0 then
				if(player.runKeyPressing) then
					for k,v in pairs(NPC.get(171,-1)) do
						v.id = 292
						v.width = 32
						v.height = 32
						v:mem(0x110,FIELD_DFLOAT,1)
						if BoomerangLock == 0 then
							if player:mem(0x106,FIELD_WORD) ~= -1 then
								BoomerangLock = 1
								v.x = v.x + 2
								v.speedX = 25
								v.speedY = -10
							else
								v.x = v.x - 2
								v.speedX = -25
								v.speedY = -10
								BoomerangLock = 1
							end
						end
					end
				end
			else
				local BoomerangCheck = NPC.get(292,-1)
				if table.getn(BoomerangCheck) == 0 then
					BoomerangLock = 0
				else
					player:mem(0x160,FIELD_WORD,2)
				end
			end
		end
	end
end

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Fri Mar 03, 2017 3:59 pm

RSuper wrote:Is it only me the code isn't working though ?
Image
It works fine with me. Are you playing as Mario?

MacDuckBeat
Fuzzy
Fuzzy
Posts: 1055
Joined: Fri Oct 07, 2016 8:09 am
Flair: Neon and edgy artist hehe
Pronouns: he/him
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby MacDuckBeat » Fri Mar 03, 2017 6:20 pm

Tempes wrote:
RSuper wrote:Is it only me the code isn't working though ?
Image
It works fine with me. Are you playing as Mario?
It is.

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Fri Mar 03, 2017 6:53 pm

RSuper wrote:
Tempes wrote:
RSuper wrote:Is it only me the code isn't working though ?
Image
It works fine with me. Are you playing as Mario?
It is.
Wait a minute, that cursor...

What version are you playing this in? I'm pretty sure that cursor doesn't show up while playing in 2.0.

MacDuckBeat
Fuzzy
Fuzzy
Posts: 1055
Joined: Fri Oct 07, 2016 8:09 am
Flair: Neon and edgy artist hehe
Pronouns: he/him
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby MacDuckBeat » Fri Mar 03, 2017 7:43 pm

Tempes wrote:
RSuper wrote:
Tempes wrote:
It works fine with me. Are you playing as Mario?
It is.
Wait a minute, that cursor...

What version are you playing this in? I'm pretty sure that cursor doesn't show up while playing in 2.0.
You could have guarantee 100% I'm using 1.3.0.2. But I can't test it with LunaTester.

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Fri Mar 03, 2017 7:47 pm

RSuper wrote:
Tempes wrote:
RSuper wrote: It is.
Wait a minute, that cursor...

What version are you playing this in? I'm pretty sure that cursor doesn't show up while playing in 2.0.
You could have guarantee 100% I'm using 1.3.0.2. But I can't test it with LunaTester.
It doesn't work in 1.3.0.2, it uses LunaLua coding.

Shin
Cheep-Cheep
Cheep-Cheep
Posts: 11
Joined: Thu Oct 06, 2016 2:23 am

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Shin » Fri Mar 03, 2017 8:21 pm

Tempes wrote:
RSuper wrote:
Tempes wrote:
Wait a minute, that cursor...

What version are you playing this in? I'm pretty sure that cursor doesn't show up while playing in 2.0.
You could have guarantee 100% I'm using 1.3.0.2. But I can't test it with LunaTester.
It doesn't work in 1.3.0.2, it uses LunaLua coding.
1.3.0.1 and 1.3.0.2 are two different things. 1.3.0.1 is the vanilla version, and 1.3.0.2 is the one that includes LunaLua.

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Fri Mar 03, 2017 8:25 pm

Shin wrote:
Tempes wrote:
RSuper wrote: You could have guarantee 100% I'm using 1.3.0.2. But I can't test it with LunaTester.
It doesn't work in 1.3.0.2, it uses LunaLua coding.
1.3.0.1 and 1.3.0.2 are two different things. 1.3.0.1 is the vanilla version, and 1.3.0.2 is the one that includes LunaLua.
oh

timocomsmbx2345
Foo
Foo
Posts: 852
Joined: Sat Feb 06, 2016 1:44 pm
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby timocomsmbx2345 » Fri Mar 03, 2017 8:44 pm

Doesthis go over the hammer suit?

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Fri Mar 03, 2017 10:08 pm

timocomsmbx2345 wrote:Doesthis go over the hammer suit?
(Sorry for the late reply)

Yep.

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

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby krakin » Fri Mar 03, 2017 10:09 pm

Sweet, this is bringing back memories of Super Mario 3D World! Good job.

Inspirited
Snifit
Snifit
Posts: 242
Joined: Sun Oct 30, 2016 5:58 pm

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Inspirited » Sat Mar 04, 2017 8:21 am

Besides this one I can only find 2 other custom powerups on this forum. Please, make more! There's SO many possibilities! Also does it really have to override an existing powerup?

PersonNamedUser
Reznor
Reznor
Posts: 2882
Joined: Fri Feb 27, 2015 8:07 pm

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby PersonNamedUser » Sat Mar 04, 2017 9:58 am

Inspirited wrote:Also does it really have to override an existing powerup?
Sadly, as far as my knowledge goes, yes.
btw, nice job on this

Tempest
Swooper
Swooper
Posts: 79
Joined: Tue Jan 31, 2017 5:18 pm
Flair: not here
Contact:

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Tempest » Sat Mar 04, 2017 11:33 am

practicalshorty014 wrote:Sweet, this is bringing back memories of Super Mario 3D World! Good job.
MosaicMario wrote:btw, nice job on this
Thanks! :D
Inspirited wrote:Besides this one I can only find 2 other custom powerups on this forum. Please, make more! There's SO many possibilities! Also does it really have to override an existing powerup?
You bet i will! And actually, i already made 4: Phoenix, Mole, Beetroot and this one.

Unfortunately, yes, it has to override an existing powerup.

Quantumenace
Chain Chomp
Chain Chomp
Posts: 308
Joined: Mon Dec 28, 2015 2:17 am

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Quantumenace » Sat Mar 04, 2017 6:35 pm

Inspirited wrote:Also does it really have to override an existing powerup?
HenryRichard made this so it's possible. It would help if that existed as a separate API, though.

AirSeus
Blue Yoshi Egg
Blue Yoshi Egg
Posts: 1121
Joined: Fri Feb 14, 2014 2:40 pm
Flair: Ok no
Pronouns: He/Him

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby AirSeus » Sun Mar 05, 2017 9:59 am

Shin wrote:
Tempes wrote:
RSuper wrote: You could have guarantee 100% I'm using 1.3.0.2. But I can't test it with LunaTester.
It doesn't work in 1.3.0.2, it uses LunaLua coding.
1.3.0.1 and 1.3.0.2 are two different things. 1.3.0.1 is the vanilla version, and 1.3.0.2 is the one that includes LunaLua.
You mean Lunaddl

Snessy the duck
Mouser
Mouser
Posts: 2699
Joined: Sat Sep 20, 2014 6:04 am

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Snessy the duck » Sun Mar 05, 2017 10:41 am

IzIcy wrote:
Shin wrote:
Tempes wrote:
It doesn't work in 1.3.0.2, it uses LunaLua coding.
1.3.0.1 and 1.3.0.2 are two different things. 1.3.0.1 is the vanilla version, and 1.3.0.2 is the one that includes LunaLua.
You mean Lunaddl
No, he means LunaLUA. No one uses LunaDLL anymore.

AirSeus
Blue Yoshi Egg
Blue Yoshi Egg
Posts: 1121
Joined: Fri Feb 14, 2014 2:40 pm
Flair: Ok no
Pronouns: He/Him

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby AirSeus » Sun Mar 05, 2017 10:45 am

Snessy the duck wrote:
IzIcy wrote:
Shin wrote:
1.3.0.1 and 1.3.0.2 are two different things. 1.3.0.1 is the vanilla version, and 1.3.0.2 is the one that includes LunaLua.
You mean Lunaddl
No, he means LunaLUA. No one uses LunaDLL anymore.
I meant something different to what you just said, but whatever.

Sambo
Snifit
Snifit
Posts: 211
Joined: Fri Jan 24, 2014 6:43 pm

Re: Boomerang Flower V1.0 w/ Custom GFX!

Postby Sambo » Mon Mar 06, 2017 7:06 pm

You could always use this:
http://wohlsoft.ru/pgewiki/PlayerGfx.lua.
Just make the player big Mario, then replace his sprites with the custom ones using this API.
If you do it in a certain way, no existing powerups need to be replaced.

Also, Mario's shoes should be blue for a closer resemblance to the trophy you based it off of.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 6 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari