Game Development Community

Platformer tutorial behavior problem 1.7.4

by Michael Kantack · in Torque Game Builder · 08/30/2008 (9:15 am) · 8 replies

The platformer behavior is non-functional in 1.7.4; I've scanned the code several times now, but cannot see any reason as to why it would not work. Anyone have any ideas?

#1
08/30/2008 (10:17 am)
To shed some light on the actual issue, i'm using the code as is, direct from the page...

the error seems to come from the updateVertical call; but i've been over it numerous times and am unable to find anything glaringly incorrect with it: this is rather infuriating; as I would write very similar code, and even when I write my own function I still encounter the error; but not in 1.7.3.

I would just finish writing the game in .3 but the trigger error is == as bad.
Between a rock and a hard place.

Any thoughts would be amazing.
#2
08/30/2008 (2:00 pm)
Well, I am using 1.7.4, but mine is working perfectly...

I am using a Mac though...
#3
08/30/2008 (2:03 pm)
I am using a mac as well. I wonder what the problem could be then. AGGRAVATION! haha, hmm.
#4
08/30/2008 (2:05 pm)
I've built it on mac and windows, with the same effect on fresh installs of both the behavior and Torque. Are you using the platformer behavior with no ill effect? If so, I cannot imagine what else I can do to make this work.
#5
08/30/2008 (2:51 pm)
What is it doing or not doing? Are you getting any console errors when you precompile/exec your scripts or while it is running? If so can you post them.
#6
08/30/2008 (4:48 pm)
No console errors; the airborne check is constantly run, attributing to a "bouncy"/"jittery" motion. As such it's near impossible to jump, i.e. functions 1/3 the time. Horizontal shut off to check for collision with a wall only barely functions as well... As if the detection is only working on half the bounding box. It makes no sense for the exact same code to work in 1.7.3 and not in 1.7.4 for only me. Esp. when I've literally downloaded it and run it in a brand new file.
#7
07/09/2009 (11:27 pm)
i am having the exact same problem in 1.7.4
#8
07/10/2009 (2:30 am)
http://www.garagegames.com/community/forums/viewthread/85777