Game Development Community

Duncan Gray's Resources

Multi-processor parallel programming in TGE

This resource provides a class for implementing parallel processing of computational loops, also known as data parallelism. Engine performance will typically double, with a dual core, in those code areas in which this resource is applied.

Author Duncan Gray Date 05/15/2007 (11:58 am) Comment 23 comments

Auto Bounds

This code will automatically calculate the bounds box of the player class based on the size of the player's skin-mesh. It's done once per tick and is useful for those people who have implemented the custom shape mod or any of the "Player position" resources that let you crouch or go prone etc.

Author Duncan Gray Date 05/15/2007 (8:54 am) Comment 10 comments

Changing Interior(dif) textures on the fly - TGE

This small mod allows you to change textures on dif objects from script. Usefull for simulating damage from weapons or changing a rooms decor when a wizard casts a spell etc.

Author Duncan Gray Date 09/01/2006 (3:03 pm) Comment 21 comments

Shadows class derived from Sceneobject

By deriving the Shadow class from sceneobject you get a shadow which does not vanish when the shadow casting object is offscreen. Includes many other improvements as well.

Author Duncan Gray Date 01/29/2006 (3:35 pm) Comment 112 comments

Custom Shape Mod

This idea is to let the user scale his character body proportions which then get saved in prefs. When he joins a game, his details get sent to the server which then ghosts the character settings to all the clients, thus giving each player a unique appearance in the game.

Author Duncan Gray Date 04/03/2005 (9:43 am) Comment 83 comments