PARKOUR - GAME

Posted By: MAGA

PARKOUR - GAME - 12/25/08 21:08

Hi every one. Please can you give me a simple code, to make a Parkour game.
Posted By: Crypton

Re: PARKOUR - GAME - 12/25/08 21:15

I would like to ask: Is the sport Parkour simple?
I think the answer is NO.

There is nothing simple in that type of game that can be shown with just some few lines of code (simple code).

There are huge amount of aspects you need to cover to get a decent gameplay.

"But hey start up by doing animations for any possible move and climb that you could do in that game. Don't say I didn't provide some solution :P."

Just to be honest: Your gonna drop this idea immediately or soon enough. Judge me if I'm talkin bogus.
Posted By: MAGA

Re: PARKOUR - GAME - 12/25/08 21:20

Man I'm a Tracer, and I'm 5 years in Parkour. It's not realy hard as people think! And no thing is impossible, belive me! :-) And I still hope some one will help me with code!!!
Posted By: Anonymous

Re: PARKOUR - GAME - 12/26/08 00:00

we can't provide you the whole code. You have to code that youself. Look at the AUMs and look if you find something usefull and change it to your needs.
Also you should start with a small project not a parkour game.
But anyway, good luck
Posted By: Espér

Re: PARKOUR - GAME - 12/26/08 00:07

hmm..
i think there´s no way to do Parcour games yet..
Mirrors Edge is the first o know..
Posted By: Quad

Re: PARKOUR - GAME - 12/26/08 00:32

There is always a way to make games, you just need the idea.

same gameplay with Mirror's Edge can be achieved with GS but this needs a lot of dedicated hard work.
Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 07:43

Ok, I'll try to make code on my own. But I don't whant to create a game about Parkour, I just whant to create a little project, like one or two levels. I was asking for code like, if player could detect blocks (like an obstacles) an make an animation (or even simple jump over it) to pass them. Thats all I need.
Posted By: broozar

Re: PARKOUR - GAME - 12/26/08 12:11

Originally Posted By: MAGA
Man I'm a Tracer, and I'm 5 years in Parkour.
maybe. but you are not 5 years in game development, neither are you peter molyneux.
Posted By: HPW

Re: PARKOUR - GAME - 12/26/08 12:12

I have done something like this with two traces (c_trace) to detect the blocks. One of them in the center of the player model and one in the height of the shoulders.
If the trace on the center of the model is hit something (but you is null) then you have a level block before the player model and if the second trace is hit nothing then you could climb it up or jump over it.
To make this accurate you could use more then two traces. My project was 2D and two traces was enough for this.
Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 12:13

Dude can you please give me that code?
Posted By: croman

Re: PARKOUR - GAME - 12/26/08 12:14

MAGA - you have to start with something smaller. even if you create a code for that Parkour game you'll need a model with lots of animations and i suppose you dont know how to model and animate characters, right?

so start with smaller project, good luck
Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 12:18

No, I do! I've create a low-poly model without a skin, but with animation))) It can run, walk, jump, land,(and some Parkour elements - roll, monkey, revers, King-Kong)
Posted By: croman

Re: PARKOUR - GAME - 12/26/08 12:38

that's great. but still you'll need to learn programming very good before trying to create Parkour game. Otherwise you'll ask a lot questions here regarding your game development.

Isn't it better to learn programming well before you start creating such game smile


btw, can i see that model with those animtions? i'd like to see how it looks like. if you dont mind ofc
Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 13:31

Ok man, I'll upload them to the rapid.
Posted By: croman

Re: PARKOUR - GAME - 12/26/08 13:34

thnx
Posted By: HPW

Re: PARKOUR - GAME - 12/26/08 16:38

There is nothing special with the code.
The code looks like:
Code:
#define _movemode, skill6;
#define MY_MOVEMODE_STAY, 0;
#define MY_MOVEMODE_RUN, 1;
#define MY_MOVEMODE_PULLUP, 2;
VECTOR* my_vec_temp = {x=0; y=0; z=0;}
function my_player()
{
  var v_temp = 0;
  // do some initialisation here
  while(1)
  {
    if ((my._movemode != MY_MOVEMODE_PULLUP) && (key_cuu)) // key_cuu can be replaced with other inputs
    {
      // first trace at the center of your player..
      vec_set(my_vec_temp.x, my.x);
      my_vec_temp.x += 3;
      vec_rotate(my_vec_temp.x, my.pan);
      you = NULL;
      v_temp = c_trace(my.x, my_vec_temp.x, IGNORE_ME | IGNORE_PASSABLE);
      if ((v_temp <= 3) && (v_temp > 0) && (you == NULL))
      {
        // second trace on shoulder height...
        vec_set(my_vec_temp.x, my.x);
        my_vec_temp.x += 3;
        my_vec_temp.z += 5; // replace this value with the optimal shoulder height of your model
        vec_rotate(my_vec_temp.x, my.pan);
        you = NULL;
        v_temp = c_trace(my.x, my_vec_temp.x, IGNORE_ME | IGNORE_PASSABLE);
        if ((v_temp == 0) && (you == NULL))
        {
          my._movemode = MY_MOVEMODE_PULLUP;
        }
      }
    }

    my_player_move();
    my_player_animate();  // after animation is done set in this function the my._movemode back to MY_MOVEMODE_STAY
    my_camera_move();
    wait(1);
  }
}

Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 18:32

Ok here it is!

http://rapidshare.com/files/177006148/TRACER.MDL.html

This is low-poly model, I've animated my self in WED.
This is one of my first animated models, and the animation isn't smooth(((
Can any one advice me a program for making animations, and after exporting in to the WED??? WED doesn't seems to be a good program for animations(((
Posted By: croman

Re: PARKOUR - GAME - 12/26/08 19:14

you mean MED, right?

try with Blender, Maya(free ver.), Milkshape
or 3dsMax, Maya, Softimage XSI if you have such money
Posted By: MAGA

Re: PARKOUR - GAME - 12/26/08 19:37

Yeah, I mean MED. What can you say about my first model? I guess you don't like it... Is it possible to create a good animation with bones in MED. I already have Milk Shape but I don't know how to animate with it (I didn't try et).
Posted By: croman

Re: PARKOUR - GAME - 12/26/08 21:55

dont waste your time with med and bones. it's very ugly looking animation when using bones in med. bones in med could be used only for non-organic models/animations.

for your first model, it's good, so are the animations too.
Posted By: MAGA

Re: PARKOUR - GAME - 12/27/08 08:35

Thanks dude. I'll do my best, I'll try to animate in Milkshape.
Posted By: MAGA

Re: PARKOUR - GAME - 01/05/09 08:25

I'll try to create it with DiverseMovement code. It's realy awesome script.
Posted By: sdadsadssadsad

Re: PARKOUR - GAME - 05/12/09 17:45

sada
Posted By: sdadsadssadsad

Re: PARKOUR - GAME - 05/12/09 17:46

sdadsadssadsad
Posted By: sdadsadssadsad

Re: PARKOUR - GAME - 05/12/09 17:48

#define _movemode, skill6;
#define MY_MOVEMODE_STAY, 0;
#define MY_MOVEMODE_RUN, 1;
#define MY_MOVEMODE_PULLUP, 2;
VECTOR* my_vec_temp = {x=0; y=0; z=0;}
function my_player()
{
var v_temp = 0;
// do some initialisation here
while(1)
{
if ((my._movemode != MY_MOVEMODE_PULLUP) && (key_cuu)) // key_cuu can be replaced with other inputs
{
// first trace at the center of your player..
vec_set(my_vec_temp.x, my.x);
my_vec_temp.x += 3;
vec_rotate(my_vec_temp.x, my.pan);
you = NULL;
v_temp = c_trace(my.x, my_vec_temp.x, IGNORE_ME | IGNORE_PASSABLE);
if ((v_temp <= 3) && (v_temp > 0) && (you == NULL))
{
// second trace on shoulder height...
vec_set(my_vec_temp.x, my.x);
my_vec_temp.x += 3;
my_vec_temp.z += 5; // replace this value with the optimal shoulder height of your model
vec_rotate(my_vec_temp.x, my.pan);
you = NULL;
v_temp = c_trace(my.x, my_vec_temp.x, IGNORE_ME | IGNORE_PASSABLE);
if ((v_temp == 0) && (you == NULL))
{
my._movemode = MY_MOVEMODE_PULLUP;
}
}
}

my_player_move();
my_player_animate(); // after animation is done set in this function the my._movemode back to MY_MOVEMODE_STAY
my_camera_move();
wait(1);
}
}
© 2024 lite-C Forums