Game Development Community

1.1.1 Mac: Tile collision problems

by Vern Jensen · in Torque Game Builder · 09/09/2006 (2:38 pm) · 4 replies

I've tried the Mini Platformer tutorial on both Mac and Windows. On Windows it mostly works, but on the Mac, the guy falls about 1/4 through a tile before stopping. Likewise when jumping, his head can move through tiles quite a bit before he gets stopped. I've double-checked my settings (and in fact used the exact same source code on both Windows on Mac, so it's not a script error), and I'm pretty sure this is a bug in the Mac version of Torque.

I'm running 1.1.1. on both platforms.

#1
09/09/2006 (2:58 pm)
Oh, a couple more bugs I'm seeing in the Mac version that are not present in the Windows version:

1) Tiles are not highlighted green when collision is turned on for them in in the tile editor in the Mac version.

2) In the Mini Platform tutorial, if you give the guy a collision polygon, things go *haywire* with player/tile collisions. He bounces all over the place as he walks. Not so in the Windows version.
#2
09/09/2006 (4:10 pm)
Okay, this is truly strange. I recreated the whole project in TGB (using New Project), importing the exact same art, used the exact same script files, etc. And now it works, on the Mac, just as well as it did on the PC.

I still have both projects -- the buggy one and the working one -- in case someone wants to take a look at them. I can't get the buggy one working, nor do I see how it is different from the working one. So there's a possibility that there really is a bug in Torque, that only reveals itself if the project is created in a certain way.

Or it's also possible I goofed up somehow.
#3
09/11/2006 (11:39 am)
@Vern: Please email me a copy of both projects, working & not working, so I can try to find out what went wrong.

/Paul
#4
09/11/2006 (12:37 pm)
Sent. Thanks for looking into this... you guys are really awesome!