在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:yuehaowang/pylash_engine开源软件地址:https://github.com/yuehaowang/pylash_engine开源编程语言:Python 100.0%开源软件介绍:Pylash EngineLatest Version: 2.0.0 Pylash is a modern and cross-platform 2D game engine written in Python. With modern and practical interfaces provided by pylash, you can create games in an easy and relaxed way. LicenseWhy Pylash
Get Started with PylashInstallation$ pip install pylash-engine Hello World ProgramCreate a Python file and open it with your favorite text editor. Type in the code below: from pylash.core import init, addChild
from pylash.display import TextField
def main():
txt = TextField()
txt.text = "Hello World"
txt.size = 40
txt.x = txt.y = 100
addChild(txt)
init(30, "Hello World", 400, 300, main) Run the Python file. If a window with a "Hello World" text shows up, you have installed pylash successfully. Tutorials
ContributingThis project is hosted on Github. Issue reports and pull requests are welcome. In addition, you can drop me an email if you have any question or suggestion.
Example Screenshots
Changelog for 2.0.0
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论