Search found 478 matches
- Mon Aug 05, 2013 12:13 am
- Forum: Support and Development
- Topic: Recursive tweening
- Replies: 5
- Views: 2260
Re: Recursive tweening
Even if tweenAlpha is not supposed to execute itself again until it's complete? The last field in the function tween is the callback parameter, which is called when the function ends. So it really shouldn't execute until then, right? That's not how lua works. tween(1,_G['n' .. num .. 'A'],{math.ran...
- Sun Aug 04, 2013 11:32 pm
- Forum: Support and Development
- Topic: Recursive tweening
- Replies: 5
- Views: 2260
Re: Recursive tweening
You are calling your function tweenAlpha inside itself with the same arguments and it has no outside interrupt, i.e. infinite recursion leading to stack overflow.
- Fri Aug 02, 2013 6:04 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
raidho36 wrote:you shouldn't check whteher or not the supplied value is "potato" string or whatever.
It's amusing how you just keep goingraidho36 wrote:it's pretty much mandatory feature, so is for scripting languages
- Fri Aug 02, 2013 12:41 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
I mean, it's one thing when you may have arbitrary input and you have to sanitize it, but having to sanitize strictly defined type of input because some "programmers" won't read manuals is just ain't right. I mean, if your function accepts a numerical value of i.e. how big object it needs...
- Fri Aug 02, 2013 10:39 am
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
I wouldn't describe Linux kernel as having "no foolproofing".raidho36 wrote:I'm pretty sure the whole Linux kernel is built with that approach in mind.
- Thu Aug 01, 2013 8:14 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
I don't know for you, but I don't have a havit to handle invalid code. If it's not valid, it doesn't run, period. When I write code I fix my stuff until it's perfectly valid because it won't run (or will have obvious flaws) otherwise, but I add no foolproofing nevertheless because, guess what, my s...
- Thu Aug 01, 2013 3:55 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
First to clear things up: I'm not trying to be hostile, sorry if it came off like that. Writing can be very misleading, we're probably not professional writers so accurate expression of our emotions in text is unlikely. Please don't assume I'm being hostile or whatever unless I throw profanity and a...
- Thu Aug 01, 2013 3:15 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
EDIT: Oh, and I don't see the point of that link, because it put forth no arguments. The point of that link was to supply an already existing back and forth conversation about something I really do not have interest in discussing for those that do want to. If anyone wants an argument for or against...
- Thu Aug 01, 2013 2:23 pm
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: Custom filesystem save/root priority
the 'magical' way require works I don't see anything magical with it, to me it's pretty straightforward. http://lua-users.org/lists/lua-l/2011-10/msg00481.html Also, if players wanted to hack your game, they could've always unzip the .love and then modify it all they want. That's why I said primiti...
- Thu Aug 01, 2013 10:26 am
- Forum: General
- Topic: Custom filesystem save/root priority
- Replies: 20
- Views: 7926
Re: [Request] custom filesystem save/root priority
The proper place to make requests (and bug reports) is the issue tracker . Will direct my current and future requests / bugs there. Why would you want that exactly? Having another file in save folder implies that you want to use it instead of the one in your root folder. You shouldn't have files th...