Climbing-up-a-slope

Game Editor comments and discussion.

Climbing-up-a-slope

Postby ingsan » Thu Apr 01, 2004 9:14 pm

Hi :P

How can i get a good "Climbing-up-a-slope" movement ?
i have a little slope where my MainCharacter has to walk diagonally upwards on it.

Physical Response or a better way ?
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby Just4Fun » Fri Apr 02, 2004 6:08 am

I'm probably off base with this, but would using something like the collision free event work? Look at the GE Tutorial:"Collision Free". You might be able to figure something about climbing obstacles from it. :idea:
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Postby ingsan » Fri Apr 02, 2004 10:09 am

That's exactly what i'm going to do. Thanx for the tip :wink:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby ingsan » Sat Apr 03, 2004 11:41 am

Hello ! :mrgreen:

i've tried to work with CollisionFree but for now, don't know how to use it to make myActor climb up a slope. But i found another (silly) way to do it.

On Collision with the slope, actor takes var diagonalMove and on KeyDown Right :
    x=x+1;
    y=y-1;


So he can now.. Climb-up-the-slope ! :lol: Silly, hum ?
Anyway thanx for your help. The Collision Free tutorial will soon be helpful to me, i'm sure. Thanx again :)
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron