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.

DarkBASIC Professional Discussion / scy object collision always=0 even with colission

Author
Message
Daniel wright 2311
User Banned
Posted: 5th Jun 2012 22:12 Edited at: 5th Jun 2012 22:17
scy object collision always=0 even with colission? any one ever have this? This is the problem I am having.

I get collition with the objects,but when I check for collision,it =0, so when I do this nothing happens.Object 2 is my player,but any how,it always =0 even with collition,im pissed right now.



my signature keeps being erased by a mod So this is my new signature.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 5th Jun 2012 22:56
There's all kinds of things missing.

1) What value does littleRadius# have?
2) You're doing the whole handling of old positions wrong.
3) How did you set up the objects?
4) Your indentation is not correct

TheComet

Daniel wright 2311
User Banned
Posted: 5th Jun 2012 23:16 Edited at: 5th Jun 2012 23:17
Here is how every thing is set up



This is how I am moving my player,keep in mind,its a side scroller so the object is hidden as I paist a animated sprite to the objects position.



I get collition with every thing,but it will not =1 when checked

Here I am making my player,i DID CHANGE MY RADIUS TO CREATE THE BALL BIGGER



THANKS FOR ANY HELP

my signature keeps being erased by a mod So this is my new signature.
Daniel wright 2311
User Banned
Posted: 6th Jun 2012 01:34
I figured this out by placing another box on top of the platform box not set up with any collition and I am getting a call for it now,now my platforms work.

my signature keeps being erased by a mod So this is my new signature.

Login to post a reply

Server time is: 2026-07-07 22:23:36
Your offset time is: 2026-07-07 22:23:36