Search found 2 matches

by valba
Mon Nov 06, 2017 9:48 am
Forum: Support and Development
Topic: Simple tiled implementation & hump camera are compatibles?
Replies: 4
Views: 5429

Re: Simple tiled implementation & hump camera are compatibles?

Ok, I see the problem. I've changed the love.draw() contents and now is working. I leave the solution here in case it helps someone in the future: function love.draw() local tx = camera.x - love.graphics.getWidth() / 2 local ty = camera.y - love.graphics.getHeight() / 2 if tx < 0 then tx = 0 end if ...
by valba
Sun Nov 05, 2017 10:06 pm
Forum: Support and Development
Topic: Simple tiled implementation & hump camera are compatibles?
Replies: 4
Views: 5429

Simple tiled implementation & hump camera are compatibles?

Hi, I'm trying to use the STI and Hump camera libraries in the same project, and seems to be impossible to make them work together. I can load a tiled map and I can define a Hump camera with a level of zoom of 2, but the result is that only seems to affect the sprites "outside" the tiled m...