![]() |
#1 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
Adding new tile to tileset problem
I'm trying to put replace old rubble tile with new one.
Shtukensia draw this for a test: It's in transparent png format. But when I put it to tileset png (gervais) - it make a glitch in-game I've checked this guide: https://github.com/angband/angband/p...7a779fae3ac98e , but it doesn't tell much of such problem =================== p.s. posted it in wrong section of forum (should be in 'development').. But there is no button to delete a new topic. It seems users could only delete their posts at forum, not threads ![]()
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
![]() |
![]() |
![]() |
#2 |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Can you upload the whole tileset somewhere? It looks like the transparency isn't set up correctly.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Apr 2007
Posts: 955
![]() |
OTOH, looks like you have implemented water.
![]() scnr |
![]() |
![]() |
![]() |
#4 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
I've tested with PWMA tileset, but now tried with V also.. the same problem.
tileset where I replaced rubble https://drive.google.com/open?id=1Ip...fJb09cwGPGQ8oy (button to download in top right corner) my photoshop settings: https://drive.google.com/open?id=12v...5G4eCTNzEhZX3y I've tried interlaced and non-interlaced option. Also tried to save via 'save as...' - the same result
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; January 31, 2019 at 17:05. |
![]() |
![]() |
![]() |
#5 |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Have you tried saving it as PNG-8?
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#6 |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
PNG-8 doesn't help
![]() But it seems I've found the source of this issue: https://forums.adobe.com/thread/2254532 When photoshop load .png file, it's assigning it's Alpha channel as 'transparency'; so when you save it again 'transparent' alpha glitches.. There is some workaround with PNG-24, but it's generates certain white artifacts around some objects.. So it seems photoshop isn't suited for tiles editing at all (and it's very sad cause it's the most popular software for artists). Takkaria, which software do you use? === Also: 1) maybe if we would clean 'transparent' pixels from tileset (to remove artifacts), it would be alright to use PNG-24. What do you think? 2) maybe there should be technical specifications for PNG format which Angband tileset should use, including: - which PNG format to use (8, 24) - interlaced or no - which color system etc p.s. I've read in the guide that alpha could be used for unusual double height objects.. sounds interesting. is there an example of such object in-game?
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian Last edited by tangar; February 1, 2019 at 12:06. |
![]() |
![]() |
![]() |
#7 | ||
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
![]() Anyway, use GIMP ![]() Quote:
|
||
![]() |
![]() |
![]() |
#8 |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
I don't use any software for tiles... I've never even played with tiles. When I was maintaining the game I made much less effort with tiles than Nick does.
Have you tried using the process outlined here? https://support.photobiz.com/support...-cc-and-higher
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#9 | |
Knight
Join Date: Mar 2015
Posts: 755
![]() |
Quote:
Takkaria, thanks, but I as I noted above this is deeper problem: when you open .png in photoshop it doesn't show alpha channel for it, it's got only RGB channels; cause it define alpha as .png format transparency. So after you edit the file in photoshop and wanna save it - it 'writes' in .png channel 'transparency', not alpha.. So it makes transparent pixel as white ones (as in my 1st screenshots).. I've downloaded GIMP - when you open .png with this program - it shows separate alpha channel there, so it's working alright... But GIMP isn't really comfortable, so much photoshop functions doesn't work there ![]()
__________________
https://tangaria.com - persistent online multiplayer roguelike game tangar.info - my website ⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽⍽ My chars @ angband.oook.cz youtube.com/GameGlaz — streams in English ⍽ youtube.com/StreamGuild — streams in Russian |
|
![]() |
![]() |
![]() |
#10 | ||
Swordsman
Join Date: May 2016
Posts: 330
![]() |
Quote:
I guess Photoshop has something that it calls "alpha channel", which is not a real alpha channel (since most Photoshop users have no reason to care about formats of pixels) and you're talking about that. Anyway... Quote:
Although I find it hard to believe that Photoshop cannot save .png properly. |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding terrain to V | Therem Harth | Development | 14 | March 22, 2013 22:15 |
Adding 3 dimensions to a 2D roguelike | xibalba | Idle chatter | 12 | February 22, 2012 13:41 |
Tile painters: request for a new tile | takkaria | Development | 8 | June 17, 2011 13:01 |
Adding a new shop to Angband 3.1.1 | Kyle | Development | 9 | October 30, 2010 21:56 |
Adding Effects to Angband | PaulBlay | Development | 0 | March 28, 2009 13:08 |