Game Development Community

Source Code?! Good documentation?

by Bruno Nepomuceno · in Torque X 2D · 10/13/2008 (6:09 pm) · 2 replies

Hi Everyone,

Well... I am trying to make an RPG game and I can't find any good documentation, only some very simple tutorials. Does anybody know where I can find a source code of a 2d game developed using Torque X? Does it exist?

I want to implement a pathfinding algorithm and I can't find a way to access information about the map, I mean, it's points or any other data structure used to build it

Thank you very much!!!

Bruno Nepomuceno

#1
10/14/2008 (9:26 am)
I don't know if anyone has released a full game's source.
#2
10/14/2008 (2:49 pm)
Yeah, not many people release game source code openly. The only examples I can think of include the 5 tutorials from Dan Maruschack (including Rainy Day), the installed Demo samples (including TankBuster), and the 2 or 3 sample games in the book (including the Breakout example). Jonathan Steven's website sells the source to his Simian Escape game. But that's all I can think of.

There's nothing really built-into Torque X to give you 'information about the map'. But you can place invisible 'blank scene objects' into the map at various locations, set object types to them or other useful data, and then get their positions (and use Vector math to determine distances, angles, etc.).

John K.