Just a Basic Countdown Clock that requires no engine changes, and is triggered through a simple commandtoclient.
Author Nick Matthews Date 01/18/2006 (5:19 pm) Comment 20 comments
TGE 1.3 has a limit to the number of animations you can have per character. The limit stems from the fact that the Names of the animation sequences must all be sent from serve to client in one buffer of about 1500 characters. This resource recognizes some compression which can be done in the the most common cases.
Author Orion Elenzil Date 01/18/2006 (5:19 pm) Comment 7 comments
Have you ever wanted a simple script object xy rotation command? Here's my rotateShape routine which will rotate any shape in the xy-plane and schedule a completion script routine. This means that you can overlap the rotation with other movements. The function is optimal in the sense that it recursively reschedules itself so that only one execution thread (step) exists at a time. The rotation rate // and step size are programmable, with defaults of 100 deg/sec and one deg stepping size.
Author Tim Hutcheson Date 01/18/2006 (5:18 pm) Comment 2 comments
Code to make simple grenades that fire with the alternate click, bounce around and then explode in 3 seconds.
Author Dracola Date 01/18/2006 (5:18 pm) Comment 43 comments
Adds a new pair of event notifications to GuiControl : onMouseEnterBounds() and onMouseLeaveBounds(). These are very similar to onMouseEnter() and onMouseLeave() except that they only get called when the mouse enters/leaves the bounds of the control.
Author Orion Elenzil Date 01/18/2006 (5:17 pm) Comment 4 comments
Primitives for Torque 2D: Scene objects for quads, rectangles, triangles, rounded rectangles, progress bars, arcs, ellipses, etc. Multiple rendering modes for outlines, fills and vertex colouring for fake 2D lighting etc.
Author Matthew "Ashteth" Kee Date 01/18/2006 (5:14 pm) Comment 8 comments
To make the motion of thing smooth, i frequently do something like this: Xcur = Xcur * slur + Xtarget * (1.0 - slur) This is great but if you're running it once per frame, it's sensitive to framerate. The following is some math to determine a value for slur which results in framerate-independant motion.
Author Orion Elenzil Date 01/18/2006 (5:11 pm) Comment 2 comments
Here's a rather ugly solution to the case where you've got some GuiControl and want to find a child of it which has a particular class. for example in english, "does this GuiControl contain a GuiMessageVectorCtrl ?"
Author Orion Elenzil Date 01/18/2006 (5:11 pm) Comment 2 comments
This resource builds on Thomas Lund's http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471 resource. It adds the ability to cycle between all the modes of the advanced camera and first-person mode using the tab key, and also changes the Action Map bindings for each mode.
Author Philip Engdahl Date 01/18/2006 (5:10 pm) Comment 9 comments
Enhancements in TGE 1.4 rocks! GG's staff have been doing wonderful things to this engine and I want to contribute something that I couldn't find in the upgrade -- wheel shadows.
Author Kage Date 12/18/2005 (6:51 pm) Comment 9 comments



