base:simple_hardware_sprite_to_background_collision
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Last revision | |||
— | base:simple_hardware_sprite_to_background_collision [2015-04-17 04:33] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | === Simple Hardware Sprite to Background collision === | ||
+ | |||
+ | Using $D01E causes a simple hardware sprite/ | ||
+ | |||
+ | < | ||
+ | lda $d01f | ||
+ | lsr a ;Sprote 0 crash into background | ||
+ | bcs dead | ||
+ | rts | ||
+ | dead jmp kill_sprite | ||
+ | </ | ||
+ | |||
+ | However, if you want this to work on the next sprite, just add another ' | ||
+ | |||
+ | |||
+ | |||
base/simple_hardware_sprite_to_background_collision.txt · Last modified: 2022-04-12 10:16 by icepic