Editor: align tile grid with camera. how to?
by Pedro Vicente · in Torque Game Builder · 12/04/2011 (9:27 pm) · 5 replies
I am using the TGB Editor to design a tile mapped layer.
I want to align the tile layer grid with the camera, so that half drawn tiles do not show up.
How to do this in the editor (or in script ) ?
Seen better in this image

I want to align the tile layer grid with the camera, so that half drawn tiles do not show up.
How to do this in the editor (or in script ) ?
Seen better in this image

#2
I am following this excellent tutorial
tdn.garagegames.com/wiki/TGB/MiniPlatformerTutorial
but never got the chance to use much the TGB editor, since I have been doing things only by script; kind of a neat tool.
Interesting exercise to follow the changes the editor does to script files: do the changes under revision control (e.g svn ); that way every bit of change is immediately marked in svn.
result of camera and tile map changes:
12/04/2011 (11:05 pm)
Thanks Conor, that did it.I am following this excellent tutorial
tdn.garagegames.com/wiki/TGB/MiniPlatformerTutorial
but never got the chance to use much the TGB editor, since I have been doing things only by script; kind of a neat tool.
Interesting exercise to follow the changes the editor does to script files: do the changes under revision control (e.g svn ); that way every bit of change is immediately marked in svn.
result of camera and tile map changes:
#3
would there be any interest in making the tile layer binary format ".lyr" to be a text format, like XML like ? The advantages:
1) easily edited
2) avoid (or minimize) portability issues between version changes
12/04/2011 (11:21 pm)
unrelated issue:would there be any interest in making the tile layer binary format ".lyr" to be a text format, like XML like ? The advantages:
1) easily edited
2) avoid (or minimize) portability issues between version changes
#4
12/06/2011 (4:47 am)
Pedro - agreed, and it would be good if the particle .eff files were a text format too.
#5
I added this feature request to a new thread
www.garagegames.com/community/forums/viewthread/129137
12/15/2011 (9:05 pm)
@Conor I added this feature request to a new thread
www.garagegames.com/community/forums/viewthread/129137
Conor O'Kane
cokane.com