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
Code: Select all
camera:setWindow(10,10,80,80)
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.
Ertt