I will give it a try and when done I will put this on the Google Code project, with examples and and a how-to. I agree with you taht genereting bindings is the next step. Once I have tested and uploaded a small how-to, We can start working together in bindings.
Did you find it fast enough for games? What is your first impression?
Thanks very much
Ezequiel
2011/5/11 Ezequiel Aceto <ezequie...@gmail.com>:
> I will give it a try and when done I will put this on the Google Code project, with examples and and a how-to. I agree with you taht genereting bindings is the next step. Once I have tested and uploaded a small how-to, We can start working together in bindings.
A first version of the Python bindings to PDL is now available.
Binaries: http://thp.io/2011/webos/python-webos_20110511_binary.tar.gz
Source: http://thp.io/2011/webos/python-webos_20110511.tar.gz
Git repository: https://github.com/thp/python-webos
There's also a small example script that demonstrates most of the
webos API and its possibilities. I've tried to keep the API very
pythonic:
http://thp.io/2011/webos/example.py.html
Some of the nontrivial API functions have not been wrapped yet, but
they are marked with "TODO" in the SWIG interface file (webos.i).
> Did you find it fast enough for games? What is your first impression?
For most games that I tried (didn't try too many), it worked fine. I'm
pretty sure it's fast enough for most use cases :)
Enjoy :)
Thomas
So you put all the Python stuffs on the SD, and the use SSH to lunch python with a command. If I give you a FTP can you upload the binaries there (Python Interpreter + library + and Pytgame). I will create a Standard SDL project (I have PDK for OS X), check if Python is on the SD Card, if not point out the user where to download it, and if yes, it will launch Python with "main.py" stored in the SDL project.
This way anybody can write python files, boundle it in a simple PDK project and generated a ipk, without needing to build or boundle the entire Python + PyGame into their IPK. Think of having a "Python Enviroment" application in the App Catalog, that when you run it, it checks if you have Python in your SD, if not you get the lastest binaries downloaded. And the you can download "Python games or apps" from the App Catalog, and run it. May be even somebody will make a console program in C++, and you can do python in real-time!
What do you think?
Have a nice day!
.
2011/5/12 Ezequiel Aceto <ezequie...@gmail.com>:
> So you put all the Python stuffs on the SD, and the use SSH to lunch python with a command. If I give you a FTP can you upload the binaries there
All the files are available online and linked from
http://thp.io/2011/webos/ including build instructions, links to the
source and binary packages.
> [...] May be even somebody will make a console program in C++, and you can do python in real-time!
This exists already. Search for "Terminus" or "Terminal" in PreWare.
HTH.
Thomas