Log In  

So I was planning on giving abilities to my player character in the form of auras. My question is: Is it possible to code in the aura color changing (i.e. from blue, red, purple, etc
) with a core sprite, or does each one have to be drawn out individually?

P#23585 2016-06-24 23:54 ( Edited 2016-06-25 05:44)

use the pal function. in the game im working on now all sprites are just black and white and gray, then i use pal to change the gray into a colour

pal(5,12) --change colour of everything gray
spr(1,x,y)
pal(5,5) --reset

P#23592 2016-06-25 01:20 ( Edited 2016-06-25 05:20)

Aww, awesome! I was honestly a bit scared it wasn't possible. Tyvm ♡

P#23593 2016-06-25 01:44 ( Edited 2016-06-25 05:44)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2023-01-28 07:32:16 | 0.004s | Q:12