Pythonesque界面。 [英] Pythonesque interface.

查看:77
本文介绍了Pythonesque界面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好。我正在用python做一个简单的策略游戏,基于十六进制,用PIL库来支付
。我想知道是否有办法检查一个帧内的

指针位置,所以我可以找出哪个十六进制是

指针,但是以pythonesque方式,不使用Java或Flash。 Sajax是什么样的b $ b要走的路?我不认为这是解决方案,因为框架应该按照每秒30次的速度刷新,但是哎呀,你是贪婪的傻瓜。 />

谢谢!

解决方案

Gaz schrieb:

你好家伙。我正在用python做一个简单的策略游戏,基于十六进制,带有PIL库。我想知道是否有办法检查一个框架内的指针位置,所以我可以找出哪个十六进制是指针,但是以pythonesque的方式,不使用Java或Flash。 Sajax是走的路吗?我不认为这是解决方案,因为框架应该被刷新,每秒刷新30次,但是,哎呀,你是Python的傻瓜。



www.pygame.org

Diez


www.pygame.org


是的,但他显然希望将其发送到浏览器。 (还有

今天这个网站坏了......)


这个问题很多,但我认为没有答案到目前为止。


mt




Michael Tobis ha escrito:

www.pygame.org
是的,但他显然希望将其发送到浏览器。 (此外该网站今天已经破了......)

这个问题很多,但我认为现在还没有答案。

mt




是的,我希望它可以在浏览器上播放。


Hi guys. I''m doing a simple strategy game in python, hex based, with
the PIL library. I''d like to know if there is a way to check the
pointer position within a frame, so i can figure out which hex is the
pointer on, but in a pythonesque way, not using Java or Flash. Sajax is
the way to go? I dont think this is the solution, coz the frame should
be requiered to be refreshed like 30 times a second, but heck, you are
the Python savvies.

Thank you!

解决方案

Gaz schrieb:

Hi guys. I''m doing a simple strategy game in python, hex based, with
the PIL library. I''d like to know if there is a way to check the
pointer position within a frame, so i can figure out which hex is the
pointer on, but in a pythonesque way, not using Java or Flash. Sajax is
the way to go? I dont think this is the solution, coz the frame should
be requiered to be refreshed like 30 times a second, but heck, you are
the Python savvies.



www.pygame.org
Diez


www.pygame.org

Yes but he obviously wants this to be delivered to the browser. (Also
the site is broken today... )

This comes up a lot, but I don''t think there''s an answer to it as yet.

mt



Michael Tobis ha escrito:

www.pygame.org

Yes but he obviously wants this to be delivered to the browser. (Also
the site is broken today... )

This comes up a lot, but I don''t think there''s an answer to it as yet.

mt



Yeah, i want it playable on a browser.


这篇关于Pythonesque界面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆