Search found 25 matches

by XxSolidJelloxX
Sat Aug 10, 2013 4:48 pm
Forum: Games and Creations
Topic: Dungeon Explorer [Pre-Alpha 0.8]
Replies: 14
Views: 2955

Re: Dungeon Explorer [Pre-Alpha 0.8]

Very nice, this could go somewhere.
by XxSolidJelloxX
Fri Aug 09, 2013 8:03 pm
Forum: Libraries and Tools
Topic: Random Word Generator
Replies: 8
Views: 2799

Re: Random Word Generator

jjmafiae wrote:it would not be hard to add tables that store every word.
Just got done doing that, lol. Check it out, this way of doing it is waaaaaaaaay more efficient in every aspect.
by XxSolidJelloxX
Fri Aug 09, 2013 7:39 pm
Forum: Libraries and Tools
Topic: Random Word Generator
Replies: 8
Views: 2799

Re: Random Word Generator

Hardcoding it is a pretty bad idea, since you're going to end up with absolutely massive if statements if you ever needed a significant amount of words (ie >1000). You could try reading all the words from a file into a index'd table, and simply generate a random number between 1 - sizeoftable, then...
by XxSolidJelloxX
Fri Aug 09, 2013 4:59 pm
Forum: Libraries and Tools
Topic: Random Word Generator
Replies: 8
Views: 2799

Re: Random Word Generator

Eamonn wrote:Quite cool. I like it :D
Thanks, glad you liked it :)
jjmafiae wrote:seems interesting.
Yes, it runs on a simple tick system that I just thought of the other day.
by XxSolidJelloxX
Fri Aug 09, 2013 6:07 am
Forum: Libraries and Tools
Topic: Random Word Generator
Replies: 8
Views: 2799

Random Word Generator

Hey guys, I am fairly new to Love2D, and I decided to make a simple random word generator.

There are 30 different word possibilities that you can generate. Anyways, you guys can take a look at the code if you want and tell me if this system is horrible or not, lol...

Peace. :D