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 / Off Screen Collision With Sprites

Author
Message
Cameron
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: In Your Closet...
Posted: 17th Aug 2005 16:53
Ok i have tryed all i can and i still cant get it
heres code

and it wont stop the sprite when it goes off screen it just keeps going why?


"Computers Are Not Smart. They Just Do What You Tell Them To."
Louiz ofRohr
19
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 17th Aug 2005 21:26
Quote: "it wont stop the sprite when it goes off screen it just keeps going why?"

Because the sprite is moving, of course..

Collision off the screen?
Normal collision, man



In this example the sprites are gonna collide out of the screen..
Don't make the things so complicated.. it is very easy.. I think
you didn't try

Off Screen Collision With Sprites (tm) = normal collision

The worst foe lies within the self..
Cameron
19
Years of Service
User Offline
Joined: 7th Aug 2005
Location: In Your Closet...
Posted: 18th Aug 2005 01:57
Oh lol sorry and yes i DID


"Computers Are Not Smart. They Just Do What You Tell Them To."

Login to post a reply

Server time is: 2024-09-24 01:26:58
Your offset time is: 2024-09-24 01:26:58