Search found 879 matches

by Karai17
Sun Sep 09, 2012 12:55 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader - Updated to 0.11.0!

I'm pretty sure this is because Object:updateDrawInfo() isn't being called. Objects keep an internal table that holds their drawing information. Anytime you resize or move the object you should call that function. Having said that, I recommend you don't use ATL objects at all as real objects. They'...
by Karai17
Sat Sep 08, 2012 9:33 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader - Updated to 0.11.0!

Why wouldn't it like scale? Scale is supposed to be there, no?
by Karai17
Sat Sep 08, 2012 5:17 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader - Updated to 0.11.0!

Hey, mate! Awesome update, I've updated my code and it all works great! I am having an issue, though, and I don't think it is due to the update. When I enable autoDrawRange(), my sprites seem to disappear after a step outside of small area. Think you could take a gander and point me in the right di...
by Karai17
Sat Sep 08, 2012 4:25 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader - Updated to 0.11.0!

Hey, mate! Awesome update, I've updated my code and it all works great! I am having an issue, though, and I don't think it is due to the update. When I enable autoDrawRange(), my sprites seem to disappear after a step outside of small area. Think you could take a gander and point me in the right dir...
by Karai17
Tue Sep 04, 2012 8:30 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader

Well isn't that brilliant, heh. Thanks again for your help, mate <3
by Karai17
Tue Sep 04, 2012 8:17 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader

Oh bollocks! Thank you so much for finding this for me!

On that note, can you explain to me why...

Code: Select all

player:moveTo(player.tileX * map.tileWidth, (player.tileY + 1) * map.tileHeight - player.height)
...is not...

Code: Select all

player:moveTo(player.tileX * map.tileWidth, player.tileY * map.tileHeight)
by Karai17
Tue Sep 04, 2012 5:57 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 255
Views: 64937

Re: Advanced Tiled Loader

Hey, I've been trying out ATL and I am loving it so far but I have hit a snag and I cannot understand the issue... I am getting the following error: Error: libs/AdvTiledLoader/Object.lua:144: attempt to index local 'self' (a number value) This error makes no sense to me as the library seems to be wo...
by Karai17
Mon Sep 03, 2012 1:29 pm
Forum: Support and Development
Topic: Gridlocked Player Tutorial - Accel/decel issues
Replies: 6
Views: 1546

Re: Gridlocked Player Tutorial - Accel/decel issues

Hello, welcome, not sure if there is a problem. I believe instead that you were expecting another type of movement that is was not intended to do with this tutorial. This guide was for simulate the grid movement where player moves from grid to grid coordinates and so move in a step of x/y pixels (t...
by Karai17
Mon Sep 03, 2012 4:33 am
Forum: Support and Development
Topic: Gridlocked Player Tutorial - Accel/decel issues
Replies: 6
Views: 1546

Gridlocked Player Tutorial - Accel/decel issues

I went through the following tutorial to get my feet wet with love2d and I am noticing a bit of an issue but don't really know how to remedy it. https://love2d.org/wiki/Tutorial:Gridlocked_Player The problem I am having is that when I move the player, let's say left 5 times really fast, it is sendin...