Hello,
I just started using Lime and now I have some problems. Maybe someone can help me
- I’ve build a map with ParallaxEnabled (also set the parallaxBase). If I want to use the PhysicsEditor and add the physics shape to the map, the shape is set to the wrong position. Also it moves when dragging the map. Can this be prevented?
[lua]-- Add physics objects created in PhysicsEditor
local physicsData = (require “level1”).physicsData()
physics.addBody(map.world, “static”, physicsData:get(“level1”))
– See physics objects, for debugging purposes
physics.setDrawMode(“hybrid”)[/lua]
- If I remove the ParallaxEnabled property from Tiled, I can not set the position of the map anymore. I removed all parallax properties from Tiled. This is very strange. Don’t have any clue. I set it like that:
[lua]map:setPosition(0, 500)[/lua]
I can set the position if parallax is enabled
Maybe someone has an idea.
Thx. [import]uid: 56928 topic_id: 10971 reply_id: 310971[/import]