Search found 190 matches
- Thu Mar 28, 2013 5:19 am
- Forum: Games and Creations
- Topic: PacPac
- Replies: 6
- Views: 4918
Re: PacPac
This is very nice. I don't have any suggestions, but looks great and feels just like the original pacman.
- Wed Mar 27, 2013 8:25 pm
- Forum: Support and Development
- Topic: Performance and screenSpace culling
- Replies: 16
- Views: 7125
Re: Performance and screenSpace culling
You may be interested in a spatial hash to prevent off screen drawing. You would index the range of cells in a spatial hash with your viewing window, and only draw what's in the cells. It's way more efficient than testing AABB's for every object. As for depth management, I think brute force table so...
- Sun Mar 24, 2013 6:04 am
- Forum: Libraries and Tools
- Topic: [LOVEly Tiles] Tile Map Loader/Renderer (Updated 2013/6/18)
- Replies: 14
- Views: 15838
Re: [LOVEly Tiles] Generic Tile Map Loader/Renderer
Fixed. Sorry!
- Sat Mar 23, 2013 8:14 am
- Forum: Libraries and Tools
- Topic: [LOVEly Tiles] Tile Map Loader/Renderer (Updated 2013/6/18)
- Replies: 14
- Views: 15838
[LOVEly Tiles] Tile Map Loader/Renderer (Updated 2013/6/18)
Repository: https://github.com/markandgo/LOVEly-tiles Wiki: https://github.com/markandgo/LOVEly-tiles/wiki This suite of libraries is meant to be as generic as possible so you can extend it for your own purposes. It's easy to create tile maps! Features: * Renders tile maps efficiently using sprite b...
- Sun Mar 17, 2013 4:24 pm
- Forum: Support and Development
- Topic: Help me understand how to use easing.lua
- Replies: 3
- Views: 1757
Re: Help me understand how to use easing.lua
You can visit: Understanding Easing or his website: http://www.robertpenner.com/easing/ An example: You want a value to transist from 10 to 30 in one second. You're currently at time = 0.5 second. Your values would be: t = 0.5 second d = 1 second b = 10 c = 30-10 Take a look at this visualization fo...
- Sun Mar 17, 2013 6:23 am
- Forum: Libraries and Tools
- Topic: Polygon split/cut/slice
- Replies: 2
- Views: 1653
Polygon split/cut/slice
There is an old demo for polygon splitting. The code is messy so I made my own and turned it into a small module. Very simple to use. Just plug in your cut line endpoints and the vertices of your polygon. CONVEX ONLY Usage: table_of_polygons = polygoncut(cut_vertices,polygon_vertices) polygons = pol...
- Fri Mar 15, 2013 6:40 am
- Forum: General
- Topic: blogs.love2d.org - The Official LÖVE Blogs!
- Replies: 94
- Views: 578084
Re: blogs.love2d.org - The Official LÖVE Blogs!
There are many things one can talk about. Here are some suggestions (Though a lot of them have been written on other websites): - Spatial hash/Broad phase detection - Box/Platformer/Polygon/Tile collision - Camera/Transforming things - Managing assets and weak tables - Networking - Threading - Corou...
- Tue Mar 12, 2013 9:30 pm
- Forum: Support and Development
- Topic: Very wacky collision! (Fixed)
- Replies: 3
- Views: 2174
Re: Very wacky collision! (PROBLEM)
Hi. You can attach your file directly to the forum. Depositfiles isn't a good choice for download (Popups and wait time).
- Mon Mar 11, 2013 12:17 pm
- Forum: Libraries and Tools
- Topic: Multiple love.run game states (The power of coroutines!)
- Replies: 0
- Views: 1728
Multiple love.run game states (The power of coroutines!)
A very simple (but powerful) module that can create multiple run states. You can have multiple game states! A simple case where this could be useful is to freeze the main thread and start another run state with a terminal. I hope Lafolie forgive me for borrowing his demo, it was the first thing on t...
- Sun Mar 10, 2013 11:58 pm
- Forum: Libraries and Tools
- Topic: A simple code testing module
- Replies: 1
- Views: 1009
A simple code testing module
Suspect is a simple module for testing code. It's pretty self explanatory. I learned the power of string.format in the process. It's really useful for templating! https://gist.github.com/markandgo/5130894#file-suspect-lua --[[ USAGE: suspect.assert(description,func) suspect.assert('pass',function() ...