256 Colour Tutorial Part 2(V2.62): Difference between revisions

m
Line 122: Line 122:
Again, save your script and test the game, got it already?
Again, save your script and test the game, got it already?


Above are just some small examples on how to modify individual palette slots using '''SetPalRGB()''', you may experience yourself, like change other slots, change some of the slots into other crazy colours, etc., you may even think of some colour animation, with colour changes decided by some mathematical formulae, everything is left to your imaginations. But bear in mind that whenever you use '''SetPalRGB()''', the r-, g-, b- channel values ''must'' be within the allowed range of 0 through 63.
Above are just some small examples on how to modify individual palette slots using '''SetPalRGB()''', you may experience yourself, like changing other slots, changing some of the slots into other crazy colours, etc., you may even think of some colour animation, with colour changes decided by some mathematical formulae, everything is left to your imaginations. But always bear in mind that whenever you use '''SetPalRGB()''', the r-, g-, b- channel values ''must'' be within the allowed range of 0 through 63.


==Conclusion==
==Conclusion==