首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > legume

legume

  • 资源大小:37.85 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

Version 0.5 is available The source repository has been migrated to bitbucket: https://bitbucket.org/reidyd/legume. Designed primarily for use in cross-platform game development, legume provides non-reliable, reliable and in-order transmission of messages via UDP. The focus behind the features and design of legume: Cater for the networking requirements of a multiplayer game with as little boiler-plate code as possible. Peaceful co-existence with widely-used game development frameworks and libraries such as pygame and pyglet. Don"t rely on third-party libraries or platform specific functionality. An example client with an event handler: ``` import legume from time import sleep def onconnected(sender, eventargs): print "Connected to server" client = legume.Client() client.OnConnectRequestAccepted += on_connected client.connect(("host.example.com", 4000))

文 件 列 表

Legume-0.5
PKG-INFO
setup.cfg
setup.py
legume
bitfield.py
Legume.egg-info
dependency_links.txt
tests
all_tests.py
VIP VIP
0.230133s