base:hybrid_hardware_software_sprite_collision_detection
Differences
This shows you the differences between two versions of the page.
base:hybrid_hardware_software_sprite_collision_detection [2018-01-27 21:27] – created flavioweb | base:hybrid_hardware_software_sprite_collision_detection [2018-01-28 15:08] (current) – flavioweb | ||
---|---|---|---|
Line 108: | Line 108: | ||
CHECK_NO_MINUS | CHECK_NO_MINUS | ||
CMP #$17 ; Check for enemy sprite distance X | CMP #$17 ; Check for enemy sprite distance X | ||
+ | LDA SPRITEMSB | ||
+ | EOR SPRITEMSB,X | ||
+ | SBC #$00 | ||
BCS CHECK_PLR_NO_COLL | BCS CHECK_PLR_NO_COLL | ||
RTS | RTS |
base/hybrid_hardware_software_sprite_collision_detection.txt · Last modified: 2018-01-28 15:08 by flavioweb