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
Making Player Walk (Please Help Me) The Labyrinth?
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#16
RE: Making Player Walk (Please Help Me) The Labyrinth?

(05-23-2011, 09:32 PM)Simpanra Wrote: ah awesome!!! So...what is the defualt head position and what would be say...one step forwards?

Default head position is 0,0,0. You can then just make a timer that updates once every frame (1/60 seconds) which increments this value. Might be worth creating some speed variables though and decoupling changing the speed from the first timer, otherwise you will end up with one monster switch/case statement in the timer. Instead create several timers (1 is your main loop timer, changing the head position based on speed) the others can then change the speed at set intervals.
(This post was last modified: 05-23-2011, 09:58 PM by Apjjm.)
05-23-2011, 09:56 PM
Find


Messages In This Thread
RE: Making Player Walk (Please Help Me) The Labyrinth? - by Apjjm - 05-23-2011, 09:56 PM



Users browsing this thread: 1 Guest(s)