Search found 175 matches
- Fri Feb 22, 2013 7:28 pm
- Forum: Games and Creations
- Topic: Canny the can
- Replies: 9
- Views: 3017
Re: Canny the can
P.S. I am already at level 20. The game is addictive!
- Fri Feb 22, 2013 7:14 pm
- Forum: Games and Creations
- Topic: Canny the can
- Replies: 9
- Views: 3017
Re: Canny the can
Cool, I like it. Very impressive for a first effort! Small improvement suggestion: Do not use the 'z' key for confirm/jump. Use something standard like enter/space. If you insist on using 'z' check for the unicode value not for the key code. When I pressed 'z' nothing happened. That is because the k...
- Fri Feb 22, 2013 7:04 pm
- Forum: General
- Topic: What's everyone working on? (tigsource inspired)
- Replies: 1791
- Views: 1513577
Re: What's everyone working on? (tigsource inspired)
I am working on a way too ambitious project which I will never finish.
- Fri Feb 22, 2013 6:54 pm
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Re: Please put a good PRNG in 0.8.1
Anyway, this discussion is getting slightly out of hand. Agreed. I could continue it by arguing against your definition of "uniform distribution" for starters but I have other things to do too - like continuing to develop my first LÖVE game :ultraglee: The original point of this thread - ...
- Fri Feb 22, 2013 4:18 pm
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Re: Please put a good PRNG in 0.8.1
And by "truly random" sequence you probably mean "high entropy", which is what I wrote in the part you kindly omitted... ;) No, I thought I made it clear that I wasn't talking about distribution issues at all. You can easily transform uniform to normal distribution etc. That is ...
- Fri Feb 22, 2013 4:15 pm
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Re: Please put a good PRNG in 0.8.1
To make the issue here more clear to the general audience, here is a simplified example. Imagine three functions. randomA(1, 10) Always returns this sequence: 1,2,3,4,5,6,7,8,9,10 repeated endlessly It returns uniformly distributed numbers but we wouldn't call it a "RNG" randomB(1, 10) May...
- Fri Feb 22, 2013 3:31 pm
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Re: Please put a good PRNG in 0.8.1
LÖVE 0.9 will have a custom PRNG and it will indeed be XORSHIFT. Cool! :ultrahappy: [*]"Better" in the context of randomness is a very dangerous statements. Unless you have a way of quantifying this statement (using statistic metrics) The mathematics professor who gave us xorshift and man...
- Thu Feb 21, 2013 1:18 pm
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Re: Please put a good PRNG in 0.8.1
Thanks for your post. Until now I assumed that lua used the mersenne twister. After reading your post and some online reading, I found that lua uses the c rand() function, which is just a linear congruential generator. AFAIK there is no standard for C's rand() except the interface i.e. it is not gu...
- Thu Feb 21, 2013 12:21 pm
- Forum: General
- Topic: Will we ever see LuaJIT powered LÖVE?
- Replies: 11
- Views: 7464
Re: Will we ever see LuaJIT powered LÖVE?
The (massive) speed boost provided by LuaJIT would allow making much more demanding games in LÖVE. the potential massive speed boost code that contains love api calls (or any calls to c libraries not bound through the ffi) likely isn't going to get much faster very mathy or otherwise pure lua code ...
- Thu Feb 21, 2013 11:31 am
- Forum: General
- Topic: Please put a good PRNG in 0.8.1
- Replies: 15
- Views: 5502
Please put a good PRNG in 0.8.1
You really want a decent PRNG for many kinds of games. I suggest xorshift, it is very small and fast yet perfectly fine for typical game programming. A quality PRNG can really make a difference. My procedurally generated level maps started looking a lot better when I switched from a poor PRNG to xor...