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
Is this idea possible?
Apjjm Offline
Is easy to say

Posts: 496
Threads: 18
Joined: Apr 2011
Reputation: 52
#8
RE: Is this idea possible?

(06-15-2011, 02:37 PM)Russ Money Wrote:
(06-15-2011, 02:32 PM)MrBigzy Wrote: You'd have to have a function get a constant GetPlayerSpeed, and then make it so if it's true, have MovePlayerHeadPos move left to right and keep repeating.

Yeah, I could see that working. Just need to figure out the numbers for max speed vs. walking speed.

You'd have to do do
bool weave = (GetPlayerSpeed() - abs(GetPlayerYSpeed()) > runspeed);
Otherwise his head would do stuff if you jumped / went down stairs Tongue.
I think in this case runspeed would be about 4 ish. Just check the "player info" option in debug mode and run; one of the pieces of info it gives will be all the different movement speeds.
(This post was last modified: 06-15-2011, 02:50 PM by Apjjm.)
06-15-2011, 02:49 PM
Find


Messages In This Thread
Is this idea possible? - by Russ Money - 06-15-2011, 02:29 PM
RE: Is this idea possible? - by nemesis567 - 06-15-2011, 02:32 PM
RE: Is this idea possible? - by laser50 - 06-15-2011, 02:32 PM
RE: Is this idea possible? - by MrBigzy - 06-15-2011, 02:32 PM
RE: Is this idea possible? - by Russ Money - 06-15-2011, 02:37 PM
RE: Is this idea possible? - by Apjjm - 06-15-2011, 02:49 PM
RE: Is this idea possible? - by MrBigzy - 06-15-2011, 02:53 PM
RE: Is this idea possible? - by nemesis567 - 06-15-2011, 02:34 PM
RE: Is this idea possible? - by MrBigzy - 06-15-2011, 02:36 PM
RE: Is this idea possible? - by Acies - 06-15-2011, 03:14 PM
RE: Is this idea possible? - by palistov - 06-15-2011, 10:50 PM



Users browsing this thread: 1 Guest(s)