racket_placement.asm - 89erik/NES-breakout GitHub Wiki

Tree: root /src/loop/racket_placement.asm

This file reads input from the controller and moves the racket accordingly. It begins by placing the racket on the screen according to its position and size variables by updating the OAM. It then updates the position variable according to controller input. This sequence is quite backwards but does not cause any problems whatsoever. Changing it is of low priority.