i have a problem with the correct usage of kikito's gamera lib in combination with karai17's sti lib (which I both appreciate very much) to work with Tiled-exported lua-files.
When i draw the map without gamera everything is fine and the map is drawn on the hole window. But when i want to draw the map with gamera in a defined part of the window, for example
, i have some strange translating effets. The drawn tiles are outsite of the defined window. When the window is to small, then the tiles are outsite my visible area (i suppost).
Code: Select all
I suppose that the problem is something with the translating of the draw-elements. Maybe because gamera takes a translating and sti takes another translating and in the result the display is shifted to anywhere... something like this.
I have testet a full hour but i have no clue how to fix this.
Has anybody an Idea?
Thanks a lot.