Game Development Community

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
07/12/2006 (4:30 pm)
Has been logged, thanks for reporting :)
#2
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