The Following 3 Users Say Thank You to ErikHK For This Useful Post: | ||
![]() |
2010-04-19
, 20:43
|
|
Posts: 233 |
Thanked: 220 times |
Joined on Jan 2010
@ Hungary
|
#2
|
![]() |
2010-04-20
, 12:14
|
Posts: 15 |
Thanked: 10 times |
Joined on Apr 2010
|
#3
|
nice ideaand nice work. When you upload this to extras_devel, then i will install
edit: pls create custom language support!
![]() |
2010-04-23
, 00:22
|
Posts: 15 |
Thanked: 10 times |
Joined on Apr 2010
|
#4
|
The Following User Says Thank You to ErikHK For This Useful Post: | ||
Here the game is in practice mode, if you click on a country it will display the name of it. Otherwise it will display a country name and you're supposed to click on the right one. It is not at all finished and it needs packaging, but if you want to try it out/play with it, you can download it from http://www.erikhk.net/tmp/leif.tar
You'll need python-lxml to run it, I think it is in some dev/extras repository
sudo gainroot
apt-get install python-lxml
To "install"/play it, place it somewhere and unpack it with
tar -xvvf leif.tar
Then a dir called leif/ is created, then do:
cd leif/src/
python main_menu.py
Now the game should start, just choose New Game (Options is not finished, unfortunately)
If you want to create your own maps you "just" have to create an svg map in res/ with an id on every path, then you connect that id to the name of the country/whatever with an xml file with the same name in res/names/, then change the call to Game() in main_menu.py