Can somebody tell me why this is this happening?
blocky
It happens with a few other monsters too.
Blocky sprite thing...
Moderator: Graf Zahl
- Induna
- Posts: 34
- Joined: Sun Jul 23, 2006 17:39
- Location: England
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
If the sprites are OK, you could be playing with a version still affected by this bug.
http://forum.zdoom.org/viewtopic.php?f= ... &sk=t&sd=a
http://doom.wikia.com/wiki/Picture_format
http://forum.zdoom.org/viewtopic.php?f= ... &sk=t&sd=a
Graphics in a Doom WAD are not in BMP format. They are their own format. Editing tools usually convert them to BMPs when exporting them for easy editing. They don't have to use BMP format for that though. Older Doom tools, from a time when BMP was a less common format, used other graphic types, eg gif. However, that doesn't change the fact that the graphics in the WAD were Doom format and not GIF, BMP or any other better known format.Induna wrote:...rather than the usual bmp.
http://doom.wikia.com/wiki/Picture_format
- Induna
- Posts: 34
- Joined: Sun Jul 23, 2006 17:39
- Location: England
OK thanks. I've just upgraded to the lastest version of gzdoom as I was using 1.0.29. I played the level again and the problem seems to have gone.
To Enjay: Yeah, I just assumed they were BMP as that's how they show up in the wad editor. My mistake.
To Graf: Just one other question. You mentioned it's the PNG that sets the transparency colour in sprites. How does it do that, or rather, how do people make new sprites/monsters so that you don't get that blocky effect? I had a go at changing a sprites colour, just for curiosity sake and that block effect came up. Is there a thread or tutorial on how to do this properly?
To Enjay: Yeah, I just assumed they were BMP as that's how they show up in the wad editor. My mistake.
To Graf: Just one other question. You mentioned it's the PNG that sets the transparency colour in sprites. How does it do that, or rather, how do people make new sprites/monsters so that you don't get that blocky effect? I had a go at changing a sprites colour, just for curiosity sake and that block effect came up. Is there a thread or tutorial on how to do this properly?
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
PNGs can have transparency set in them. This is done by the graphics editing tool you use. eg, I use Paint Shop Pro and when you save a PNG with it, you can click a "Run Optimizer" button an in there you set the colour that will be used to mark transparent areas of the graphic. Any decent graphics editor should have something similar. You will still have to use a tool to set offsets for sprites. XWE and Slumped can do it in a GUI and there is Randy's setpng command line tool.