Condition Icon Atlas??

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Condition Icon Atlas??

Post by Isaac »

minmay wrote:It will presumably only ever be drawn in 2d, so any width and height will work. But using numbers that aren't multiples of 32 wouldn't really make sense.
I did actually apply it to a plane to get the snapshot of it. The other atlases had padding trim on the sides... so it might be the same with the conditions atlas.
Image
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: Condition Icon Atlas??

Post by minmay »

It is 128x160. And wouldn't it have been easier to use drawImage for that?
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
akroma222
Posts: 1029
Joined: Thu Oct 04, 2012 10:08 am

Re: Condition Icon Atlas??

Post by akroma222 »

Hahah thanks to both of you,
time to get drawing :twisted:
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: Condition Icon Atlas??

Post by Isaac »

minmay wrote:It is 128x160. And wouldn't it have been easier to use drawImage for that?
It could have.
In this case I had been tinkering with material replacements, and when the thought came, I just popped in the path for conditions.
Post Reply