Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Direction decides what script is called
nemesis567 Offline
Posting Freak

Posts: 874
Threads: 65
Joined: May 2011
Reputation: 10
#2
RE: Direction decides what script is called

Create two areas close to each other and check if the player's speed is enough to make sure the player is actually moving and not changing direction or something else. Create a script area in front of each direction of the entrance.

Now, to check the direction you check what combination of triggering the two areas in the doorway is done. Which one the player enters first and which one does he enter later. To avoid errors use the in front of each direction to make sure the player is turned into the direction pretended.

Today I dreamt the life I could live forever. You only know that when you feel it for you know not what you like until you've experienced it.
04-16-2012, 12:39 PM
Find


Messages In This Thread
RE: Direction decides what script is called - by nemesis567 - 04-16-2012, 12:39 PM



Users browsing this thread: 1 Guest(s)