Function/Command to erase sprites

By mcavalcanti

Rookie (20)

mcavalcanti's picture

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.

Login or register to post comments

By MsxKun

Paragon (1042)

MsxKun's picture

27-02-2013, 15:52

Put the first sprite Y coordinate to position 208.

By hap

Paragon (2039)

hap's picture

27-02-2013, 20:44

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

By mcavalcanti

Rookie (20)

mcavalcanti's picture

27-02-2013, 21:01

Thank you! Too easy. Smile

By Jipe

Paragon (1528)

Jipe's picture

27-02-2013, 22:35

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