LÖVE Helper Utilities for Massive Progression
Go to file
Matthias Richter 3ac246dd33 Fix(?) #95: hump.gamestate causes random crashes
Overwriting love.errorhandler() causes trouble. This callback must
return a game loop to display the error (see http://love2d.org/wiki/love.errorhandler).
Overwriting this callback in gamestate.registerEvents() would return
GS.errorhandler(), which would return nil and thus (maybe) causing LÖVE
to crash. On the other hand, @lemilonkh reports that LÖVE may still
crash if the love.errorhandler() is returned instead of
GS.errorhandler(), so the underlying issue might be different.

In any case, don't overwrite love.errorhandler, unless you know what you
do.
2018-06-11 18:37:51 +02:00
docs Fix #101: Typo in documentation 2018-05-27 11:56:23 +02:00
spec Write unit test for timer 2016-05-23 19:03:41 -04:00
.travis.yml Add Travis-CI testing with busted 2017-08-04 18:01:21 -07:00
camera.lua Add viewport support to camera (fixes #64) 2016-05-01 16:20:43 +02:00
class.lua Class() constuction 2016-09-07 21:52:08 +02:00
gamestate.lua Fix(?) #95: hump.gamestate causes random crashes 2018-06-11 18:37:51 +02:00
hump-0.4-2.rockspec Rockspec for luarocks main server 2018-04-08 15:03:33 +02:00
README.md Add Travis CI build indicator 2017-11-01 23:12:22 +01:00
signal.lua Allow registering functions to signal patterns 2017-02-05 16:43:59 -05:00
timer.lua shorten code, add comment 2018-04-08 13:40:57 +02:00
vector-light.lua Expose vector-light.idiv 2018-05-27 11:50:55 +02:00
vector.lua Add floor division to hump.vector and hump.vector-light 2018-05-23 11:15:16 -04:00

hump - Helper Utilities for Massive Progression

hump is a small collection of tools for developing games with LÖVE. Build Status

Contents:

  • gamestate.lua: Easy gamestate management.
  • timer.lua: Delayed and time-limited function calls and tweening.
  • vector.lua: 2D vector math.
  • vector-light.lua: Lightweight 2D vector math (for optimisation purposes - leads to potentially ugly code).
  • class.lua: Lightweight object orientation (class or prototype based).
  • signal.lua: Simple Signal/Slot (aka. Observer) implementation.
  • camera.lua: Move-, zoom- and rotatable camera with camera locking and movement smoothing.

Documentation

You can find the documentation here: hump.readthedocs.org

License

Copyright (c) 2010-2013 Matthias Richter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

Except as contained in this notice, the name(s) of the above copyright holders
shall not be used in advertising or otherwise to promote the sale, use or
other dealings in this Software without prior written authorization.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.