Posted By
|
Message
|
Jon C-B I create vaporware
Registered 23/04/2008
Points 237
|
28th March, 2009 at 03:23:32 -
So in my game, I've got this wall jump thing that sets the player's x pos - or + 1 for a few milliseconds. It works perfectly fine when I'm running it on one frame but doesn't work for jumping to the left on another frame. Is this just a MMF2 bug of what?
n/a
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
28th March, 2009 at 13:30:11 -
Most likely a coding error. Also, I'm not sure adding and subtracting by milliseconds is the best idea... a slowdown could make him jump farther or not as far as usual.
|
Jon C-B I create vaporware
Registered 23/04/2008
Points 237
|
28th March, 2009 at 14:03:18 -
Some more info if it helps is that two counters are handling the time thing and a flag goes on when the player jumps, and off after the few milliseconds. I checked if the flags are on or not while I was testing and the one for left jumping didn't turn on.
n/a
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
28th March, 2009 at 14:12:14 -
It may be turning off just as soon as it's on. It could be something as simple as the order of events, but we'd need to see it.
|
Jon C-B I create vaporware
Registered 23/04/2008
Points 237
|
29th March, 2009 at 04:48:25 -
Hmmm...thats strange, I just compied over all of the working frame's codes and now it works perfectly. Cool! Thanks for ur help anyway OMC.
n/a
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
29th March, 2009 at 05:00:23 -
Haha, you know that happens often. Maybe it's just good luck. O_o
|
|
|