5 registered members (AndrewAMD, ozgur, Ayumi, 2 invisible),
690
guests, and 10
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: PARKOUR - GAME
[Re: broozar]
#242883
12/26/08 12:14
12/26/08 12:14
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
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
Ubi bene, ibi Patria.
|
|
|
Re: PARKOUR - GAME
[Re: MAGA]
#242885
12/26/08 12:38
12/26/08 12:38
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
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 btw, can i see that model with those animtions? i'd like to see how it looks like. if you dont mind ofc
Ubi bene, ibi Patria.
|
|
|
Re: PARKOUR - GAME
[Re: croman]
#242930
12/26/08 16:38
12/26/08 16:38
|
Joined: Aug 2005
Posts: 343 Germany
HPW
Senior Member
|
Senior Member
Joined: Aug 2005
Posts: 343
Germany
|
There is nothing special with the code. The code looks like:
#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);
}
}
Last edited by HPW; 12/26/08 16:39.
Evil Blood (v. 0.52) RPG Commport.de (Social Network Community)
|
|
|
Re: PARKOUR - GAME
[Re: MAGA]
#242962
12/26/08 19:14
12/26/08 19:14
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
you mean MED, right?
try with Blender, Maya(free ver.), Milkshape or 3dsMax, Maya, Softimage XSI if you have such money
Ubi bene, ibi Patria.
|
|
|
Re: PARKOUR - GAME
[Re: MAGA]
#242981
12/26/08 21:55
12/26/08 21:55
|
Joined: Nov 2007
Posts: 1,032 Croatia
croman
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,032
Croatia
|
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.
Ubi bene, ibi Patria.
|
|
|
|