[NPC Pack] Weird Gizmos

Share and discuss custom LunaLua code and content packs for SMBX2.
Akromaly
Bronze Yoshi Egg
Bronze Yoshi Egg
Posts: 425
Joined: Sun Mar 12, 2017 8:07 am
Flair: anemoia
Contact:

Re: [NPC Pack] Weird Gizmos

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

SpoonyBardOL wrote:
Sun Jun 13, 2021 10:04 am
Heave-ho has a rather annoying problem, it's set to die if it collides with the player while invincible, but it doesn't differentiate between Starman invincible and i-frames invincible (can that be done? I'm not super familiar with the starman code), so if you get hit by something else and then run into a Heave-ho moments later it'll die instead of flinging you.
24/6/21
- Heave-Ho now doesn't die when touching it with invincibility frames.

Wiimeiser
Snifit
Snifit
Posts: 215
Joined: Mon Jun 24, 2019 4:36 am
Flair: What?

Re: [NPC Pack] Weird Gizmos

Postby Wiimeiser » Wed Aug 11, 2021 8:34 am

The rocket is appearing as a white square for me. Maybe it's just me, because the lua involved should work, but it isn't.

Code: Select all

local sprite = Graphics.loadImage("npc-762.png")
local rocket = particles.Emitter(0, 0, Misc.resolveFile("p_rocket.ini"))
local rocketExplosion = Explosion.register(64, 69, Audio.sounds[43].sfx, true, true)

Code: Select all

function rocket.onDrawNPC(v)
	if v.data.activated then
		npcutils.hideNPC(v)
		rocket:draw(-80)
		v.data.object:draw{
			priority = -45,
			sceneCoords = true
		}
		player:mem(0x142, FIELD_BOOL, true)
	end
end
Not sure what's at fault...

Alexx0612
Swooper
Swooper
Posts: 50
Joined: Wed Apr 13, 2022 5:18 am
Pronouns: he/him

Re: [NPC Pack] Weird Gizmos

Postby Alexx0612 » Thu Sep 08, 2022 9:35 am

Hi AndrewPixel, I asked MegaDood to make Snapjaw from DKC2, he told me that I can ask you about it.

lugiaTheAntarticLord
Bob-Omb
Bob-Omb
Posts: 21
Joined: Wed Jun 10, 2020 3:24 pm

Re: [NPC Pack] Weird Gizmos

Postby lugiaTheAntarticLord » Fri May 24, 2024 8:56 pm

Cannon shoe doesn't even work.
Gives me an invalid type for image error


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari