Game Development Community

Resource Dump - GuiAnimatedCrosshairHud, guiObjectSelectionHud

by Matt Huston · 07/06/2007 (10:59 am) · 5 comments

Last week I had some time to work on a couple of gui controls I had wanted to develop for one of my own personal projects.

The first was a new Object Selection control, though there are a couple around, including Gareth Fouche's Context sensitive crosshair/object interaction code which I coincidentally had ported over to TGEA last week as well (check the bottom comment on his resource), none of them were exactly what I had wanted: which is something more along the lines of Deus Ex or System Shock.

The second was a new crosshair that would be able to be animated based on the players movement. If the player moved, whether just his head or actual body movement, I wanted the crosshair to scale outwards. Also, I wanted the crosshair to scale inwards if the player was standing still or if he was moving, scale inwards only if he had a target.

The scale is currently not tied to the players cone of fire, though this should be relatively easy to add and is my next step for my own project.

www.matt3d.com/examples/object_selection_anim_crosshair.jpg
Also, here is a video of the two resources in action.

Finally, did I release these? Yes I did and you can get them at their respective pages: GuiObjectSelectionHud and GuiAnimatedCrosshairHud.

Note: This resources are TGEA only, sorry to those stuck back in TGE land :)

#1
07/06/2007 (11:15 am)
Nice!
#2
07/06/2007 (3:06 pm)
Nice work.. This will be v. useful :)
#3
07/06/2007 (5:36 pm)
Great resources, they have been approved and should be viewable in the resource list now :)
#4
07/07/2007 (7:31 am)
@Matthew
That was quick! Thanks! :)
#5
07/09/2007 (2:15 am)
Very nice Matt :)

Glad to see you're still around. ;)