Search found 25 matches
- Sat Aug 10, 2013 4:48 pm
- Forum: Games and Creations
- Topic: Dungeon Explorer [Pre-Alpha 0.8]
- Replies: 14
- Views: 4813
Re: Dungeon Explorer [Pre-Alpha 0.8]
Very nice, this could go somewhere.
- Fri Aug 09, 2013 8:03 pm
- Forum: Libraries and Tools
- Topic: Random Word Generator
- Replies: 8
- Views: 5528
Re: Random Word Generator
Just got done doing that, lol. Check it out, this way of doing it is waaaaaaaaay more efficient in every aspect.jjmafiae wrote:it would not be hard to add tables that store every word.
- Fri Aug 09, 2013 7:39 pm
- Forum: Libraries and Tools
- Topic: Random Word Generator
- Replies: 8
- Views: 5528
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...
- Fri Aug 09, 2013 4:59 pm
- Forum: Libraries and Tools
- Topic: Random Word Generator
- Replies: 8
- Views: 5528
Re: Random Word Generator
Thanks, glad you liked itEamonn wrote:Quite cool. I like it
Yes, it runs on a simple tick system that I just thought of the other day.jjmafiae wrote:seems interesting.
- Fri Aug 09, 2013 6:07 am
- Forum: Libraries and Tools
- Topic: Random Word Generator
- Replies: 8
- Views: 5528
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.
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.