C64 Sprite background collision character detection

preview_player
Показать описание
Demonstration of C64 assembly program detecting the screen character behind a sprite.

Рекомендации по теме
Комментарии
Автор

Thank you thank you for this. It's exactly what I have been searching for, for months.

baardbi
Автор

Dear,
I have a question that I can't find an answer to: what can be an effective way to understand which character on the screen collided with a sprite in BASIC? In a manual I found this formula:
C = INT (1024 + PEEK (SPRITE POS X) / 8 + PEEK (SPRITE POS Y) / 8)
IFPEEK (V + 16) = SPRITE'SBITOVER255 THEN C = C + 32
but the number C which represents the position of the character is not good. Do you have any advice for me? Heartfelt thanks in advance!
See you!

MarcelloCavazza