Sliding down a slope

Non-platform specific questions.

Sliding down a slope

Postby Freddy » Sat Jan 12, 2008 4:48 pm

Does anyone know how to make an object slide down a sloped line smoothly? I will give 1 point to the first person with a good answer. :)
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Sliding down a slope

Postby Kalladdolf » Sat Jan 12, 2008 5:45 pm

try that turtorial:
slope.zip
(4.47 KiB) Downloaded 119 times

:D
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Sliding down a slope

Postby Freddy » Sat Jan 12, 2008 9:23 pm

Thanks! I never thought it would be so easy! :D
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Sliding down a slope

Postby Kalladdolf » Sun Jan 13, 2008 12:36 pm

n.p. :D

actually, found out about it when I was making a slide-thingy game and just played around with the values of physical response. I was amazed when I set the third number to two and my actor would just rush off the scene when I accelerated =D
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Sliding down a slope

Postby Bee-Ant » Sun Jan 13, 2008 1:14 pm

Or try this :
Player>Collision>Platform>
Code: Select all
if(slide==1)
{
    //Physical Response 1 1 1 1
}
if(slide==0)
{
    //Physical Response 1 1 0 0
}
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Sliding down a slope

Postby Freddy » Sun Jan 13, 2008 9:05 pm

I dont recall that sliding down a slope worked in the last version of GE.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Sliding down a slope

Postby Kalladdolf » Mon Jan 14, 2008 8:30 am

It did!
without it I would've been lost!!!
=D
It worked several versions before.
Quite handy for racing games.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron