【问题标题】:Compiling pygame multiple scripts with images and music files用图像和音乐文件编译 pygame 多个脚本
【发布时间】:2020-06-21 18:59:27
【问题描述】:

我一直在尝试编译我的游戏。我尝试使用 cx_Freeze 和 pyinstaller。它有 3 个 pygame python 脚本、5 个音乐文件、3 个 PNG 文件格式

【问题讨论】:

  • 你有什么问题?
  • 如何编译我的 pygame 脚本?

标签: python pygame pyinstaller py2exe cx-freeze


【解决方案1】:

请参阅此处的完整示例,了解如何在 cxfreeze 设置中包含文件和多个 Python 文件 -

How do I convert my pygame program which has multiple python scripts and images to a exe?

【讨论】:

    猜你喜欢
    • 2012-08-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-06
    相关资源
    最近更新 更多