Game Development Community

Help help

by Michael S · in Torque Game Builder · 10/25/2006 (4:03 am) · 1 replies

Hi guys i have a problem

i analyze that if i have gui bitmap control
and if i move my camera view ,the gui bitmap control also follow at the exact position
so like this

a = my gui bitmap control
a is inside the camera view (small box)
======================
|...............a............|.................|
|.............................|.................|
|.............................|.................|
|_______________|................|
|................................................|
|................................................|
|________________________|
if i move my camera view
this that would be happen
======================
|................................................|
|................................................|
|_______________..................|
|...............a............|.................|
|.............................|.................|
|.............................|.................|
|_______________|................|

the problem is
i have a player that have my camera mounted on it and
i have a window status on top that contains info about life score
and i want my window status behave like the gui bitmap control above

so like this

aaaaaaaaaaa= my window status
p= my player
======================
|aaaaaaaaaaaaaa.|.................|
|.............................|.................|
|....................p........|.................|
|_______________|................|
|................................................|
|................................................|
|________________________|

and if i move my player then it like this
======================
|................................................|
|................................................|
|_______________..................|
|aaaaaaaaaaaaaa.|.................|
|.............................|.................|
|.................p...........|.................|
|_______________|................|

i create the windowstatus by using guibitmapcontrol
but the problem is if i use guibitmap control my player can override my windowstatus

aaaaaapaaaaaa =====> i don't want it

so i think the window status should be created as t2dsceneobject so i can detect collision and set it to clamp with my player ,so my player can't override my windowstatus
but the problem is i having a difficulty to set my windowstatus position if my camera move
is there anybody can help me to solve this?

#1
10/25/2006 (10:27 pm)
Oh never mind i've figured it out thanks all