Page 3 of 3

Re: [NPC Pack] Weird Gizmos

Posted: Thu Jun 24, 2021 1:32 pm
by AndrewPixel
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.

Re: [NPC Pack] Weird Gizmos

Posted: Wed Aug 11, 2021 8:34 am
by Wiimeiser
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...

Re: [NPC Pack] Weird Gizmos

Posted: Thu Sep 08, 2022 9:35 am
by Alexx0612
Hi AndrewPixel, I asked MegaDood to make Snapjaw from DKC2, he told me that I can ask you about it.