Search found 585 matches
- Fri Aug 22, 2014 8:02 pm
- Forum: General
- Topic: Ludum Dare #30
- Replies: 20
- Views: 13524
Re: Ludum Dare #30
Plan on participating...and streaming while doing so! Check me out on Twitch!
- Thu Aug 21, 2014 8:47 pm
- Forum: Support and Development
- Topic: [SOLVED] What does ... mean?
- Replies: 7
- Views: 7566
Re: [SOLVED] What does ... mean?
The way I use varargs is often for passing arguments along to an unknown, inner function. For example, I often write an EntityManager class that helps with mapping a function across many tables: function EntityManager:map(f, ...) for _,v in pairs(self._entities) do -- If the entity has the function ...
- Sun Feb 09, 2014 4:03 pm
- Forum: Support and Development
- Topic: Platformer using the Box2d and tiled.
- Replies: 2
- Views: 4417
Re: Platformer using the Box2d and tiled.
Another solution to Azhukar's potential issue is to create a separate Object Group in Tiled, and use those objects to define the collision objects for the tile map, rather than each individual tile itself. That way, the floor is a single smooth surface rather than a series of blocks. This is what I ...
- Sun Feb 09, 2014 3:48 pm
- Forum: Support and Development
- Topic: push and pop for graphics ?
- Replies: 8
- Views: 9313
Re: push and pop for graphics ?
There isn't, I'm afraid. And after messing around with the HTML5 Canvas API (which has context.save() and context.restore()), it's a really nice feature that would be great to have.
- Sun Feb 09, 2014 6:46 am
- Forum: Support and Development
- Topic: OOP help
- Replies: 48
- Views: 26933
Re: OOP help
Completely off topic, but brilliant use of Ming the Merciless.
- Sun Feb 09, 2014 6:42 am
- Forum: General
- Topic: Lets Apply Computer Science!
- Replies: 4
- Views: 4421
Re: Lets Apply Computer Science!
I remember hearing about that. And they say no one ever reads the EULA. The program certainly does!slime wrote:Scroll down to "(s)elf-exploitation" here: http://www.gamasutra.com/view/feature/194772/MarekkPie wrote:Buffer overflow attacks can be used to do some rather interesting things inside a game;
- Sun Feb 09, 2014 6:39 am
- Forum: General
- Topic: Good text editor for linux?
- Replies: 33
- Views: 16066
Re: Good text editor for linux?
Vim. Don't get daunted by it, and don't think that because you can't play VimGolf you aren't worth; just use it how you want to use it, and eventually you'll start adding in new things. Honestly, for me, just the fact that the "o" command exists is enough for me to cry when I am forced to ...
- Sun Feb 09, 2014 6:25 am
- Forum: General
- Topic: Lets Apply Computer Science!
- Replies: 4
- Views: 4421
Re: Lets Apply Computer Science!
A lot of the "interesting stuff that is not usually thought of" is often actually thought of: Antichamber is based around non-Euclidean geometry (kinda); Entity-Component Design Pattern follows the manta of favoring composition over inheritance; Jump Point Search is a shortest path improve...
- Sun Oct 06, 2013 12:04 am
- Forum: Support and Development
- Topic: Accessing config information
- Replies: 7
- Views: 6311
Re: Accessing config information
I'm looking more to get that information rather than set it, so the hack I described could work. However, it looks like they are implementing an additional module for some of that information, love.window, for version 0.9.0. There still doesn't seem to be anything that can tell whether an applicatio...
- Fri Oct 04, 2013 4:34 am
- Forum: Support and Development
- Topic: Accessing config information
- Replies: 7
- Views: 6311
Re: Accessing config information
I'm assuming you mean: -- main.lua local properties = {} function love.conf(t) -- Set values properties = t end --... That certainly seems hackish. I ran a for loop through the love module to see if it was somewhere in the top level, but I didn't notice anything. I'm assuming that they don't want yo...