The Neverhod 2 - moonwalking :(

Talk about making games.

The Neverhod 2 - moonwalking :(

Postby Camper1995 » Sun Jul 12, 2009 4:15 pm

New problem:

Hi all, I am developening my game The Neverhood 2 nad it looks very good now, but I have one very big problem and that is moonwalking.
Its not hart to remove moonwalking but when I have 3 defferent animation of Klayman (thats player) how he start walk, walk and stop walk, how to remove
moonwalking now? I was trying to remove moonwalking more than 2 days, but I cant... :(

here is file of The neverhood. If can anyone look at that and help me... :(
http://rapidshare.com/files/256435077/Levels.zip.html


Image 2.jpg

Image 1.jpg
Last edited by Camper1995 on Thu Jul 16, 2009 12:42 pm, edited 5 times 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: My boring questions :-D

Postby MrJolteon » Sun Jul 12, 2009 4:40 pm

Add two actors with the same animation, like "SwitchOn" and "SwitchOff". Place them Exactly in the same place and make one of them fully transparent,
add when you click the other, the window light(if it's an own actor) turns fully transparent or fully visible depending on which button actor you made transparent, the code will be like this:
Code: Select all
ChangeTransparency("Event Actor", 1.000000);
ChangeTransparency("buttonoff", 0.000000);
ChangeTransparency("WindowLight", 0.000000);
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: My boring questions :-D

Postby Camper1995 » Sun Jul 12, 2009 4:41 pm

Yees man, I had made that this way, with two actors. But I am asking how to do this only with one actor... ;)

Thx for helping me :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

Re: My boring questions :-D

Postby DST » Sun Jul 12, 2009 5:39 pm

use a variable.

Button>mousebuttondown>
Code: Select all
switch(variable){
case 0:
play beep;
variable=1;
break;
case 1:
play boom;
variable=0;
break;
}
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: My boring questions :-D

Postby Camper1995 » Sun Jul 12, 2009 6:08 pm

Here is download link for my new developening game: http://rapidshare.com/files/255025275/T ... 2.rar.html

;)
Last edited by Camper1995 on Sun Jul 12, 2009 6:13 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: My boring questions :-D

Postby Camper1995 » Sun Jul 12, 2009 6:13 pm

Heeey man :) This is awesome. It was not hard to make this.

Thank you man. 1+ for you :) :) :)
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: My boring questions :-D

Postby Camper1995 » Sun Jul 12, 2009 6:38 pm

Just one question. This is when I have 2 sound. But how to write when I have 3 or more sounds.

I just dont understand that variables. Why is in case 0 var=1 and in case 1 var=0

How to write when I have 3 cases or more?

Thank you,

CampeR
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: My boring questions :-D

Postby skydereign » Sun Jul 12, 2009 10:37 pm

Those would be the two stages of the button. If you want more, than make more cases. The var changing is changing the state of the button.
Code: Select all
switch(variable){
case 0:
 play beep;
 variable=1;
 break;
case 1:
 play boom;
 variable=2;
 break;
case 2:
 play blip;
 var=0;
 break;
}
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: My boring questions :-D

Postby jimmynewguy » Sun Jul 12, 2009 11:48 pm

a few notes
1) neverhood was controlled by the mouse
2) moonwalking happens if you move when while pushing light switch
3) in the room i moved all the way to the left hit the wall and was out of the view, but couldn't get back in :?:
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: My boring questions :-D

Postby Camper1995 » Mon Jul 13, 2009 10:17 am

Thank you Sky, and Jimmy, I know that oreginal Neverhood was controlled by the mouse, I am making The Neverhood 2, and it will be controlled by the keys ;)

that problem in room is finished, also ligting is good and I put some logical problems that you must beat in the game. :) You will see when I finish the game. It will be good game.

CAmPeR... :)
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: The Neverhod 2 - moonwalking :(

Postby Camper1995 » Thu Jul 16, 2009 12:42 pm

Help me please... :(
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: The Neverhod 2 - moonwalking :(

Postby skydereign » Thu Jul 16, 2009 1:26 pm

I can probably help if you can tell me more about your problem. As it stands, it looks like normal moonwalking to me. What were you talking about when you said three animations? Also, I just took a look, is there any reason you have so many key down events. They are all script, so why not make them all in the same script? What antimoonwalk code are you using as of now, it looks like there is little moonwalk code, or that the code helps little? I will look further into it, but your reply would help greatly. I would probably set up a state system as there seem to be many different animations.

Here is some info on moonwalking, if you care to read. I would probably use a combination of states and using busy, animation finish.
http://game-editor.com/wiki/index.php?title=Moonwalking
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: The Neverhod 2 - moonwalking :(

Postby Camper1995 » Thu Jul 16, 2009 5:50 pm

Thank you for helping me Skydereign. The problem is: when you are holding key right for example, so the player is start to go right, and when is animation
how hes walking right, when, when you press key LEFT, nothing happened. And same on reverse side. OR, when is he walking and when you press key LEFT, stop the
player and play animation how hes stopping... Do you understand me better now? Thanks :)

CAmPeR...
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: The Neverhod 2 - moonwalking :(

Postby skydereign » Thu Jul 16, 2009 10:18 pm

Well the Klayman is very lethargic in moving... Do you want the animations to finish before changing states, from walking to stopping to stop? One problem is that since the animations are so long, you would need to implement other events so they won't act. This shouldn't be hard, but I need to know if that is what you want. Also, how does the STEP animation play into this?
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: The Neverhod 2 - moonwalking :(

Postby Camper1995 » Thu Jul 16, 2009 10:30 pm

Well, I cant speak so good english so I dont understand you completly. I am using dictionary on internet to translate some words.

So yes, i wanna change animation from walking to stoping and then stop. If you know how to do this and to be "antimoonwalking" in the game,
I will be grateful to you man. :)
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

Next

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest