Views
Category:Snippets (简体中文)
这个列表是自动生成的,在此无法直接添加代码片段。如果你希望你的代码片段陈列在此,请参考 Guidelines。
这个页面已被缓存,意味着最新添加的代码片段在页面被 刷新 之前都不会显示出来。
全部代码片段
BoundingBox.lua | ||
Check | This function checks if it's arguments are of the right types and calls the error-function if one isn't. | |
Debug | ||
DistanceBasedCollision | Another way of detecting collisions. This type works perfectly with circles. | |
FractalNoise | Generates 2 or 3 dimensional fractal noise | |
General math | A collection of mathematical functions which are useful in game programming. | |
Gradients | ||
HSL color | An alternate colorspace, allowing for aesthetically-pleasing color transformations. | |
HSL color (Português) | ||
HSV color | ||
LineStippleSnippet | ||
Minimalist Sound Manager | ||
NoiseWrapper | A noise wrapper to LOVE's noise functions | |
PointInConcavePolygon | A function returning True if the given point is inside the given polygon. | |
PointWithinShape | ||
Polygon splitting | Split convex polygons! | |
Shear | Shear/skew graphics! | |
Skip list | ||
Skip list:Drawing Order | ||
SoundManager | A simple sound manager with support for playing both sound effects and music playlists. | |
String exploding | ||
String extensions | ||
TileMerging | Generate rectangles that cover tiles of a certain type on a tile map. | |
TiledMapLoader | ||
coroutine.resume | Fix for hidden coroutine error messages. | |
fadeColor | ||
findProjectileTrajectory | Finds a projectile's position at a certain time | |
findRotation | Takes two points and returns the direction from point A to point B. | |
psi2love | ||
uLove Compliance conf.lua |
其他语言
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info