Search found 78 matches

by Zorbatron
Thu Jul 16, 2009 1:58 pm
Forum: Support and Development
Topic: setRadius()
Replies: 13
Views: 5887

Re: setRadius()

So far my super-awesome trickery has come up with the following: Create an array of objects that are all the size that the player could potentially be and update ONLY the active object. Thus the object already exists. Down-shot of this is if I have too many potential sizes... well... you get the dr...
by Zorbatron
Thu Jul 16, 2009 1:54 pm
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12160

Re: Almost have my own library to use with LOVE! Help needed.

Sorry but I don't see the logic in this; you say linux has more to offer than windows (oh and it's free) but you don't have it, but it is ridiculous to not have windows (which costs $100+) just because it is mainstream. Typical windows contradiction problem I guess, little can be done about that. I...
by Zorbatron
Wed Jul 15, 2009 9:12 pm
Forum: General
Topic: Where do you check for keyboard input
Replies: 16
Views: 13958

Re: Where do you check for keyboard input

This is a matter of personal style, and one could argue that saving every pressed character presents other overhead, which might outweigh the overhead created by using love.keyboard.isDown. Furthermore, on most modern computers resources are not that limited that it really matters. Once again, desp...
by Zorbatron
Wed Jul 15, 2009 9:05 pm
Forum: Support and Development
Topic: setRadius()
Replies: 13
Views: 5887

Re: setRadius()

No you didn't seem agitated.

I agree with avoiding creating and destroying userdata frequently, however, forcing a GC cycle I was told should only happen when you're outside of any major loops.
by Zorbatron
Wed Jul 15, 2009 8:50 pm
Forum: General
Topic: Where do you check for keyboard input
Replies: 16
Views: 13958

Re: Where do you check for keyboard input

Just a consensus poll for how everyone does it. I am currently arguing with myself over which to go with and neither side is making much progress. Vote and post what you think... You always want to check for key presses in the keypressed and keyreleased events! Always ! There is no point in doing i...
by Zorbatron
Wed Jul 15, 2009 8:40 pm
Forum: Support and Development
Topic: setRadius()
Replies: 13
Views: 5887

Re: setRadius()

bartbes wrote:Not as far as I know, about destroying them, you might want to do that explicitly and let the lua gc clean up before you continue. (might create huge lag though)
You want him to force a garbage collection cycle after he explicitly removes the body and sets any reference to it to nil? Why is this?
by Zorbatron
Wed Jul 15, 2009 8:32 pm
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12160

Re: Almost have my own library to use with LOVE! Help needed.

And as I said, it's mostly a matter of compiler macros, and you're done. So, it's not like it's an awful lot of work. (assuming you used standard c++ for the rest of the code) In the next version you might just be able to compile it at runtime, which increases cross-platformness! You make it sound ...
by Zorbatron
Wed Jul 15, 2009 2:28 am
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12160

Re: Almost have my own library to use with LOVE! Help needed.

W3schools' demographic is a bit different from the demographic of programmers who hang out on forums (the kind of people who will actually download things made with love) The demographic that hangs out on this forum includes people who only use linux and don't even have a windows install; thus it c...
by Zorbatron
Wed Jul 15, 2009 1:43 am
Forum: Support and Development
Topic: Almost have my own library to use with LOVE! Help needed.
Replies: 18
Views: 12160

Re: Almost have my own library to use with LOVE! Help needed.

course you know using dll's limit anything you write to windows Windows XP is the most popular operating system. The Windows family counts for about 90% [of all users]. Source: w3schools.com OS Usage Table Turns out that's not such a bad thing ;) W3schools is an extremely popular site for learning ...