Search found 5 matches
- Mon May 28, 2012 7:19 am
- Forum: Support and Development
- Topic: Efficient programming (generally)
- Replies: 8
- Views: 2953
Re: Efficient programming (generally)
THANKS you all very much! I read your quote already another time, but I didn't realise that it's true. Regarding the FPS counter, do you have vsync enabled or disabled? It's one of those things that sounds like a joke until you experience it. :3 Research has shown that programmers are actually pret...
- Fri May 25, 2012 10:39 pm
- Forum: Libraries and Tools
- Topic: Particle System Tool 0.11
- Replies: 17
- Views: 12819
Re: Particle System Tool 0.11
It looks excellent! This is the sort of actually useful program I never end up writing. :awesome: It's a little flaky in some places, apparently... sometimes it seemed to randomly stop making particles and not start again, but I couldn't manage to make this happen reliably. Still. Very useful! What ...
- Fri May 25, 2012 10:11 pm
- Forum: Support and Development
- Topic: Efficient programming (generally)
- Replies: 8
- Views: 2953
Re: Efficient programming (generally)
If I may quote a classic... "The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet." Generally, make a change to your program, then run it to see if it works. I generally have an FPS counter on screen so I can see ...
- Mon May 21, 2012 7:09 am
- Forum: Support and Development
- Topic: 0.8.0 - setMask/getMask API weirdness
- Replies: 3
- Views: 2296
Re: 0.8.0 - setMask/getMask API weirdness
Yeah, I found that about ten minutes after I made the post. :crazy: It still seems like a weird API decision though. Unless you always know exactly how many categories you're going to have, you're going to want it to be in a table anyway so you can iterate through it and such. So as long as I'm here...
- Mon May 21, 2012 4:30 am
- Forum: Support and Development
- Topic: 0.8.0 - setMask/getMask API weirdness
- Replies: 3
- Views: 2296
0.8.0 - setMask/getMask API weirdness
Okay, so I don't yet know all the ins and outs of Lua, but I have a problem with Fixture:setMask and getMask... Essentially I want to save the collision mask of an object, and restore it later, but I can't seem to find a good way of doing it. I can store the collision mask easily thus, no matter how...