Search found 17 matches
Re: New Icons
Really nice ! Congratz.
- Wed Feb 03, 2016 11:11 pm
- Forum: Libraries and Tools
- Topic: [Library] pixelmap & pixelatlas
- Replies: 4
- Views: 3219
Re: [Library] pixelmap & pixelatlas
I updated the library and changed the output format (arrays instead of tables). I've also added a small library that extracts quads from an image that contains separator pixels with a registered color.
- Wed Feb 03, 2016 10:23 pm
- Forum: General
- Topic: Best Libraries for Platformer?
- Replies: 9
- Views: 4654
Re: Best Libraries for Platformer?
All libraries from kikito are f*ckin' great : https://github.com/kikito/middleclass : OOP https://github.com/kikito/stateful.lua : managing states https://github.com/kikito/anim8 : sprites animations https://github.com/kikito/tween.lua : smooth transitions with predefined tweening functions https://...
- Mon Feb 01, 2016 11:17 am
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411296
Re: "Questions that don't deserve their own thread" thread
Hello, I wonder how its less performant to use pairs instead of ipairs . For example, for storing a tiled map, I often see something like : local map = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, {0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0 }, {0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0 }, } for y,row in ipairs(map) do for x,ti...
- Sat Jan 30, 2016 11:24 pm
- Forum: Support and Development
- Topic: "Questions that don't deserve their own thread" thread
- Replies: 905
- Views: 411296
Re: "Questions that don't deserve their own thread" thread
You want to print two consecutive texts on screen ? You can simply concatenate your string : love.graphics.printf("Score = " .. joueur.score, 50, 50, 400, "left") You also have more control with Text object ( https://love2d.org/wiki/Text ) which have methods for measuring the siz...
- Sat Jan 30, 2016 9:11 pm
- Forum: Libraries and Tools
- Topic: [Library] pixelmap & pixelatlas
- Replies: 4
- Views: 3219
Re: [Library] pixelmap
Ow yes, thanks for pointing me out this great tool ! For more ambitious projets it will be perfect. But I kinda like my library, for simplier solutions.
- Sat Jan 30, 2016 6:49 pm
- Forum: Libraries and Tools
- Topic: [Library] pixelmap & pixelatlas
- Replies: 4
- Views: 3219
[Library] pixelmap & pixelatlas
Hi, I'm new to LÖVE and Lua world, but I made a little library that could help with tilemap loading. For prototyping, I've already been frustrated of editing my map directly from from array of ids or chars : I find it difficult to imagine the final look of the map. https://github.com/aloisdeniel/lov...