Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / mouse collision

Author
Message
someone namedlink
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: Dream Planet
Posted: 4th Aug 2004 01:37
hello,

when your mouse pointer is on a sprite, how do you know that sprite number? so it can be used to display a larger version of it or do something with it???

DIV/DBP-coder
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 4th Aug 2004 03:20
Easiest way is to have a dummy sprite (1 by 1 transparent pixel) and move it around screen using MOUSEX() and MOUSEY(). Then you can simply use SPRITE COLLISION command


Boo!

Login to post a reply

Server time is: 2024-09-22 19:31:09
Your offset time is: 2024-09-22 19:31:09