MEGA65 / mega65-rom-public

MEGA65 ROM public issue reporting
4 stars 0 forks source link

MOUSE ON should auto-MOUSE OFF another active mouse pointer #119

Closed dansanderson closed 7 months ago

dansanderson commented 7 months ago
MOUSE ON,1,0
MOUSE ON,1,1

causes two system sprites to appear on screen, with the mouse attached to the second sprite (sprite #1). It is unintuitive how to clear sprite 0:

MOUSE OFF
MOUSE ON,1,0
MOUSE OFF

(Not MOUSE OFF,1,0.)

I think the correct behavior should be for there to only be one mouse pointer on the screen. If MOUSE ON is called and another sprite is currently attached to the mouse, it should automatically MOUSE OFF the first pointer before turning on the second. I don't think anyone is relying on this obscure behavior to leave sprites on the screen. Anyone who wants the mouse to control multiple sprites should implement their own mouse control system. Feedback welcome.