Function/Command to erase sprites

Door mcavalcanti

Rookie (20)

afbeelding van 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.

Aangemeld of registreer om reacties te plaatsen

Van MsxKun

Paladin (954)

afbeelding van MsxKun

27-02-2013, 15:52

Put the first sprite Y coordinate to position 208.

Van hap

Paragon (2031)

afbeelding van hap

27-02-2013, 20:44

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

Van mcavalcanti

Rookie (20)

afbeelding van mcavalcanti

27-02-2013, 21:01

Thank you! Too easy. Smile

Van Jipe

Paragon (1426)

afbeelding van Jipe

27-02-2013, 22:35

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