Search found 74 matches
- Sun Jul 05, 2009 10:17 pm
- Forum: General
- Topic: Upcoming features for LOVE 0.6.0
- Replies: 35
- Views: 22281
Re: Upcoming features for LOVE 0.6.0
In regards to the physics changes, how are you dealing with auto scaling? Are all units of measurement pretty much use pixels? Scaling is done by specifying the factor between Box2D's meters, and whichever unit you're going to use in all love.physics functions. You can for instance, as you suggeste...
- Sun Jul 05, 2009 8:27 pm
- Forum: Support and Development
- Topic: Contact filtering
- Replies: 3
- Views: 3654
Re: Contact filtering
Yep, for each shape (either circle or polygon) you can: 1. put it in one or more categories using :setCategory() 2. designate which categories the shape should not collide with, using :setMask() These functions take any number of arguments which are numbers from 1 to 16 (there can be no more than 16...
- Sun Jul 05, 2009 2:59 pm
- Forum: General
- Topic: Sandboxing (poll)
- Replies: 83
- Views: 41522
Re: Sandboxing (poll)
Well no. Since most games are going to be distributed with the .love merged in the executable (or at least mine...), and that sandboxing is a decision for the game developer (not the game player) I was thinking more of something from the Lua code like: function love.load() love.disableSandbox() end
- Sun Jul 05, 2009 11:41 am
- Forum: General
- Topic: Sandboxing (poll)
- Replies: 83
- Views: 41522
Re: Sandboxing (poll)
Having two sets of binaries seems a bit overkill, and would probably confuse beginning LÖVE users. I can already see people popping in on the IRC asking "So, what's this sandbox version, which one should I take, what is better for me, is LÖVE so dangerous that we need a protection? oh my gods, ...
- Wed Jul 01, 2009 2:36 pm
- Forum: General
- Topic: Sandboxing (poll)
- Replies: 83
- Views: 41522
Re: Sandboxing (poll)
Another argument for disabling access to os and io: you're not going to need it. If you reason "well, maybe I'll need it...", why not include a BrainFuck interpreter per default? You might want to use it! Well, ok, that last argument was a little exaggerated. But still: there is no use in...
- Mon Jun 29, 2009 2:43 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1066358
Re: Avatars: OBEY!
It is however quite unfortunate that
isn't valid Lua
The unary negation is "not" (and the semicolon is valid but useless). In this case you can even do it faster with
Code: Select all
if !(self.Obey) then
self.Obey = true;
end
The unary negation is "not" (and the semicolon is valid but useless). In this case you can even do it faster with
Code: Select all
self.Obey = self.Obey or true
- Mon Jun 29, 2009 2:25 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1066358
Re: Avatars: OBEY!
Yay, I made an avatar! Been wanting to do it for a while
- Mon Jun 29, 2009 10:00 am
- Forum: Support and Development
- Topic: Memory Control?
- Replies: 5
- Views: 3853
Re: Memory Control?
You can load images whenever you want, just be careful with the fact that for big images it can take some time (and pause the game loop for a while).
To "unload", simple remove all references to the image, and Lua's garbage collection will take care of it :
To "unload", simple remove all references to the image, and Lua's garbage collection will take care of it :
Code: Select all
self.img = nil
- Sun Jun 28, 2009 9:44 pm
- Forum: Support and Development
- Topic: Understanding Physics
- Replies: 5
- Views: 4876
Re: Understanding Physics
Well, don't be too hard with yourself. In this case, the joints implementation is actually broken. So it's quite normal that you couldn't figure it out.
- Sat Jun 27, 2009 9:13 am
- Forum: General
- Topic: Sandboxing (poll)
- Replies: 83
- Views: 41522
Re: Sandboxing (poll)
I voted no. Definitely no. Removing standard Lua things from LÖVE for "security" seems absurd to me. The argument that a malicious writer could destroy everything in your home folder is irrelevant. Yes he can. Well don't play his game then. Haven't you be told all your computer life long t...