Skip to content

A Lua library that wraps LÖVE objects into classes.

License

Notifications You must be signed in to change notification settings

TheLinx/loveclass

Repository files navigation

LÖVE-class

A Lua library that wraps LÖVE objects into classes.

Dependencies

LÖVE-class depends on vrld’s HUMP library. You need to have Class and Timer in _G before you require these classes.

Documentation

There is no documentation at the moment.

Features

  • Color class for easy re-use of colours.
  • SoundEffect class with built-in source management.
  • Wraps most LÖVE objects:
    • Image
    • ParticleSystem
    • Framebuffer
    • Font
    • ImageFont
    • Quad
    • Music
  • String library extensions.

Using LÖVE-class in your LÖVE game

If your game folder is a git repository, using an up-to-date LÖVE-class is easy.
Just be in the root folder of your game’s source code, and issue the following command:

git submodule add git://github.com/TheLinx/loveclass.git [optional: where to put LÖVE-class]

If you just want to download the source code, use this command:

git clone git://github.com/TheLinx/loveclass.git

Then, just require loveclass.
Make sure to call loveclass.update in your love.update!

About

A Lua library that wraps LÖVE objects into classes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages