A sprite that have position like GUI
by Michael S · in Torque Game Builder · 10/20/2006 (6:24 am) · 1 replies
Hi, i've got some trouble
i have a big background and a player
i also mounted my camera on my player
and i have a gui bitmap control on position 242,53
and i see check if i move my player my gui bitmap control position is still same
even though my camera moved to
my problem is
how to create a sprite that also have the same position like GUI
this is my description
a = represent my gui bitmap control
p = represent my player
------------------------------------------------------
| | |
| a | |
| p | ---> my camera view |
|_____________ | |
| |
| |
| |
| |
| |
| |
|_________________________________|
if my player move
------------------------------------------------------
| |
| |
| |
| |
| |
| |
| _________________|
| | |
| | a |
| | p |
|_______________|_________________|
the gui bitmap control have the exact location same as before
the question is how can i make those "a"(guibitmapcontrol) is become a sprite
so a that before represent guibitmap control now become represent t2dsprite
help me , i'm stumbled on this
i have a big background and a player
i also mounted my camera on my player
and i have a gui bitmap control on position 242,53
and i see check if i move my player my gui bitmap control position is still same
even though my camera moved to
my problem is
how to create a sprite that also have the same position like GUI
this is my description
a = represent my gui bitmap control
p = represent my player
------------------------------------------------------
| | |
| a | |
| p | ---> my camera view |
|_____________ | |
| |
| |
| |
| |
| |
| |
|_________________________________|
if my player move
------------------------------------------------------
| |
| |
| |
| |
| |
| |
| _________________|
| | |
| | a |
| | p |
|_______________|_________________|
the gui bitmap control have the exact location same as before
the question is how can i make those "a"(guibitmapcontrol) is become a sprite
so a that before represent guibitmap control now become represent t2dsprite
help me , i'm stumbled on this
Torque Owner Nir Ziso
Default Studio Name
The position of object in torque is the middle of the object like in 3d software
That acts like this because TGB came from TGE.the position of the gui in T2D
Is like most of the software's the left top of the object