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 / Colission Detection with screen

Author
Message
Collision Detect with screen
18
Years of Service
User Offline
Joined: 18th Oct 2006
Location:
Posted: 18th Oct 2006 16:36
Hi I was wondering if anyone had a snippet that i could use to detect when a sprite was at a certain point on the screen

i tried this eg.

Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 18th Oct 2006 20:47
Use variables:



BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 19th Oct 2006 19:15
The commands you want are:

SPRITE X(spriteNum)
SPRITE Y(spriteNum)


These will return the X & Y positions of the specified sprite



Login to post a reply

Server time is: 2024-11-26 09:38:08
Your offset time is: 2024-11-26 09:38:08