Search found 76 matches

by subrime
Sun Dec 18, 2011 10:00 am
Forum: General
Topic: Lua 5.2 released, is there a plan to use it?
Replies: 35
Views: 19686

Re: Lua 5.2 released, is there a plan to use it?

90% of the people can't get it...? Are you counting all the people in Africa without any internet access or something? Anyone (on the net) can download it from http://www.tecgraf.puc-rio.br/lua/ftp/lua-5.2.0.tar.gz It compiles cleanly in a few seconds, and has no external dependencies... one of the ...
by subrime
Sun Jan 09, 2011 11:28 pm
Forum: Support and Development
Topic: Rogue-like shadow casting
Replies: 3
Views: 3998

Re: Rogue-like shadow casting

A fast way to do this is to make an array indexed by the relative position between the light source and the wall cell. Each array entry contains a shadow mask that shows which cells are in the shadow of the wall celll. This array only needs to be made once at game startup. A light map is made by sca...
by subrime
Thu Feb 04, 2010 7:21 am
Forum: Support and Development
Topic: love.filesystem trouble, doesn't seem to work.
Replies: 19
Views: 11314

lbp and lua 5.2

bartbes: looking through your lbp code a bit... did you know lua 5.2 is planning to drop setfenv?
by subrime
Fri Jan 22, 2010 3:03 am
Forum: Support and Development
Topic: I CANT GET ONTO LOVE2D.ORG FROM MY HOUSE!
Replies: 8
Views: 5448

ostraylya day

schme16: coding an awesome love project of course
by subrime
Wed Jan 20, 2010 2:59 am
Forum: Support and Development
Topic: I CANT GET ONTO LOVE2D.ORG FROM MY HOUSE!
Replies: 8
Views: 5448

...

Please use bigger letters. It's really hard to read them from all the way over here in Australia.
by subrime
Wed Jan 20, 2010 2:56 am
Forum: Support and Development
Topic: Table & Indexes
Replies: 7
Views: 4510

Re: Table & Indexes

Except that this code is *copying* the values, not referencing.

Your example will only work (as references) if the elements of TableA are themselves tables.
by subrime
Sun Dec 13, 2009 1:24 pm
Forum: Libraries and Tools
Topic: Mashmeter
Replies: 14
Views: 6315

Re: Mashmeter

Just clocked 88 with the letter k... (thats 8.8 presses/sec, 8.8Hz, etc)
by subrime
Thu Dec 03, 2009 8:04 am
Forum: Support and Development
Topic: Noob here.
Replies: 10
Views: 6062

Re: Noob here.

There are 3 problems: (1) curly braces You have scattered some curly braces in there... lua does not use them like c. So try changing: if self.facing == 1 then } into: if self.facing == 1 then and remove the final } at the end. (2) basic structure The if keyword can be used in the following ways: --...
by subrime
Sun Nov 29, 2009 8:30 am
Forum: Support and Development
Topic: highscores for all players in 0.6.0...?
Replies: 1
Views: 2058

highscores for all players in 0.6.0...?

Since love 0.6.0 only allows writing files in a user specific directory, how would one keep track of a highscore table for more than a single user?
by subrime
Sat Nov 28, 2009 5:29 pm
Forum: Support and Development
Topic: 0.6.0: red ball is a white square...
Replies: 8
Views: 3881

Re: 0.6.0: red ball is a white square...

yes it works, though I would suggest that if you are concerned about speed it could be implemented in c with the rest of love.