GuiT2DObjectCtrl: tilemaps graphics corrupted
by Patrick Shaw · in Torque Game Builder · 06/29/2006 (5:37 am) · 2 replies
Repro:
1.) Create an animated sprite $player1
2.) Create a tilemap $tilemap with 3 rows and 3 columns and a cell size of 8 units.
3.) Create a guiT2DObjectCtrl(myGuiObject) that fills the game screen (1024 768).
4.) run myGuiObject.setSceneObject($player1);
5.) run myGuiObject.setSceneObject($tilemap);
Result:
* The player sprite displays as a gui object
* The tile map appears garbled:
* Rows and columns are transposed.
* The tilemap is streached horizontally to fill the gui control
* The tilemap is NOT streached vertically to fill the gui control
1.) Create an animated sprite $player1
2.) Create a tilemap $tilemap with 3 rows and 3 columns and a cell size of 8 units.
3.) Create a guiT2DObjectCtrl(myGuiObject) that fills the game screen (1024 768).
4.) run myGuiObject.setSceneObject($player1);
5.) run myGuiObject.setSceneObject($tilemap);
Result:
* The player sprite displays as a gui object
* The tile map appears garbled:
* Rows and columns are transposed.
* The tilemap is streached horizontally to fill the gui control
* The tilemap is NOT streached vertically to fill the gui control
About the author
#2
This has been fixed and will be in the 1.1.1 release, thanks again for spotting it and reporting!
Cheers,
-Justin
07/13/2006 (7:52 pm)
Patrick,This has been fixed and will be in the 1.1.1 release, thanks again for spotting it and reporting!
Cheers,
-Justin
Torque 3D Owner Matthew Langley
Torque