Search found 650 matches

by airstruck
Thu Jul 02, 2015 9:05 pm
Forum: Libraries and Tools
Topic: Aspect - an extremely minimal ECS module
Replies: 8
Views: 4782

Re: Aspect - an extremely minimal ECS module

To anyone who starred the gist, the code is now here.
by airstruck
Thu Jul 02, 2015 9:01 pm
Forum: Libraries and Tools
Topic: Base - a class-based OOP micro-module
Replies: 3
Views: 2292

Re: Base - a class-based OOP micro-module

To anyone who starred that gist, the code has been moved here.
by airstruck
Thu Jul 02, 2015 8:53 pm
Forum: Libraries and Tools
Topic: memoize.lua
Replies: 35
Views: 18144

Re: memoize.lua

Testing with luajit exposed some problems with sparse arrays that didn't appear under regular Lua. An up-to-date version of a memoize function handling nil arguments and return values and meeting kikito's spec is here: https://github.com/airstruck/knife/blob ... emoize.lua
by airstruck
Thu Jul 02, 2015 7:24 pm
Forum: Libraries and Tools
Topic: Tactile - a nice, straightforward input library!
Replies: 21
Views: 11170

Re: Tactile - a nice, straightforward input library!

I haven't tried it yet, but I have some questions/concerns from looking at your example. In general the API sems to follow this form: input.foo('name', ...) And then subsequent calls need to refer to "name." Is it necessary to rely on strings like this, or could the API use a form more lik...
by airstruck
Tue Jun 30, 2015 2:12 pm
Forum: Games and Creations
Topic: Dim Jump - My fun little game
Replies: 15
Views: 10911

Re: Dim Jump - My fun little game

This game is evil.
baconhawka7x wrote:I got stuck on level 8
Just hold up and you'll get through it. I got stuck on 9...
by airstruck
Sun Jun 28, 2015 10:57 am
Forum: Libraries and Tools
Topic: Timer - a timer expiration lib
Replies: 6
Views: 4218

Re: Timer - a timer expiration lib

You seem to use it for the time since the "epoch" instead, which is probably the source of the confusion. I don't think it was there in the first version. Sorry for the confusion, I meant you could pass the dt parameter from love.update on to timer.update, then you wouldn't need getTime. ...
by airstruck
Sat Jun 27, 2015 8:25 pm
Forum: Libraries and Tools
Topic: Fizz X
Replies: 85
Views: 62157

Re: Fizz X

Really enjoyed reading that, nice work.
by airstruck
Sat Jun 27, 2015 8:16 pm
Forum: Libraries and Tools
Topic: Timer - a timer expiration lib
Replies: 6
Views: 4218

Re: Timer - a timer expiration lib

Looks pretty good. A few thoughts: Use "local" to declare local variables so they don't pollute the global scope. Some identifiers use camelCase and others use snake_case, try to be consistent. The name "timer_stack" seems a little stange, it doesn't really have stack-like qualit...
by airstruck
Sat Jun 27, 2015 10:29 am
Forum: Libraries and Tools
Topic: T - a multi-paradigm test framework
Replies: 5
Views: 5214

Re: T - a multi-paradigm test framework

Can you give an example where this would be useful in game development? Automated testing is useful in game development for the same reasons it's useful (essential, really) in any other kind of software development. As far as feature tests go, writing a spec helps formalize intended behavior. When ...
by airstruck
Wed Jun 24, 2015 1:30 pm
Forum: Libraries and Tools
Topic: T - a multi-paradigm test framework
Replies: 5
Views: 5214

T - a multi-paradigm test framework

I wanted a test framework that would run subsections in isolation: for each "leaf" section of the scenario, the entire scenario runs, skipping all branches not connected to the current leaf. This kind of test framework eliminates the need for fixtures, and allows for creating BDD-style tes...