How to change tile size dynamically
by Pratik Murarka · in Torque Game Builder · 05/07/2008 (12:00 am) · 6 replies
I want to change the tile size independently to place variable style font.
or
By any means I can set the each tile position individually !!!!!!!!!!!!!!!
Can anybody guide me on this 2 hurdle of tile
Thanks in advance,
or
By any means I can set the each tile position individually !!!!!!!!!!!!!!!
Can anybody guide me on this 2 hurdle of tile
Thanks in advance,
#2
I knew this but, can I set tile position individually........ if changing the tile size is not possible in torque.
I have search a lot for this but I didn't got success
Can some body help me on this !!!!!!!!!!
05/07/2008 (2:54 am)
Thanks for reply Thomas,I knew this but, can I set tile position individually........ if changing the tile size is not possible in torque.
I have search a lot for this but I didn't got success
Can some body help me on this !!!!!!!!!!
#3
05/07/2008 (3:21 am)
The matrix-nature of the tilemap indicates that it is not intended to be used with individually sized and positioned tiles, could'nt you use ordinary t2dsceneobjects (sprites/animated sprites etc.), the can be sized and positioned just as you like. Using SimSet's/ SimGroup's makes the housekeeping easier ?
#4
Could you help how can I use SimGroup's for displaying sentences from script.
05/07/2008 (4:02 am)
I got that thomas,Could you help how can I use SimGroup's for displaying sentences from script.
#5
05/07/2008 (4:54 am)
I was thinking of SimSets/Groups for simple housekeeping like keeping track of which objects that are 'tiles' &c. I am not sure what you want to do, is it text you want to display ? ( then you should have a look at the GUI interface (F10 in TGB)). The text is bitmapped in a scenewindow, depending of how you like it rendered, a GUI text-object could render the text more nicely.
#6
So, I written a script using tile layer & Bitmap font image to display the text (In that I am using sim object for house keeping).
In this approach, I got a problem of fixed spacing between the characters in a word.
So, For now I am using t2dStaticSprite for displaying the text & Bitmap font image that actually solve may problem by allow me to set the position of this font static sprite.
Can you tell me this same thing can be done by GUI Interface.I have started looking in that direction also.
Thanks Thomas for your concern !!!!!!!!!!!!!!!!!!!!!!!!
05/07/2008 (10:15 pm)
Ya I want to display text. I tried using Text object (drop down Icon on tgb) but,it gives very blur text on my 1024 by 768 screen.So, I written a script using tile layer & Bitmap font image to display the text (In that I am using sim object for house keeping).
In this approach, I got a problem of fixed spacing between the characters in a word.
So, For now I am using t2dStaticSprite for displaying the text & Bitmap font image that actually solve may problem by allow me to set the position of this font static sprite.
Can you tell me this same thing can be done by GUI Interface.I have started looking in that direction also.
Thanks Thomas for your concern !!!!!!!!!!!!!!!!!!!!!!!!
Torque Owner Thomas Petersen
tdn.garagegames.com/wiki/Torque_2D/GenreTutorials/PlatformerTileMaps