"A FPS Game" Online Game

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: "A FPS Game" Online Game

Post by M_D_K »

<= is less than or equal...duh

x_delta, etc is just the difference. you kinda need to know it.

Also your update position code must be fucked if setting velocity to 0 doesn't work. I'll look at it later.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

Lol... yeah...
There's no place like ~/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: "A FPS Game" Online Game

Post by MarauderIIC »

"delta" is the greek letter for change. So "delta x" is change in x, "delta r" is change in radius, so on and so forth.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

Thanks :)
There's no place like ~/
User avatar
Aeolus
Chaos Rift Regular
Chaos Rift Regular
Posts: 179
Joined: Fri Jan 16, 2009 2:28 am

Re: "A FPS Game" Online Game

Post by Aeolus »

lol why'd you ask what <= was lol
Hyde from That 70's Show wrote:Woman are like muffins... Once you have a muffin you will do anything to have another muffin... And they know that.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

I didn't see an if statement or anything...
How do you return an operator?
There's no place like ~/
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: "A FPS Game" Online Game

Post by M_D_K »

Your not. r_delta<=(radiusA + radiusB) is the same as:

Code: Select all

bool ret = (bool)(r_delta<=(radiusA + radiusB));
return ret;
your returning a boolean.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: "A FPS Game" Online Game

Post by Ginto8 »

LeonBlade wrote:I didn't see an if statement or anything...
How do you return an operator?
:roll: All the comparison operators return a boolean value.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

Oh... I didn't know that LOL
Thanks guys

I'll be getting my computer soon :mrgreen:
There's no place like ~/
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: "A FPS Game" Online Game

Post by MarauderIIC »

Operators are essentially functions that are called in a certain way (so that they're easier to read and make sense). Overload an operator sometime.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

LOL @ My quote in your sig (I've seen it for a while)

I'm supposed to get my computer on Saturday :mrgreen:
There's no place like ~/
User avatar
Aeolus
Chaos Rift Regular
Chaos Rift Regular
Posts: 179
Joined: Fri Jan 16, 2009 2:28 am

Re: "A FPS Game" Online Game

Post by Aeolus »

Haha you made a Marauder quote. Thats bad.

Which computer are you typing from?
Hyde from That 70's Show wrote:Woman are like muffins... Once you have a muffin you will do anything to have another muffin... And they know that.
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: "A FPS Game" Online Game

Post by M_D_K »

Hes using his PS3
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

M_D_K wrote:Hes using his PS3
You remembered :mrgreen:
There's no place like ~/
User avatar
LeonBlade
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1314
Joined: Thu Jan 22, 2009 12:22 am
Current Project: Trying to make my first engine in C++ using OGL
Favorite Gaming Platforms: PS3
Programming Language of Choice: C++
Location: Blossvale, NY

Re: "A FPS Game" Online Game

Post by LeonBlade »

Alright... this is starting to get annoying...
The collision isn't working, and it seems that nobody has any tutorials on collision for 3D, only for 2D...

I tried what M_D_K said (after a lot of debuging lol) and it still doesn't work...
There's no place like ~/
Post Reply