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 / Help with Sparky's Collisions & Movement Double speed Problem

Author
Message
Prophet Hill
15
Years of Service
User Offline
Joined: 5th Feb 2009
Location:
Posted: 19th Feb 2009 22:49
Hi all,

I'm very inexperienced with DBPro and I'm trying to make a basic FPS.

Problem#1 (Collisions):
Ok I'm trying to get basic collisions in my game, I have a level and a gun (I will use a sphere for my player later on) and I'm failing. This is ALL the code I have for collisions.. Do I need to put something in my main loop?

Here is my code:


Problem#2 (Movement):

OK I have basic movement down (Thanks to the code on this website). But I have a slight problem, when I strafe left and move forward at the same time it doubles my speed... I don't have any Idea how to stop this any idea's?

Here is my code:


Thanks for any help!

ProphetHill
Prophet Hill
15
Years of Service
User Offline
Joined: 5th Feb 2009
Location:
Posted: 25th Feb 2009 21:27
Can anyone help me?

ProphetHill
SAAB Driver
18
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 2nd Mar 2009 23:19 Edited at: 2nd Mar 2009 23:20
try input some more sync command.
You can also try something like this:



Hello!
Prophet Hill
15
Years of Service
User Offline
Joined: 5th Feb 2009
Location:
Posted: 3rd Mar 2009 04:33
Oh good call! Thanks man!

ProphetHill

Login to post a reply

Server time is: 2024-09-28 02:32:57
Your offset time is: 2024-09-28 02:32:57