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 / Help with collision

Author
Message
7h3k1d
15
Years of Service
User Offline
Joined: 25th Dec 2010
Location:
Posted: 4th Jan 2011 13:00
hey all, i'm still learning about DBPro and currently i'm struggling with collision. I got this code from this forum to help me.


However, when i tried to use my own map, the camera position at the first time is too high for some reason. When i tried to change the "position camera", it's still having the same result. Any help? I also include my map and everything in the attachment..

i'm a newbie...
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 4th Jan 2011 14:14
Haven't time to look properly but it could be the scale of the map is not as large as you think?

Try re-exporting your map at a larger scale.

7h3k1d
15
Years of Service
User Offline
Joined: 25th Dec 2010
Location:
Posted: 4th Jan 2011 15:19
hmm, actually, you just give me an idea.. i'm too concentrated on the camera, but because of what you've just said, i got an idea to re-position the map itself rather than re-position the camera... and it works.. thanks, baxslash..

i'm a newbie...
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 4th Jan 2011 15:22
Glad I could help

Login to post a reply

Server time is: 2026-07-17 20:39:34
Your offset time is: 2026-07-17 20:39:34