The Neverhood - Game developing

Talk about making games.

The Neverhood - Game developing

Postby Camper1995 » Wed Jul 08, 2009 12:17 pm

Hello all. I need really help.
I am trying to make new game called The Neverhood. (Its remake from the oreginal game, but its maked in GE. :) )

But, now, I have maked sprites how the player walk, start walk, stop walk and stay. Now, I need to do,
when the player is walking, every his step is x=x+3; or somethink like that. So, its not when I press KEY RIGHT ... x=x+3;

But only when he start to make another step...
this and when you realase key LEFT or RIGHT, not change animation of player stopping, but finish the animation like player walking and then play animation how he is stopping.

So this if you can make me, and if you press relase key left or right when is player stopping, nothings happend, no animations..

Thanks :)

Camper


I will give you ++ if you make me this. Please.. :(

Here are ged file and screenshot:
The Neverhood.zip

scrreen.jpg


Please.. :)
Last edited by Camper1995 on Wed Jul 08, 2009 9:52 pm, edited 1 time in total.
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Need help! Please, you can earn 2+

Postby jimmynewguy » Wed Jul 08, 2009 12:19 pm

That confused me, are you talking about anti-moonwalking?
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Need help! Please, you can earn 2+

Postby Rux » Wed Jul 08, 2009 2:28 pm

I think I may be of help, just wait a few minutes while I look at the GED file. :)
EDIT: Ok the first thing I noticed was there were no events to START the timer. :lol:
But I have an unfinished project where I used this method, so hang tight while I throw together the fixed GED.

EDIT2: OK I'm just gonna tell you what to do. First of all get rid of the timer. On draw actor type the movement code, then dont do immediate action. Instead choose Wait for frame action. Choose whatever animation you want (most likely walking) and find the frames you want him to move on. I chose 0;5;11; Remember, the frames start with 0 instead of 1, so if you want frame 7 enter 6;. Repeat for both directions. Good Luck.
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Re: Need help! Please, you can earn 2+

Postby Camper1995 » Wed Jul 08, 2009 3:31 pm

Thank you all. Rux, I was trying to do this and it was good, but it dont look like he walk, you know, I wanna do, when he make a step, move the player you know and
it will be looks like he is walking step by step...
:)

Jimmy: No, I am not talking about antimoon... I wanna make real walking, not just put the code, KeyDown->x=x+3;

If you know ho to do this, can you do that on that GED file or just tell me that? Please.

Thank you all. :mrgreen:
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Need help! Please, you can earn 2+

Postby Camper1995 » Wed Jul 08, 2009 3:35 pm

and just one question. I there any way ho to write in script editor: When I relase KEY -> finish the animation and then stop?


Or how to write: KeyUp -> Right -> Script Editor -> if(animindex??== what?){...}

So if the animation is: Player WALK right01 and if you relase key right finish the animation and then play the anim. like the player is stopping.
Thx
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Need help! Please, you can earn 2+

Postby Camper1995 » Wed Jul 08, 2009 5:28 pm

Huh, after 2hours working on this s**t I finaly make this. There is just only one problem. How to do
when the player is walking (variable stop=0;)
and when you are holding for example KEY RIGHT and player is walking and when you press KEY LEFT, turn Player on the another side and
hes still walk on another side.

:(

Here's GED:
TN Movement.zip
(1.43 MiB) Downloaded 116 times


Can someone fix this please? I will give to him +.

Thanks :]
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Need help! Please, you can earn 2+

Postby jimmynewguy » Wed Jul 08, 2009 6:09 pm

if you only want him to start walking if he is standing, then you were close with animindex

Code: Select all
if(animindex == getAnimIndex("stand right") ||
       animindex == getAnimIndex("stand left"))


Is how you use animindex "||" means or just to make sure you know if that isn't what you want them i'm out. I'm probably just confusing you more :lol:
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Need help! Please, you can earn 2+

Postby Camper1995 » Wed Jul 08, 2009 6:27 pm

Thanks Jimmy, but can you make this in that game I have posted now?
Pleeease :D

:)
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest