-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This puts a ©️ character on the screen at 40,40. Something isn't quite right, as the background color is wrong. Then fixed with: if (UsedMethods is not null && UsedMethods.Contains(nameof(oam_spr))) { ByteArrayOffset += 44; } This fixes the new sample! LOL!
- Loading branch information
1 parent
42a71c7
commit ab52c03
Showing
10 changed files
with
606 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
byte[] PALETTE = new byte[32] { | ||
0x01, // screen color | ||
|
||
0x11,0x30,0x27,0x0, // background palette 0 | ||
0x1c,0x20,0x2c,0x0, // background palette 1 | ||
0x00,0x10,0x20,0x0, // background palette 2 | ||
0x06,0x16,0x26,0x0, // background palette 3 | ||
|
||
0x16,0x35,0x24,0x0, // sprite palette 0 | ||
0x00,0x37,0x25,0x0, // sprite palette 1 | ||
0x0d,0x2d,0x3a,0x0, // sprite palette 2 | ||
0x0d,0x27,0x2a // sprite palette 3 | ||
}; | ||
|
||
pal_all(PALETTE); | ||
oam_spr(40, 40, 0x10, 3, 0); | ||
ppu_on_all(); | ||
|
||
while (true) ; |
Oops, something went wrong.