Game Development Community

Reference guide?

by Draco Tempus · in Torque 2D Beginner · 04/07/2013 (10:57 pm) · 7 replies

So I am trying to learn a lot of this at once. Coming from a web design background so a lot of these are new to me. Is there a place I can learn what a lot of these do?

Such as VectorSub, setLinearVelocity, VectorScale.

I know of these places

http://docs.garagegames.com/tgb/official/
http://garagegames.github.io/Torque2D/classes.html

I couldn't find any of these commands at those places. Anywhere else?

I tried google....I usually end up finding someone using the commands in their code, but not explaining those commands themselves.

#1
04/08/2013 (4:47 am)
People should join the maxgaming #garagegames irc channel. It's so lonely :(...


setLinearVelocity(): http://garagegames.github.io/Torque2D/classSceneObject.html#a2485ad4a0f44c9b2a10512327231a93b

VectorSub(): http://garagegames.github.io/Torque2D/namespaceGlobal.html#af14067ee016b1b5abbdea98d807d5cc5

VectorScale(): http://garagegames.github.io/Torque2D/namespaceGlobal.html#a18985682177b39d537e89e85fb1361a1
#2
04/08/2013 (5:07 am)
Forget anything you read in old documentation. Only use what you see on the GitHub wiki and the new reference. Both are a work-in-progress, but they will have more content added over time.
#3
04/08/2013 (2:43 pm)
http://docs.garagegames.com/tgb/official/ has more than you might think. I know the section says "Class Reference" but it has a lot of other stuff in it - like the t2dVectorMath section, which covers the two vector functions you asked about (in the new code the "t2d" has been removed from everything but most of the names remain the same otherwise). The setLinearVelocity is in the description of t2dSceneObject in that same section.

The new docs that the others pointed out should take precedence where they overlap, but the old docs are still semi-relevant for most of the basics.
#4
04/08/2013 (4:59 pm)
thanks to both. I guess i just didn't know to look into each one of the sections. Thanks again.
#5
04/08/2013 (5:00 pm)
I just like saying the opposite of what Mich says - preparing him for the "terrible two's".... lol
#6
04/08/2013 (9:22 pm)
@practicing01
Thanks and Also I will be going to that channel.

@Ranft
Hehe. I take it he has a soon to be 2 year old. I have 2 kids too, one is 2.....it isn't easy.
#7
04/09/2013 (4:47 am)
To be fair, a lot of the old TGB docs were written by professional writer for a Torque book, copied to TDN, then ported to the official docs. We are actually grabbing a bit of information from TDN right now, as it was more recently updated than the official TGB docs. So to add more clarity to my last comment, focus on the wiki because anything useful from the old docs is being ported shortly.

Based on community feedback and requests, we will prioritize what is being worked on. However, you can also join the effort by help us convert docs to the Markdown format used by GitHub's wiki.

@Richard - He turned 1 last week, started walking, and can now reach all surfaces that I keep my laptop on. Nothing you can say can top a tiny hand darting up from under the table and smacking my keyboard =)