Search found 83 matches

by luaz
Fri Sep 28, 2012 10:36 pm
Forum: Support and Development
Topic: Advanced Tile Loader- empty tiles
Replies: 3
Views: 1389

Advanced Tile Loader- empty tiles

Since indexing is impossible if the tile is empty (giving you an error), what to do with them? My plans include parallax scrolling, which says "no blocks for background." And even if that is somehow possible through the use of multiple layers in Tiled (but I'm not aware of a way to do it),...
by luaz
Fri Sep 28, 2012 10:29 pm
Forum: Support and Development
Topic: Hardon Collider along with the tile loader
Replies: 5
Views: 2364

Re: Hardon Collider along with the tile loader

Okay, that was utterly easy, I was thinking about it in an overly-complicated manner :crazy:
by luaz
Fri Sep 28, 2012 8:11 pm
Forum: Support and Development
Topic: Jumping physics
Replies: 8
Views: 6451

Re: Jumping physics

The math.max function ensure that the value never is negative. Try experimenting with the parameters maxJumpTime and playerJumpAcceleration. Note: playerJumpAcceleration should be smaller than gravity. If it is not, the player will jump like a starting rocket. Thanks, I will definitely try it out! ...
by luaz
Fri Sep 28, 2012 8:07 pm
Forum: Libraries and Tools
Topic: Jupiter - Save tables to files
Replies: 7
Views: 3711

Re: Jupiter - Save tables to files

:huh:
Anickyan wrote:I see that it easily looks like something else.
:o
by luaz
Fri Sep 28, 2012 8:04 pm
Forum: Libraries and Tools
Topic: Pixel art with GLSL cel shade lighting concept
Replies: 67
Views: 128832

Re: Pixel art with GLSL cel shade lighting concept

Pretty awesome for isometric projects!
by luaz
Fri Sep 28, 2012 7:59 pm
Forum: Support and Development
Topic: How to load a file from game directory
Replies: 29
Views: 10946

Re: How to load a file from game directory

Sounds complicated, and yet very cool. I'm excited. :emo:
by luaz
Fri Sep 28, 2012 7:57 pm
Forum: Support and Development
Topic: File structure
Replies: 12
Views: 4305

Re: File structure

Robin wrote:
luaz wrote:perhaps you could show an example, a solid, good-working example?
I hope this helps:
editedgame.love
Thanks, that helped to confirm and see how it works. :) +karma for you! ;)
by luaz
Fri Sep 28, 2012 7:53 pm
Forum: Support and Development
Topic: Hardon Collider along with the tile loader
Replies: 5
Views: 2364

Re: Hardon Collider along with the tile loader

SudoCode wrote:Set the tile properties in Tiled to something like "isSolid", then iterate through the tiles and populate a table with HC:addRectangle(tile.x, tile.y, tilesize, tilesize) for any tile.properties.isSolid.
Could you provide an example on how to populate a table?
by luaz
Fri Sep 28, 2012 5:45 pm
Forum: Support and Development
Topic: Hardon Collider along with the tile loader
Replies: 5
Views: 2364

Hardon Collider along with the tile loader

Prior to this, I used to write my own collision code, but now I want (partly need, as my code sucks) to use Hardon Collider, and I'm using Advanced Tile Loader. How do I determine which tile is collidable and which is not? Best would be an example file, preferably with any image, as that's what I'm ...
by luaz
Fri Sep 28, 2012 5:42 pm
Forum: Support and Development
Topic: How to load a file from game directory
Replies: 29
Views: 10946

Re: How to load a file from game directory

What about game saves? What if the guy wants to play on multiple computers? It isn't practical to copy the WHOLE GAME to be able to do that, a simple game save folder weighting <1mb is much more practical. Jesus, the pictures go inside the .love (or .exe - whatever); the saves go in the appdata fol...