- 新建位图图像.png (16.6 KiB) Viewed 342 times
Ask for help:why do the NML keeps informing me that I had used pure white?
Moderator: Graphics Moderators
- ZeeChung子充
- Engineer
- Posts: 2
- Joined: 05 Mar 2020 08:48
- Location: XuZhou, China
Ask for help:why do the NML keeps informing me that I had used pure white?
Hello everyone! I've been learning NML recently, and something is borthering me: why do it consits that I had used pure white? I've used "almost white"(244,244,244) everywhere. I read the photo with winhex and searched for "FFFFFF" , but only found one, and I replaced it with"FEFEFE". Then the .png became availiable for photoshop, but can't be recongnized by the NML. I also tried to search for that pixel according to the coordinate, but found none. What has happened on the earth? Waiting for the solution.
Re: Ask for help:why do the NML keeps informing me that I had used pure white?
Apparently not. It doesn't really matter - the only reason not to use the pure white colour is that it does not (or did not with the 8bpp blitter) fade out correctly when displaying the end-of-game screen.I've used "almost white"(244,244,244) everywhere.
When you hex edited the png you modified the palette, which NML wil complain about and which will make no difference in the encoded grf anyway. If you want to eliminate the pure white pixels from the image, use your image editor.I read the photo with winhex and searched for "FFFFFF" , but only found one, and I replaced it with"FEFEFE". Then the .png became availiable for photoshop, but can't be recongnized by the NML.
Re: Ask for help:why do the NML keeps informing me that I had used pure white?
You are warned about using pure white because it's typically what's used for the background color of the sprite sheet, and it indicates that your sprite alignments in your code may not match with where your sprite actually is in the spritesheet. It shouldn't prevent you from compiling a NewGRF, but when you use it in the game if the alignment is off it will be noticeable.
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
- ZeeChung子充
- Engineer
- Posts: 2
- Joined: 05 Mar 2020 08:48
- Location: XuZhou, China
Re: Ask for help:why do the NML keeps informing me that I had used pure white?
All right, I see. Thank you so much!
Who is online
Users browsing this forum: No registered users and 83 guests