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 / Sprite Collision Error

Author
Message
Collision Detect with screen
17
Years of Service
User Offline
Joined: 18th Oct 2006
Location:
Posted: 19th Oct 2006 02:31
I have a sprite that bounces round the screen but on when it gets round it goes off of the screen for some reason and i don't understand why

following code below

Zergei
19
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 19th Oct 2006 05:25
Because you are only checking for Y axis in balldirection=0. Still, there's a better way of achieving this...



I haven't tested the code yet, so work around that for now...

Further on my stuff at...
Collision Detect with screen
17
Years of Service
User Offline
Joined: 18th Oct 2006
Location:
Posted: 20th Oct 2006 23:24
how can i get text to appear on top of sprites?

Login to post a reply

Server time is: 2024-09-25 11:31:38
Your offset time is: 2024-09-25 11:31:38