a period • Labels – Used to organize code – Like a BASIC line number (for GOTO) – Not indented and followed by a colon • Opcodes – Program instructions – Indented
IF LDA num CMP #$05 BNE Done ; do something Done: void MyMethod() { //do something } ... MyMethod(); PROCEDURE MyMethod: ; do something RTS ... JSR MyMethod num = 42; ASSIGN LDA #$2A STA num int num; DECLARE VARIABLE .rsset $0000 num .rs 1
Each sprite tile is 8 x 8 pixels • Each sprite tile can only have 4 unique colors • Objects are usually composed of multiple sprite tiles • All sprites must fit on a single spritesheet
• Tiles are 8 x 8 pixels • Four colors for every 2 x 2 tiles • Background is static, but can be scrolled • Text is usually background tiles Source: Nerdy Nights at NintendoAge
– http://www.retrousb.com/ • NESDEV – http://nesdev.com/ • My post on creating an NES game – http://www.ludumdare.com/compo/2014/06/23/creating-my-first-nes-game/