Function/Command to erase sprites

Por mcavalcanti

Rookie (20)

imagem de mcavalcanti

27-02-2013, 13:05

Hello. Just searched for this, but can't find. Is there a way to erase all visible sprites without change the Screen mode? I know &H0069 is used to clear the sprite area, but I would like only to turn invisible all the active sprites.

Best.

Entrar ou registrar-se para comentar

Por MsxKun

Paragon (1041)

imagem de MsxKun

27-02-2013, 15:52

Put the first sprite Y coordinate to position 208.

Por hap

Paragon (2039)

imagem de hap

27-02-2013, 20:44

yeah, which is basically the 1st byte in the sprite attribute table Smile

Por mcavalcanti

Rookie (20)

imagem de mcavalcanti

27-02-2013, 21:01

Thank you! Too easy. Smile

Por Jipe

Paragon (1528)

imagem de Jipe

27-02-2013, 22:35

for msx2 : change bit 1 ( SPD ) register 8 of vdp
0 = sprites masked , 1 = sprites ok