|
BoundingBox.lua
|
This script is used for Bounding Box Collision Detection. |
|
Check
|
This function checks the given arguments and calls the error-function if something is wrong. |
|
Clamping
|
Clamps a value to a certain range. |
|
coroutine.resume
|
Provide reporting of errors that occur inside a coroutine. |
|
Debug
|
Enters an interactive mode with the user, running each string that the user enters. |
|
DistanceBasedCollision
|
Another way of detecting collisions
It checks if the distance of one object to the other is less than the sum of their radii(plural of radius. |
|
fadeColor
|
fadeColor is a helper function to make smooth color transitions suitable to fading effects. |
|
findProjectileTrajectory
|
Finds a projectile's position at a certain time. |
|
findRotation
|
Get the direction from point A to point B, given two sets of XY coordinates. |
|
FractalNoise
|
Generates a fractal noise using LOVE's noise functions. |
|
General math
|
This page lists mathematical functions which are useful in game programming. |
|
Gradients
|
Creates a gradient object from a table of colors to be evenly spaced throughout the gradient. |
|
HSL color
|
HSL color space to RGB conversion. |
|
HSV color
|
HSV color space to RGB conversion. |
|
LineStippleSnippet
|
Alternative to setLineStipple, based on Bresenham's Line Drawing Algorithm. |
|
Minimalist Sound Manager
|
A minimalist sound manager to make playing sounds easier without adding a whole library. |
|
NoiseWrapper
|
Generates either a normal noise (normalized from -1 to 1) or a fractal noise depending on how many arguments you give it. |
|
PointInConcavePolygon
|
A function returning True if the given point is inside the given polygon. |
|
PointWithinShape
|
A set of functions for testing if a point lies within an area. |
|
Polygon splitting
|
This script is used for splitting **convex** polygons. |
|
psi2love
|
C++ program which takes a HGE particle system file and outputs Lua source code. |
|
Shear
|
performs a graphics shear (AKA "skew") coordinate transformation. |
|
Skip list
|
Data structure with fast insert and delete operations, useful for implementing a time line, a Z-index, etc. |
|
Skip list:Drawing Order
|
Z-ordering using a skip list. |
|
SoundManager
|
This is the simple sound manager that's used in bartbes and Nevon's game Volley Brawl. |
|
String extensions
|
This code modifies the metatable of the string type to add some useful functionality. |
|
TiledMapLoader
|
loader for Tiled (mapeditor) map files. |
|
TileMerging
|
This algorithm is for 2D tile maps. |
|
uLove Compliance conf.lua
|
This conf.lua file can be used to test minimal compliance with the proposed uLove standard. |