OK, this code is so early in development it shouldn’t even be a release, but I thought I’d share.
Dominion is an RTS game where artificially sentient robots created by humans attempt to take over Earth. They were exiled from Earth, but returned 15 years later with much more massive forces. This is basically the storyline behind this game.
All that functions right now is the menu system (and even then, only part of it) and the localization system. Only two languages are supported, Spanish and English. (If you want to script another language for Dominion, PM me and I’ll give you the info you need to begin)
I’m almost ready to start coding the actual game! (pending ‘stand-in’ models)
I’m a Windows user, and a Linux n00b (currently), and I’m not sure whether I have to install python or not. I have a folder named Python in /usr/share, but there are no binaries and only a few files.
What distro + version of Linux?
Most distro’s already have python preinstalled, and the binary should be called /usr/bin/python.
But ehrm, just install the RPM or DEB package of Panda3D that is right for your distro - since it marks “python” as dependency, it will be automatically installed when you install Panda3D.
Kubuntu 9.04
OK, I will look in /usr/bin/python, thought it was in /usr/share.
I already installed Panda3D, but I did not know where to put the panda path file for python.
I can’t do anything right now, as I am not on my computer, I’m at my cousin’s house, but I will try as soon as I can.
On Linux, everything is much easier than on Windows.
You don’t need to do anything. Everything is already configured. No copying around with path files.
If you installed the right .deb for Panda3D, it should already be at /usr/lib/python2.6/dist-packages/panda3d.pth .
I’ve added new language files, French and Dutch. (I used Babelfish to translate, since I don’t know either of these languages, so they might be a little off)
I know, this is on purpose as the rest of the game is not finished.
The menu declaration thing is only because I use the same variable across multiple classes and it’s warning me about using global on an already assigned variable.
Update 2
A game saving and a game loading mechanism are now in place.
Maps have assigned Python files for missions to have unique traits.
Linux + Windows supported
(Windows tested on Windows XP Media Center Edition, Linux tested on Kubuntu 9.04)