Search found 8 matches
- Mon Mar 17, 2014 1:19 am
- Forum: Support and Development
- Topic: Best way to localize text?
- Replies: 5
- Views: 3403
Re: Best way to localize text?
Sorry if I wasn't clear enough in my original post :? , I'm just talking about handling tables of strings in different languages that are already translated. Just bog standard language settings. For now I'm sticking with calling a load function for each language. Seems to be the simplest way to go a...
- Sun Mar 16, 2014 6:26 pm
- Forum: Support and Development
- Topic: Best way to localize text?
- Replies: 5
- Views: 3403
Re: Best way to localize text?
The languages would indeed be in seperate files. But they wouldn't need to be changed often, only via the options menu. But when changed all the strings need to be overwritten. I'm not sure if making the string table local would be suitable? (Not sure what advantages / disadvantages come with making...
- Sun Mar 16, 2014 5:32 pm
- Forum: Support and Development
- Topic: Best way to localize text?
- Replies: 5
- Views: 3403
Best way to localize text?
I'm wondering what the best way to localize text is in love? Say, for a game with potentially a few hundred strings that need to be localized. The obvious way to me seems to be to just load all the strings in a function after reading the user's config or setting it in the menu. e.g: if lang == "...
- Sun Feb 16, 2014 8:28 pm
- Forum: Support and Development
- Topic: Collision: Polygons and Lines
- Replies: 1
- Views: 1536
Collision: Polygons and Lines
Hi guys. I'll cut to the chase, I'm not sure how to approach checking if lines intersect with polygons. I would like my game to have enemies with hitboxes made out of polygons (probably mostly rectangles and triangles) and also laser weapons which pass through enemies whilst dealing damage to them. ...
- Thu Sep 05, 2013 2:12 am
- Forum: Support and Development
- Topic: I suck at tables! Help!!
- Replies: 10
- Views: 3403
Re: I suck at tables! Help!!
Thanks for clarification!
- Wed Sep 04, 2013 11:13 pm
- Forum: Support and Development
- Topic: I suck at tables! Help!!
- Replies: 10
- Views: 3403
Re: I suck at tables! Help!! :O
Is there any way I can create a for statement that looks in more than one ipairs table simultaneously? I've thoroughly searched .lua documentation and intensively googled and haven't come up with anything. Just for an example: If I use ipairs tables for both bullets and enemies, and I want to check ...
- Tue Sep 03, 2013 5:55 pm
- Forum: Support and Development
- Topic: I suck at tables! Help!!
- Replies: 10
- Views: 3403
Re: I suck at tables! Help!!
Ahh! I knew I was missing something, this helps a lot thanks guys! Works perfectly now!
- Mon Sep 02, 2013 10:57 pm
- Forum: Support and Development
- Topic: I suck at tables! Help!!
- Replies: 10
- Views: 3403
I suck at tables! Help!!
Hi guys, I'm new around these parts! I've been using Love for a few weeks and run into my first problem.. Which is my poor table comprehension. To cut to the chase: I'm working on code for pickups.. and whilst I can successfully create pickups and have the player pick them up there's a problem! If I...