Forum | PyWright-chat?

You must be logged in to post Login Register

Search Forums:


 






PyWright-chat?

No Tags
UserPost

1:53 am
June 19, 2010


Dokugogagoji

Italy

Member

posts 4

Hi! I'm a new and I am a developer. First of all, nice work for this library!!! Laugh


Let's go to the metal… I wanted to "strip down" this library in order to be used like a chat in embedded (primarly) device supporting Python. First of all, for the Python on iPhone,Android, Maemo so it could be distruibed freely/donationware to this project by Cydia. Has someone OBJECTION! to it or already tried to run on your own phones?


The idea essentialy is:

–>"Cross-examination engine" for quoting message inside the chat. So we can shout OBJECTION! on a determinate sentence..and "Hold it" like a nudge.

–>Chat speed is customizable..however, it is not "so suitable" for fast comunication chat because it should wait (or compact their message) and receive the one from partner before submitting another

–>"Evidence list and show" for sending images

–>Not only two people cjat, but as long as there are sprites they can be rappresentated…


PyWright is more suitable for this purprose that the only "windows/wine" of PWLib.

What do you think about?

6:09 am
June 19, 2010


Matx

Roma (Italy)

Member

posts 104

Post edited 6:09 am – June 19, 2010 by Matx


Yeeeees it's a good idea^_^

I like the "objection" idea^_^

There will be a press and present button???? xd

And, a judge, a prosecutor and an attorney??????XDXDXDXDXD

However very good idea!!!


By:

                                                                                                                                                                                                       MatxCool

6:51 am
June 19, 2010


Dokugogagoji

Italy

Member

posts 4

Post edited 6:53 am – June 19, 2010 by Dokugogagoji


There will be a press and present button???? xd

Well press could be "the nudge button" while present is the "file transfer", no?

And, a judge, a prosecutor and an attorney??????XDXDXDXDXD

AHahah..well, at minimum…but it will be many tables for char attendants, not only for a prosecutor, an attorney, a witness and the jury each… :p Well the judge sprite and the deadly hammer will be reserved for admin and moderators.. :p

Well, the Cocoa framework is supported…and the Cocoa touch is a subset of Cocoa framework, so it should be not so hard for iPhone.. but unless I have exams, I can't do nothing for now, sob..

3:45 pm
June 21, 2010


saluk

Admin

posts 144

Sounds like a neat idea, I know there are some huge issues with running python applications on both iphone and android. Technically it should be possible, but there are different blockages on each system. Also, pywright is prety heavily focused on the scripting engine and game side of things, so it would be pretty hard to separate out only the important parts. However, feel free to take whatever code might help! The most important file is core.py, it has the animation and text code. (class textbox, class sprite, class portrait). It's complex though, so you might be better off trying your own take instead of trying to use my bad code!

2:21 am
June 22, 2010


Dokugogagoji

Italy

Member

posts 4

Post edited 2:38 am – June 22, 2010 by Dokugogagoji


saluk said:Sounds like a neat idea, I know there are some huge issues with running python applications on both iphone and android. Technically it should be possible, but there are different blockages on each system.

Yeah, I know..however, crosscompiling the NumPy and PyGame native library components by the host towards the ARM architecture should be feasible. The current python version of iPhone is 2.5.2 so it is sufficient as the minimum requirement are met. Then, both supports the SDL framework and PyGame can use this for backend. So, it shouldn't be "techonology objstacles" . Some workaround and fixes indeed..

Also, pywright is prety heavily focused on the scripting engine and game side of things, so it would be pretty hard to separate out only the important parts. However, feel free to take whatever code might help! The most important file is core.py, it has the animation and text code. (class textbox, class sprite, class portrait). It's complex though, so you might be better off trying your own take instead of trying to use my bad code!

Well, I was thinking…. The scripting engine should be a "pure logic" block of code, though I haven't still gone deep in your code. So it's better to do those two steps:

–>Run the entire PyWright on those and more embedded devices. So we can obtain also "an open source game" and distribuited maybe fan-made cases with Cydia and other channel distribution. It should make also the project more popular and more case-maker people could contribute on that.

–>Then, a long-way stripping of code to obtain only the animation/text code part and make the chat idea.

And these task, with the first hypothesize are indipendent each other. So the first point is embedded-focus and the second could be tested also in a PC.

My idea is so using the "portability power :D " of PyWright that PwLib does not have. No?


4:33 pm
June 23, 2010


saluk

Admin

posts 144

On iphone, I don't know if this has changed, but you can't actually distribute applications written in python. But maybe it works now I haven't been following it closely. Android has a version of python but it doesn't get access to graphics or pygame. I think there have been attempts to compile a pygame for android, but I don't know how successful they've been (my guess is not very). But good luck anyhow.

4:12 am
June 24, 2010


Dokugogagoji

Italy

Member

posts 4

saluk said:On iphone, I don't know if this has changed, but you can't actually distribute applications written in python.

Yeah, you are right, if we talking about AppStore…Apple proibithes linking to an external framework in their apps. But this is not a problem with Cydia (and because we use a debian subsystem the app is not sandboxed)….obviously, the app will be only for jailbreakers. But there are a lot of them and it will be a nice proof of concept! :) …and there are the original multimedia content for the game so even if Apple had permitted the external linkage, we had to force ourself to change graphics…

Android has a version of python but it doesn't get access to graphics or pygame. I think there have been attempts to compile a pygame for android, but I don't know how successful they've been (my guess is not very). But good luck anyhow.

Uhm, I would try. I can try running it on Android 1.6 (without acceleration…I hope PyGame use managed graphics than opengl, but I think it does not use it) and iPhone 3.1.3 as I have only them. I have in middle of my exams so I can start seriously at least the next month, but I'll inform you on the progress!



3:34 pm
June 28, 2010


saluk

Admin

posts 144

Sounds pretty great! You obviously know more about these platforms than I do. Pygame does run without acceleration (although it can use some acceleration if available) so that is not a problem. PyWright 1.0 is fully programmed for software rendering, though at one point there was an opengl mode. I guess that jailbreking is a small price to pay for your average gyakuten fan.

No Tags