- I think the way in which saves work currently does not seem to work on windows (works on linux though - have not got the means to test on mac)
- Some kind of story or multi speaker dialogue mode? -> for now I have gone with an ordered/random mode - I feel like this might do the job? Sequential convos...
- I want to add a dark mode at some point.
Love2D language learning game, translate sentences using a bank of words.
- Currently I am taking a break...
- Other language packs will be put here: https://github.com/stevnw/PhraseWeaver-Language-Packs/
I have made it so that it is quite easy to add data, and it should have the featureset required to easily add languages with different scripts or language specific phonetic readings
Essentially just add a line like this to languages.text - the first one on this list is what yours will default to when the program is run
Japanese=lang/jp_lessons.txt
Then you need to have a text file named whatever you have set in the languages.txt - this will be where you put the lessons i.e. jp_lessons.txt
Basics=lang/jp_lessons/basics.csv About You=lang/jp_lessons/about_you.csv Food=lang/jp_lessons/food.csv
Then these call the csvs located in jp_lessons, these csvs look like:
私の名前はひなです,My name is Hina,わたしのなまえはひなです,lang/jp_lessons/audio/私の名前はひなです.mp3 私は20歳です,I am 20 years old,わたしはにじゅっさいです,lang/jp_lessons/audio/私は20歳です.mp3
You need the folder names, or it will not be able to find them
Change language with the drop down in the top right
It saves your progress and marks lessons with a score - this determines the boxes colour on the main menu -> hit reset in the bottom to clear this but it saves in:
~/.local/share/love$
Audio is generated using gTTS python library - there is a script in /res/ which I used to generate the audio. You may need to change some of the code - these bits have comments next to them. To run this code
python gen.py basics1.csv
Just replace basics1.csv with whatever your csv is
This will make the audio and update the csv to include audio paths - automating that task because it is quite long.