Loading Sprites

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Darlos
Posts: 133
Joined: Mon Apr 09, 2007 1:41 am
Location: Durham, NC
Contact:

Loading Sprites

Post by Darlos »

In searching, I found that this topic is covered in various manners... but nothing had the answer I'm looking for.

See, I'm trying to load a new gun sprite I made (its not that great, I just want to get this working). So, I loaded it into my pwad as a png file, and made sure to stick it between "SS_START" and "SS_END". I have its background set to cyan (0,255,255), but for some reason its background still shows up in-game, resulting in a big stupid box around the gun.

What am I doing wrong?
User avatar
Siggi
Posts: 3288
Joined: Sun Oct 03, 2004 8:57 am
Preferred Pronouns: They/Them
Location: South Africa

Post by Siggi »

.PNG + cyan background = you're doing it wrong. :P

When you use the .PNG format, you must use a real transparency for the background, only when you use the Doom Patch format do you set a cyan background. (BTW, the cyan background depends on the wad editor you're using, not all have it as cyan).
User avatar
Darlos
Posts: 133
Joined: Mon Apr 09, 2007 1:41 am
Location: Durham, NC
Contact:

Post by Darlos »

ah, well, I think I can manage that then...

Yep, it worked. Thanks!

PS:
Psycho Siggi wrote:.PNG + cyan background = you're doing it wrong.
I detect a hint of 4chan here...
User avatar
Cardboard Marty
Posts: 1151
Joined: Sat Oct 23, 2004 8:29 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Robot Mountain
Contact:

Post by Cardboard Marty »

I detect a hint of 4chan everywhere these days. It's kind of getting on my nerves :P
User avatar
Darlos
Posts: 133
Joined: Mon Apr 09, 2007 1:41 am
Location: Durham, NC
Contact:

Post by Darlos »

BAAAAAWWWWWWWW... err, sorry.
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Post by Matt »

I got in trouble in Off Topic for using "ITT" :( :P
Locked

Return to “Editing (Archive)”