Hi
I have question as in Subject - how change pallette of one part (2x2 tile) in Nametable?
my example:
In selected part of nametable I have set palette at number 1 on background:
Later in game I want shot&destroy a block and remove him from game... I update tile but I must change palette to 2 (arrow on upper image) - set cave element:
And here is the problem - how can I make this? I don't have any idea... Anybody can help me? I use CC65 (C) and Shiru nes lib, but any help (asm too) would be greatly appreciated.
I have question as in Subject - how change pallette of one part (2x2 tile) in Nametable?
my example:
In selected part of nametable I have set palette at number 1 on background:
Later in game I want shot&destroy a block and remove him from game... I update tile but I must change palette to 2 (arrow on upper image) - set cave element:
And here is the problem - how can I make this? I don't have any idea... Anybody can help me? I use CC65 (C) and Shiru nes lib, but any help (asm too) would be greatly appreciated.