Search found 909 matches
- Sun Jan 29, 2012 11:09 am
- Forum: General
- Topic: When does "scripting" become "programming"?
- Replies: 36
- Views: 13114
Re: When does "scripting" become "programming"?
Going by that distinction, wouldn't Java be scripting, since it's run in the JVM?
- Sat Jan 28, 2012 8:22 pm
- Forum: Support and Development
- Topic: how to play one sound multiple times
- Replies: 10
- Views: 7199
Re: how to play one sound multiple times
For sounds, you should load them once as sounddata, and then use that sounddata to create a new source when you need to play it.
- Tue Jan 24, 2012 5:19 pm
- Forum: General
- Topic: Hypothetical: Making a word game and needing to check word..
- Replies: 23
- Views: 5932
Re: Hypothetical: Making a word game and needing to check wo
I don't know if you're actually wondering where to get such a list, or if you're only interested in how to check against it. But if you are in need of such a list, look no further than /usr/share/dict/<language>/ on any Linux system (quite possibly in OSX as well). There are a bunch of other databas...
- Sun Jan 22, 2012 10:33 am
- Forum: General
- Topic: Some self humorous coding-love-hate!
- Replies: 14
- Views: 6092
Re: Some self humorous coding-love-hate!
Keeping with the theme, let's talk about Javascript.
Code: Select all
> typeof Nan
"number"
Code: Select all
> Math.min() < Math.max()
false
- Wed Jan 18, 2012 4:17 pm
- Forum: Libraries and Tools
- Topic: Cave Generator
- Replies: 8
- Views: 4256
Re: Cave Generator
Probably Po2 syndrome.MarekkPie wrote:Must be using a framebuffer, because I can't see it on my netbook. I'll have to check it out when I get to my desktop.
- Mon Jan 09, 2012 3:00 pm
- Forum: Support and Development
- Topic: New to Love >>> wit a problem
- Replies: 11
- Views: 5226
Re: New to Love >>> wit a problem
This is only tangentially related to the topic, but you should almost always install your software from the repos, unless you know of a PPA that you trust and that is more up-to-date.Nixola wrote:(I won't use it anymore to install something, only for searching)
- Sun Jan 08, 2012 7:42 pm
- Forum: Support and Development
- Topic: New to Love >>> wit a problem
- Replies: 11
- Views: 5226
Re: New to Love >>> wit a problem
It is not.ayla wrote:One of my other question would be is it posible to intergade Love in a website?
- Sun Jan 08, 2012 12:10 pm
- Forum: General
- Topic: What code editor do you use ?
- Replies: 195
- Views: 298343
- Sat Jan 07, 2012 6:52 pm
- Forum: Support and Development
- Topic: (A lua only question)
- Replies: 4
- Views: 1865
Re: (A lua only question)
function Bin2Dec(s) local num = 0 local ex = string.len(s) - 1 local l = 0 l = ex + 1 for i = 1, l do b = string.sub(s, i, i) if b == "1" then num = num + 2^ex end ex = ex - 1 end return string.format("%u", num) end Source
- Sat Dec 31, 2011 8:11 am
- Forum: Support and Development
- Topic: Loading another script
- Replies: 26
- Views: 12458
Re: Loading another script
I think you're talking about require.