Simple game idea...
Jared Falvo (6086) 35 posts |
I’m tinkering around with RISC OS 5.24 in RPCEmu. I’d like to make a simple BBC BASIC game. But I have no idea how to attach a sprite to the mouse pointer (I suppose you’d be changing the mouse pointer’s appearance?), so that when you move the mouse, the sprite moves exactly the same. I don’t want the sprite to follow an invisible mouse pointer (which means you could probably move the mouse pointer faster than the sprite could follow (that kind of lag happenes in YAB for Haiku (OS)). I want it “glued” right on top of the mouse pointer, so it moves everywhere, as fast as you move the mouse. This do-able? |
Chris Mahoney (1684) 2165 posts |
I think you want OS_SpriteOp 36. See page 1-817 of the Programmer’s Reference Manual. |