My Personal Lib : lfspm.lua

Posted by
August 21st, 2012 4:58 am

I made this because there is some bits of code in my warm-up that could be reused for others projects .

Yes, it’s called lfspm . It stand for LevelFontSoundParticlesMusic . this lib for the love framework permit you to :

  • Load a tile based level with a collision system .
  • Load a bitmap font and print it.
  • Play sounds.
  • Have a particle system.
  • Play a music.

I basically copy-pasted code from my Warm-up in a single file.

Download : Here

Note that :

  • The level format is a bit complex . You have a img/tileset.png, a img/tilesetdata.png who is the size of img/tileset.png divided by tilesize, and define properties for the tiles, and some lvl/number.png which use r and g for x and y of the tileset…
  • You need SECS to use this lib.
  • You must have defined scale and tilesize .
  • You are totally allowed (and encouraged) to modify, improve, and distribute this code .

 

 

Tags: , , , , ,


One Response to “My Personal Lib : lfspm.lua”

  1. ghoulsblade says:

    Good luck and have fun!
    fyi: Löve2D ludumdare thread, already 40+ people using Löve2D this time =) https://love2d.org/forums/viewtopic.php?f=5&t=10645

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]