Where's the Boo Snake's trail graphic? (PAL Beta)

Share and discuss custom SMBX graphics.

Moderator: Userbase Moderators

Lithobraker
Fighter Fly
Fighter Fly
Posts: 31
Joined: Sat Mar 09, 2019 1:41 am

Where's the Boo Snake's trail graphic? (PAL Beta)

Postby Lithobraker » Sat Jul 27, 2019 1:00 pm

I can't seem to find it. I believe I've combed through every effect and NPC image, but not one of the images I've found actually changes the look of the Boo Snake's trail.
Ghostly images I've replaced:
effect-92
effect-218
effect-243
npc-38
npc-294e
npc-298
npc-298e
npc-469
npc-469e
npc-586

Oh, also, hello! I'm quite new here.

MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6422
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: Where's the Boo Snake's trail graphic? (PAL Beta)

Postby MECHDRAGON777 » Tue Jul 30, 2019 3:15 pm

npc-298 is the Boo Snake and npc-469 is the Boo Circle. if it has an `e` in the name, that means it is an editor only graphic. the actual culprit is how the npc itself is coded which should be fixed by the next version. (This is what I was told when I asked anyway about a month or two ago.)

Lithobraker
Fighter Fly
Fighter Fly
Posts: 31
Joined: Sat Mar 09, 2019 1:41 am

Re: Where's the Boo Snake's trail graphic? (PAL Beta)

Postby Lithobraker » Fri Aug 02, 2019 1:27 am

Yeah, seems like I can't reskin it. I HAVE replaced both the editor and ingame graphics- and the boo snake does have the correct sprite at the front, but it seems I can't change the trail.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Where's the Boo Snake's trail graphic? (PAL Beta)

Postby Emral » Fri Aug 02, 2019 5:17 am

On builds more recent than beta 3, the boo snake's trail is drawn like this:

Code: Select all

		for l,w in ipairs(data.tail) do
			Graphics.drawImageToSceneWP(
				Graphics.sprites.npc[settings.boosnake.id].img,
				w.x,
				w.y,
				0,
				math.floor((w.offset + (w.frame+1)*boo_frames + (math.floor((w.direction+1)*0.5))*(boo_frames*4))*booheight),
				boowidth,
				booheight,
				-55
			)
		end
The texture is Graphics.sprites.npc[settings.boosnake.id].img, which is npc-298.png.
The frame selected is calculated to be one of the 3 sets of frames below the first set for each direction.
A quick sprite replacement reveals this:
Image
Considering the npc-298e file didn't exist in Beta 3, you seem to already have a more recent build, so replacing the sprite should be no problem for you.

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

Re: Where's the Boo Snake's trail graphic? (PAL Beta)

Postby Hoeloe » Fri Aug 02, 2019 3:30 pm

Enjl wrote:
Fri Aug 02, 2019 5:17 am
Considering the npc-298e file didn't exist in Beta 3, you seem to already have a more recent build, so replacing the sprite should be no problem for you.
This isn't quite true. This NPC has a bug in the PAL release that makes them impossible to use sprite replacements with. This has been fixed on the repo, but sadly isn't in the PAL build.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Where's the Boo Snake's trail graphic? (PAL Beta)

Postby Emral » Fri Aug 02, 2019 3:42 pm

Ah, my bad.


Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 3 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari