direct/inverse proportionals

You must understand the Game Editor concepts, before post here.

direct/inverse proportionals

Postby j2graves » Sun Feb 08, 2009 1:57 am

could someone tell me the best way to make direct/inverse proportionals? I usually use =/=-, but it doesn't always work.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: direct/inverse proportionals

Postby j2graves » Thu Feb 12, 2009 7:45 pm

anyone wanna help? =P
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: direct/inverse proportionals

Postby Fuzzy » Fri Feb 13, 2009 12:03 am

Can you outline a circumstance or situation where you need one? What action are you attempting?
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: direct/inverse proportionals

Postby j2graves » Fri Feb 13, 2009 12:32 am

it's for a game I'm making based on a game called p0rtal, and you see, when an actor goes in one portal on the foor, I want it to come out one on the wall with the same speed, but different direction.
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score

Re: direct/inverse proportionals

Postby skydereign » Fri Feb 13, 2009 1:54 am

You can use the actors angle variable, manipulate it to the direction you want. Then set directional velocity. So when you hit the portal, change the angle, and move the actor, so it continues in at the same speed.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: direct/inverse proportionals

Postby j2graves » Sat Feb 14, 2009 11:45 pm

thank you! =D +1
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest