Game Development Community

Radar?

by Dave Marks · in Torque Game Builder · 03/28/2005 (10:08 am) · 3 replies

Has anybody attempted to create any sort of radar in T2D? I'm looking to make a radar scope with some sort of sweep line.

Thanks.
Dave

About the author

Recent Threads

  • Radar?

  • #1
    03/28/2005 (10:16 am)
    Thanks for moving this over here :)

    hmm was thinking on this... one way (definately not the only way) to do this would be to create another camera view and restrict it to a certain layer/group to render maybe... then have a radar image that is all the way accross... like this

    ------------------------------------
    -----------------
    ------------------------------------
    with only half of it as a radar with collision only on one end, then just have the radar line image rotate... as it rotates you could check for collision and anything that it collides with is visible during the collision
    #2
    03/28/2005 (1:42 pm)
    A cheesy way (that would incur some fill cost) would be to just make a new window into the existing scenegraph, and then position it on the screen so that it's in the corner or such and set your camera zoom accordingly. (So that you can see more of the game field.) It would be more like an overhead-extended-cam but it could do in a pinch. :)
    #3
    03/28/2005 (2:28 pm)
    Thanks Guys.