Greetings all. Its been a while since i've released anything, but here goes. This package includes both a server and a client ritten in python, that can be used to write your own online games. The package includes a full area system, movement system is already coded in with full 360 rotational movement, etc. The very start to a space system is coded but the engine can be expanded for you to add stuff like, say, ground vehicles. Their's no sounds with the client as you'll need to provide those yourself, simply create a sounds folder and place sounds into their. The server includes 1 area example to get you started, while the client includes my menu class in case you want to use it in other projects. Make sure to read the readme before you ask questions or attempt to set the package up. Let me know if this is useful to you in anyway. And now the link. https://dl.dropboxusercontent.com/u/266 … 0engine.7z
[wow] this is intristing, I need to pass it to one of my friend that understand pithon, hope he could do something cool with this one.
oh anyways, slitely out of topic, do you have any plan to return on developing audio games soon?, I know you are busy with your real life now.
So I have only red the readme so far, but this is absolutely amazing, in many ways. I was also playing with the idea of creating my own engine, but I can probably throw that out the door now. I will see if I can add some more physics to the engine, think PyODE and see where it goes.
O, just a quick question, why are you not using accessible_output2? From the testing I did with it on windows, it works very well with nvda and sapi.
Just looking at this code makes me want to make an online game of some kind. nice job.
@post 4 because I happen to prefer using tolk, though i've already figured out with the help of thgamer how to enable sapi support. You can of course change stuff like that as said in the readme.
[wow]... Damn I wish I could code... I have so many great ideas, and now this engine which makes things easier... I hope this will make things easier for people who can code in Pythan.
This is looking like good stuff!
I think I would personally like to see more of a separation between the systems, so for example I could use pyglet instead of Pygame for example.
Any chance you could bung that on Github or something?
I've found at least one thing I'd like to fix, then I can submit pull requests and such.
Cheers, and keep up the good work.
I'm curious to see what this looks like. I'm going to give it a look-see, but first impression: why don't you put this on github? It's useful because you can accept pull requests from people and this is also something that employers and colleges (depending on how old you are) etc would love to see. Show your work!
Just a few things:
First, check out pep8 and restructure your code for that. Use something like pylint to help you out.
Second, please please for all that is holy look up distutils or something similar and proper packaging. You could write a setup.py and this could be a library that's easy to install. Someone would just do
pip install onlinegameengine (you'd probably want something more descriptive or flashy) and you'd get the package that you could just import but you could also have pygame and twisted and whatever else you're using. I also recommend using something like gevent for networking, but that's just me.
your functions.py seems to use a lot of global vars intermixed with other vars and imports. Consider wrapping this up in objects and when needed just have an import that allows you to access the object's instance.
It might also be worth looking at using something like SQLAlchemy for your ORM. It lets you structure your objects in a relational mechenism and then you pretty much get out what you put in. It's cool because you can hook it up to sqlite for beginners or MySQL or any other rdb-like server that SA supports.
I'd personally recommend using flake8 as your checker (pylint makes me suicidal).
Also, I personally use PBR for installing packages, here's the files I use:
from setuptools import setup
setup_requires = ['pbr', 'setuptools'],
pbr = True
description-file = README.md
home-page = https://github.com/chrisnorman7/
license = MPL-2
testpaths = "tests"
addopts = "-xq"
Obviously fill out the stuff in setup.cfg, and ensure your package is in a git repo.
12 (edited by danny 2016-11-22 07:57:58)
I didn't release it on github because I intended it to be a one release thing, more of something i'd just chuck out and say if you wanna improve on it or make your own games out of it go ahead, however I would be intrested in adding more coders to my own project using the engine and i'm intrested in releasing future engine updates with said coders, provided we didn't release any of the specific stuff that i've coded as open source such as the ground vehicle code and whatnot, i'm not entirely onboard with the idea of open sourcing the hole game. And thanks @post 11, i'll have a look.
Alternatively for ORM, it's not been done yet, but I'm working on a sort of one-object-fits-all solution, where you can make objects dumpable just by setting properties. That might be of some help.
This forum has got me splitting everything off into packages to share stuff LOL.
Also, Pep8 is a hard woman to love! :-)
@Danny, the link to this engine appears to produce a 404 Dropbox error. Can you please reupload it?