pygamestudio 1.0.0.dev6__tar.gz → 1.0.0.dev7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/PKG-INFO +2 -2
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/README.md +1 -1
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/README_zh-CN.md +1 -1
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/pyproject.toml +1 -1
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/core/scene.py +9 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/i18n/languages/en.json +102 -3
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/i18n/languages/zh_CN.json +102 -3
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/bucket.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/color_picker.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/eraser.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/fit_window_size.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/flip_horizontal.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/flip_vertical.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/frame_sequence.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/new.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/next.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/particle.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/pause.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/pen.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/polygon.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/previous.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/redo.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/refresh.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/rotate_ccw.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/rotate_cw.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/run.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/save.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/save_as.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/square.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/stop.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/undo.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/zoom_in.png +0 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/zoom_out.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/qss/dark.qss +149 -3
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/qss/light.qss +149 -4
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/resources.qrc +25 -2
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/resources_rc.py +2765 -999
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/templates/editor_template.pygs +5 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/templates/main_template.py +3 -3
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/templates/object_script_template.py +38 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/common/utils/constant.py +1 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/game/core/collision.py +169 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/core/command.py +15 -1
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/core/manager.py +57 -3
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/__init__.py +3 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/game/object/base.py +708 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/game/object/frame_sequence.py +261 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/line.py +3 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/game/object/particle.py +265 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/game/object/polygon.py +126 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/type.py +4 -1
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/menu.py +27 -6
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/tree.py +98 -15
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/window.py +8 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/audio_player/__init__.py +12 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/audio_player/engine.py +257 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/audio_player/widgets.py +129 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/audio_player/window.py +465 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/__init__.py +2 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/completion.py +188 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/editor.py +602 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/highlighter.py +172 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/menu.py +63 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/code_editor/window.py +250 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/browser.py +75 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/window.py +4 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/menu.py +13 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/image_editor/__init__.py +11 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/image_editor/canvas.py +538 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/image_editor/window.py +781 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/checkbox.py +33 -1
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/component/combo.py +43 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/lineedit.py +150 -4
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/spinbox.py +85 -1
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/component/widget.py +189 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/container.py +233 -10
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/layout/collision.py +90 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/layout/frame_sequence.py +141 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/line.py +22 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/layout/particle.py +185 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/inspector/layout/polygon.py +110 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/scene/gizmo.py +32 -10
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/scene/grid.py +11 -0
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/scene/guide.py +111 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/scene/screen.py +115 -12
- pygamestudio-1.0.0.dev7/src/pygamestudio/gui/scene/widget.py +75 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/window.py +57 -2
- pygamestudio-1.0.0.dev6/src/pygamestudio/common/res/templates/editor_template.pygs +0 -4
- pygamestudio-1.0.0.dev6/src/pygamestudio/common/res/templates/object_script_template.py +0 -12
- pygamestudio-1.0.0.dev6/src/pygamestudio/common/utils/constant.py +0 -1
- pygamestudio-1.0.0.dev6/src/pygamestudio/game/object/base.py +0 -387
- pygamestudio-1.0.0.dev6/src/pygamestudio/gui/scene/widget.py +0 -28
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/.github/FUNDING.yml +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/.gitignore +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/LICENSE +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/config/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/config/project.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/core/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/core/audio.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/core/game.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/event/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/api/event/constant.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/i18n/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/i18n/translator.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/audios/game_start.mp3 +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/fonts/SIMHEI.ttf +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/add.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/add_item.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/browse.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/button.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/canvas.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/check.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/clear.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/close.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/create_project.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/down_arrow.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/ellipse.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/error.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/expand_or_collapse_all.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/eye_closed.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/eye_off.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/eye_open.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/heart.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/image.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/import_project.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/info.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/left_arrow.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/left_arrow_gray.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/line.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/logo.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/maximize.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/maximize_disabled.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/minimize.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/normalize.png +0 -0
- /pygamestudio-1.0.0.dev6/src/pygamestudio/common/res/images/run.png → /pygamestudio-1.0.0.dev7/src/pygamestudio/common/res/images/play.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/project_icon.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/rect.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/refresh_asset.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/right_arrow.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/right_arrow_gray.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/search.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/sort.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/text.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/tree_arrow_down.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/tree_arrow_right.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/up_arrow.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/images/warning.png +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/templates/project_template.pygs +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/utils/config.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/utils/path.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/utils/system.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/utils/theme.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/core/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/button.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/canvas.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/ellipse.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/image.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/rect.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/game/object/text.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/about/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/about/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/delegate.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/model.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/search.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/type.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/asset/widget.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/base/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/build/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/build/desktop.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/build/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/logger.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/menu.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/search.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/type.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/console/widget.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/config.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/delegate.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/dialog.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/list.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/menu.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/model.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/search.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/type.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/widget.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/dashboard/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/delegate.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/search.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/tree.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/widget.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/hierarchy/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/color.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/button.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/combobox.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/label.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/picker.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/component/textedit.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/button.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/canvas.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/ellipse.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/image.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/rect.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/layout/text.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/widget.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/inspector/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/main.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/scene/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/scene/window.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/settings/__init__.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/settings/editor.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/gui/settings/project.py +0 -0
- {pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pygamestudio
|
|
3
|
-
Version: 1.0.0.
|
|
3
|
+
Version: 1.0.0.dev7
|
|
4
4
|
Summary: Let's create python games visually!
|
|
5
5
|
Project-URL: Documentation, https://pygamestudio.com/tutorial/installation
|
|
6
6
|
Project-URL: Homepage, https://pygamestudio.com
|
|
@@ -114,7 +114,7 @@ Once created, the game project will be displayed in the Dashboard.
|
|
|
114
114
|
|
|
115
115
|
**3.** Double-click the created project to open the editing window and start your creation.
|
|
116
116
|
|
|
117
|
-
<img src="https://i-blog.csdnimg.cn/direct/
|
|
117
|
+
<img src="https://i-blog.csdnimg.cn/direct/f1dfa703ce8843b6bd5b62bb3c8b6cc3.png" width="800"/>
|
|
118
118
|
|
|
119
119
|
<br>
|
|
120
120
|
|
|
@@ -85,7 +85,7 @@ Once created, the game project will be displayed in the Dashboard.
|
|
|
85
85
|
|
|
86
86
|
**3.** Double-click the created project to open the editing window and start your creation.
|
|
87
87
|
|
|
88
|
-
<img src="https://i-blog.csdnimg.cn/direct/
|
|
88
|
+
<img src="https://i-blog.csdnimg.cn/direct/f1dfa703ce8843b6bd5b62bb3c8b6cc3.png" width="800"/>
|
|
89
89
|
|
|
90
90
|
<br>
|
|
91
91
|
|
|
@@ -12,8 +12,11 @@ from pygamestudio.game.object.canvas import *
|
|
|
12
12
|
from pygamestudio.game.object.text import *
|
|
13
13
|
from pygamestudio.game.object.ellipse import *
|
|
14
14
|
from pygamestudio.game.object.line import *
|
|
15
|
+
from pygamestudio.game.object.polygon import *
|
|
15
16
|
from pygamestudio.game.object.image import *
|
|
16
17
|
from pygamestudio.game.object.button import *
|
|
18
|
+
from pygamestudio.game.object.particle import *
|
|
19
|
+
from pygamestudio.game.object.frame_sequence import *
|
|
17
20
|
from pygamestudio.api.config.project import get_project_config
|
|
18
21
|
from pygamestudio.common.i18n.translator import Translator as T
|
|
19
22
|
|
|
@@ -96,12 +99,18 @@ class SceneLoader:
|
|
|
96
99
|
obj = ObjectText(self, object_data, is_for_api=True)
|
|
97
100
|
elif object_type == OBJECT_ELLIPSE:
|
|
98
101
|
obj = ObjectEllipse(self, object_data, is_for_api=True)
|
|
102
|
+
elif object_type == OBJECT_POLYGON:
|
|
103
|
+
obj = ObjectPolygon(self, object_data, is_for_api=True)
|
|
99
104
|
elif object_type == OBJECT_LINE:
|
|
100
105
|
obj = ObjectLine(self, object_data, is_for_api=True)
|
|
101
106
|
elif object_type == OBJECT_IMAGE:
|
|
102
107
|
obj = ObjectImage(self, object_data, is_for_api=True)
|
|
103
108
|
elif object_type == OBJECT_BUTTON:
|
|
104
109
|
obj = ObjectButton(self, object_data, is_for_api=True)
|
|
110
|
+
elif object_type == OBJECT_PARTICLE:
|
|
111
|
+
obj = ObjectParticle(self, object_data, is_for_api=True)
|
|
112
|
+
elif object_type == OBJECT_FRAME_SEQUENCE:
|
|
113
|
+
obj = ObjectFrameSequence(self, object_data, is_for_api=True)
|
|
105
114
|
else:
|
|
106
115
|
raise RuntimeError(T.tr('api.unknown_object_type', 'Unknown object type: {}').format(object_type))
|
|
107
116
|
|
{pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/i18n/languages/en.json
RENAMED
|
@@ -88,9 +88,14 @@
|
|
|
88
88
|
"line": "Line",
|
|
89
89
|
"rect": "Rect",
|
|
90
90
|
"ellipse": "Ellipse",
|
|
91
|
+
"polygon": "Polygon",
|
|
91
92
|
"text": "Text",
|
|
92
93
|
"image": "Image",
|
|
93
|
-
"button": "Button"
|
|
94
|
+
"button": "Button",
|
|
95
|
+
"effects": "Effects",
|
|
96
|
+
"particle": "Particle Emitter",
|
|
97
|
+
"animation": "Animation",
|
|
98
|
+
"frame_sequence": "Frame Sequence"
|
|
94
99
|
},
|
|
95
100
|
|
|
96
101
|
"gm": {
|
|
@@ -118,7 +123,61 @@
|
|
|
118
123
|
"scene_saved": "Scene saved",
|
|
119
124
|
"run_project": "Run Project {}",
|
|
120
125
|
"failed_to_run_project": "Failed to Run Project {}: {}",
|
|
121
|
-
"run_project_finished": "Project {} exited with code {}"
|
|
126
|
+
"run_project_finished": "Project {} exited with code {}",
|
|
127
|
+
"run": "Run",
|
|
128
|
+
"refresh": "Refresh"
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
"code": {
|
|
132
|
+
"editor": "Code Editor",
|
|
133
|
+
"untitled": "Untitled",
|
|
134
|
+
"detach": "Detach",
|
|
135
|
+
"attach": "Attach to Tabs",
|
|
136
|
+
"saved": "Saved",
|
|
137
|
+
"unsaved": "Unsaved",
|
|
138
|
+
"save_failed": "Save failed",
|
|
139
|
+
"zoom_in": "Zoom In",
|
|
140
|
+
"zoom_out": "Zoom Out"
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
"image": {
|
|
144
|
+
"editor": "Image Editor",
|
|
145
|
+
"untitled": "Untitled",
|
|
146
|
+
"open": "Open Image",
|
|
147
|
+
"new": "New",
|
|
148
|
+
"new_title": "New Image",
|
|
149
|
+
"width": "Width",
|
|
150
|
+
"height": "Height",
|
|
151
|
+
"load_failed": "Failed to load image: {}",
|
|
152
|
+
"empty_hint": "Choose an image",
|
|
153
|
+
"unsaved_content": "The current image has unsaved changes. Do you want to save it?",
|
|
154
|
+
"save": "Save (Ctrl+S)",
|
|
155
|
+
"save_as": "Save As",
|
|
156
|
+
"saved": "Image saved: {}",
|
|
157
|
+
"save_failed": "Failed to save image: {}",
|
|
158
|
+
"size_format": "{} × {} px",
|
|
159
|
+
"undo": "Undo (Ctrl+Z)",
|
|
160
|
+
"redo": "Redo (Ctrl+Y)",
|
|
161
|
+
"clear": "Clear",
|
|
162
|
+
"pencil": "Pencil",
|
|
163
|
+
"eraser": "Eraser",
|
|
164
|
+
"line": "Line",
|
|
165
|
+
"rectangle": "Rectangle",
|
|
166
|
+
"ellipse": "Ellipse",
|
|
167
|
+
"fill": "Fill",
|
|
168
|
+
"color_picker": "Color Picker",
|
|
169
|
+
"color": "Color",
|
|
170
|
+
"brush_size": "Brush Size",
|
|
171
|
+
"flip_h": "Flip Horizontal",
|
|
172
|
+
"flip_v": "Flip Vertical",
|
|
173
|
+
"rotate_cw": "Rotate 90° CW",
|
|
174
|
+
"rotate_ccw": "Rotate 90° CCW",
|
|
175
|
+
"zoom_in": "Zoom In",
|
|
176
|
+
"zoom_out": "Zoom Out",
|
|
177
|
+
"fit": "Fit to Window",
|
|
178
|
+
"actual_size": "Actual Size",
|
|
179
|
+
"detach": "Detach",
|
|
180
|
+
"attach": "Attach to Tabs"
|
|
122
181
|
},
|
|
123
182
|
|
|
124
183
|
"hierarchy": {
|
|
@@ -134,6 +193,23 @@
|
|
|
134
193
|
"search_placeholder": "Search log"
|
|
135
194
|
},
|
|
136
195
|
|
|
196
|
+
"audio": {
|
|
197
|
+
"player": "Audio Player",
|
|
198
|
+
"no_audio": "No audio loaded",
|
|
199
|
+
"no_audio_path": "The audio file {} does not exist.",
|
|
200
|
+
"play": "Play",
|
|
201
|
+
"pause": "Pause",
|
|
202
|
+
"stop": "Stop",
|
|
203
|
+
"previous": "Previous",
|
|
204
|
+
"next": "Next",
|
|
205
|
+
"size": "Size: {}",
|
|
206
|
+
"load_failed": "Failed to load audio {}",
|
|
207
|
+
"open": "Open Audio File",
|
|
208
|
+
"empty_hint": "Choose an audio file",
|
|
209
|
+
"detach": "Detach",
|
|
210
|
+
"attach": "Attach to Tabs"
|
|
211
|
+
},
|
|
212
|
+
|
|
137
213
|
"inspector": {
|
|
138
214
|
"inspector": "Inspector",
|
|
139
215
|
"visibility": "Visibility",
|
|
@@ -143,6 +219,7 @@
|
|
|
143
219
|
"scale": "Scale",
|
|
144
220
|
"color": "Color",
|
|
145
221
|
"angle": "Angle",
|
|
222
|
+
"points": "Points",
|
|
146
223
|
"start_point": "Start Point",
|
|
147
224
|
"end_point": "End Point",
|
|
148
225
|
"thickness": "Thickness",
|
|
@@ -160,7 +237,29 @@
|
|
|
160
237
|
"font_path": "Font Path",
|
|
161
238
|
"script_path": "Script Path",
|
|
162
239
|
"select_script": "Select Script",
|
|
163
|
-
"format": "Format"
|
|
240
|
+
"format": "Format",
|
|
241
|
+
"emission_rate": "Emission Rate",
|
|
242
|
+
"max_particles": "Max Particles",
|
|
243
|
+
"particle_lifetime": "Lifetime",
|
|
244
|
+
"particle_speed": "Speed",
|
|
245
|
+
"particle_size": "Particle Size",
|
|
246
|
+
"particle_image": "Particle Image",
|
|
247
|
+
"gravity": "Gravity",
|
|
248
|
+
"spread_angle": "Spread Angle",
|
|
249
|
+
"auto_play": "Auto Play",
|
|
250
|
+
"loop": "Loop",
|
|
251
|
+
"frame_rate": "Frame Rate",
|
|
252
|
+
"frame_folder": "Frame Folder",
|
|
253
|
+
"select_folder": "Select Frame Folder",
|
|
254
|
+
"collision_enabled": "Enable Collision",
|
|
255
|
+
"collision_type": "Collision Type",
|
|
256
|
+
"collision_type_bbox": "Bounding Box",
|
|
257
|
+
"collision_type_rect": "Rect",
|
|
258
|
+
"collision_type_ellipse": "Ellipse",
|
|
259
|
+
"collision_type_polygon": "Polygon",
|
|
260
|
+
"collision_offset": "Collision Offset",
|
|
261
|
+
"collision_size": "Collision Size",
|
|
262
|
+
"collision_points": "Collision Points"
|
|
164
263
|
},
|
|
165
264
|
|
|
166
265
|
"dashboard": {
|
|
@@ -88,9 +88,14 @@
|
|
|
88
88
|
"line": "线条",
|
|
89
89
|
"rect": "矩形",
|
|
90
90
|
"ellipse": "椭圆",
|
|
91
|
+
"polygon": "多边形",
|
|
91
92
|
"text": "文本",
|
|
92
93
|
"image": "图片",
|
|
93
|
-
"button": "按钮"
|
|
94
|
+
"button": "按钮",
|
|
95
|
+
"effects": "特效",
|
|
96
|
+
"particle": "粒子发射器",
|
|
97
|
+
"animation": "动画",
|
|
98
|
+
"frame_sequence": "帧序列"
|
|
94
99
|
},
|
|
95
100
|
|
|
96
101
|
"gm": {
|
|
@@ -118,7 +123,61 @@
|
|
|
118
123
|
"scene_saved": "场景已保存",
|
|
119
124
|
"run_project": "运行项目{}",
|
|
120
125
|
"failed_to_run_project": "项目{}运行失败:{}",
|
|
121
|
-
"run_project_finished": "项目{}已退出,退出码:{}"
|
|
126
|
+
"run_project_finished": "项目{}已退出,退出码:{}",
|
|
127
|
+
"run": "运行",
|
|
128
|
+
"refresh": "刷新"
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
"code": {
|
|
132
|
+
"editor": "代码编辑器",
|
|
133
|
+
"untitled": "未命名",
|
|
134
|
+
"detach": "独立窗口",
|
|
135
|
+
"attach": "回到标签页",
|
|
136
|
+
"saved": "已保存",
|
|
137
|
+
"unsaved": "未保存",
|
|
138
|
+
"save_failed": "保存失败",
|
|
139
|
+
"zoom_in": "放大字体",
|
|
140
|
+
"zoom_out": "缩小字体"
|
|
141
|
+
},
|
|
142
|
+
|
|
143
|
+
"image": {
|
|
144
|
+
"editor": "图片编辑器",
|
|
145
|
+
"untitled": "未命名",
|
|
146
|
+
"open": "打开图片",
|
|
147
|
+
"new": "新建",
|
|
148
|
+
"new_title": "新建图片",
|
|
149
|
+
"width": "宽度",
|
|
150
|
+
"height": "高度",
|
|
151
|
+
"load_failed": "图片加载失败:{}",
|
|
152
|
+
"empty_hint": "请选择一张图片",
|
|
153
|
+
"unsaved_content": "当前图片有未保存的修改,是否保存?",
|
|
154
|
+
"save": "保存 (Ctrl+S)",
|
|
155
|
+
"save_as": "另存为",
|
|
156
|
+
"saved": "图片已保存:{}",
|
|
157
|
+
"save_failed": "图片保存失败:{}",
|
|
158
|
+
"size_format": "{} × {} 像素",
|
|
159
|
+
"undo": "撤销 (Ctrl+Z)",
|
|
160
|
+
"redo": "重做 (Ctrl+Y)",
|
|
161
|
+
"clear": "清除",
|
|
162
|
+
"pencil": "画笔",
|
|
163
|
+
"eraser": "橡皮擦",
|
|
164
|
+
"line": "直线",
|
|
165
|
+
"rectangle": "矩形",
|
|
166
|
+
"ellipse": "椭圆",
|
|
167
|
+
"fill": "填充",
|
|
168
|
+
"color_picker": "取色器",
|
|
169
|
+
"color": "颜色",
|
|
170
|
+
"brush_size": "画笔大小",
|
|
171
|
+
"flip_h": "水平翻转",
|
|
172
|
+
"flip_v": "垂直翻转",
|
|
173
|
+
"rotate_cw": "顺时针旋转90°",
|
|
174
|
+
"rotate_ccw": "逆时针旋转90°",
|
|
175
|
+
"zoom_in": "放大",
|
|
176
|
+
"zoom_out": "缩小",
|
|
177
|
+
"fit": "适应窗口",
|
|
178
|
+
"actual_size": "实际大小",
|
|
179
|
+
"detach": "独立窗口",
|
|
180
|
+
"attach": "回到标签页"
|
|
122
181
|
},
|
|
123
182
|
|
|
124
183
|
"hierarchy": {
|
|
@@ -134,6 +193,23 @@
|
|
|
134
193
|
"search_placeholder": "搜索日志"
|
|
135
194
|
},
|
|
136
195
|
|
|
196
|
+
"audio": {
|
|
197
|
+
"player": "音频播放器",
|
|
198
|
+
"no_audio": "未加载音频",
|
|
199
|
+
"no_audio_path": "音频文件 {} 不存在。",
|
|
200
|
+
"play": "播放",
|
|
201
|
+
"pause": "暂停",
|
|
202
|
+
"stop": "停止",
|
|
203
|
+
"previous": "上一首",
|
|
204
|
+
"next": "下一首",
|
|
205
|
+
"size": "大小:{}",
|
|
206
|
+
"load_failed": "音频加载失败 {}",
|
|
207
|
+
"open": "打开音频文件",
|
|
208
|
+
"empty_hint": "请选择音频文件",
|
|
209
|
+
"detach": "独立窗口",
|
|
210
|
+
"attach": "回到标签页"
|
|
211
|
+
},
|
|
212
|
+
|
|
137
213
|
"inspector": {
|
|
138
214
|
"inspector": "属性检查器",
|
|
139
215
|
"visibility": "可见性",
|
|
@@ -143,6 +219,7 @@
|
|
|
143
219
|
"scale": "缩放",
|
|
144
220
|
"color": "颜色",
|
|
145
221
|
"angle": "角度",
|
|
222
|
+
"points": "顶点",
|
|
146
223
|
"start_point": "起点",
|
|
147
224
|
"end_point": "终点",
|
|
148
225
|
"thickness": "粗细",
|
|
@@ -160,7 +237,29 @@
|
|
|
160
237
|
"script_path": "脚本路径",
|
|
161
238
|
"select_image": "选择图片",
|
|
162
239
|
"select_script": "选择脚本",
|
|
163
|
-
"format": "格式"
|
|
240
|
+
"format": "格式",
|
|
241
|
+
"emission_rate": "发射速率",
|
|
242
|
+
"max_particles": "最大粒子数",
|
|
243
|
+
"particle_lifetime": "粒子寿命",
|
|
244
|
+
"particle_speed": "粒子速度",
|
|
245
|
+
"particle_size": "粒子大小",
|
|
246
|
+
"particle_image": "粒子图片",
|
|
247
|
+
"gravity": "重力",
|
|
248
|
+
"spread_angle": "发射角度",
|
|
249
|
+
"auto_play": "自动播放",
|
|
250
|
+
"loop": "循环播放",
|
|
251
|
+
"frame_rate": "帧率",
|
|
252
|
+
"frame_folder": "帧文件夹",
|
|
253
|
+
"select_folder": "选择帧文件夹",
|
|
254
|
+
"collision_enabled": "启用碰撞",
|
|
255
|
+
"collision_type": "碰撞类型",
|
|
256
|
+
"collision_type_bbox": "包围盒",
|
|
257
|
+
"collision_type_rect": "矩形",
|
|
258
|
+
"collision_type_ellipse": "椭圆",
|
|
259
|
+
"collision_type_polygon": "多边形",
|
|
260
|
+
"collision_offset": "碰撞偏移",
|
|
261
|
+
"collision_size": "碰撞大小",
|
|
262
|
+
"collision_points": "碰撞顶点"
|
|
164
263
|
},
|
|
165
264
|
|
|
166
265
|
"dashboard": {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
{pygamestudio-1.0.0.dev6 → pygamestudio-1.0.0.dev7}/src/pygamestudio/common/res/qss/dark.qss
RENAMED
|
@@ -505,15 +505,15 @@ QLineEdit#consoleSearchLineEdit {
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
/* ----- Scene ----- */
|
|
508
|
-
QPushButton#sceneRunProjectBtn {
|
|
508
|
+
QPushButton#sceneRunProjectBtn, QPushButton#sceneRefreshBtn {
|
|
509
509
|
background-color: #1e1e1e;
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
QPushButton:hover#sceneRunProjectBtn {
|
|
512
|
+
QPushButton:hover#sceneRunProjectBtn, QPushButton:hover#sceneRefreshBtn {
|
|
513
513
|
background-color: #404142;
|
|
514
514
|
}
|
|
515
515
|
|
|
516
|
-
QPushButton:pressed#sceneRunProjectBtn {
|
|
516
|
+
QPushButton:pressed#sceneRunProjectBtn, QPushButton:pressed#sceneRefreshBtn {
|
|
517
517
|
background-color: #28292a;
|
|
518
518
|
}
|
|
519
519
|
|
|
@@ -546,6 +546,14 @@ QWidget#inspectorContainer QLabel {
|
|
|
546
546
|
background-color: #282828;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
+
QWidget#inspectorContainer QWidget#polygonPointsWidget {
|
|
550
|
+
background-color: #282828;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
QWidget#inspectorContainer QWidget#polygonPointsWidget QWidget#polygonPointsWidgetPairs {
|
|
554
|
+
background-color: #282828;
|
|
555
|
+
}
|
|
556
|
+
|
|
549
557
|
QWidget#inspectorContainer QCheckBox::indicator {
|
|
550
558
|
background-color: #1e1e1e;
|
|
551
559
|
}
|
|
@@ -563,3 +571,141 @@ QLabel#aboutCopyrightLabel {
|
|
|
563
571
|
font-size: 10px;
|
|
564
572
|
color: gray;
|
|
565
573
|
}
|
|
574
|
+
|
|
575
|
+
/* ----- Code Editor ----- */
|
|
576
|
+
QPlainTextEdit#codeEditor {
|
|
577
|
+
background-color: #1e1e1e;
|
|
578
|
+
color: #d4d4d4;
|
|
579
|
+
border: none;
|
|
580
|
+
selection-background-color: #404142;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
QWidget#codeEditorWindow QLabel#codeEditorStatus {
|
|
584
|
+
color: #6a9955;
|
|
585
|
+
background-color: transparent;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
QPushButton#codeEditorDetachBtn {
|
|
589
|
+
background-color: transparent;
|
|
590
|
+
border: none;
|
|
591
|
+
color: #cccccc;
|
|
592
|
+
padding: 4px 10px;
|
|
593
|
+
border-radius: 4px;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
QPushButton#codeEditorDetachBtn:hover {
|
|
597
|
+
background-color: #404142;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
QPushButton#codeEditorDetachBtn:pressed {
|
|
601
|
+
background-color: #28292a;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
QPushButton#codeEditorZoomInBtn, QPushButton#codeEditorZoomOutBtn {
|
|
605
|
+
background-color: transparent;
|
|
606
|
+
border: none;
|
|
607
|
+
border-radius: 4px;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
QPushButton#codeEditorZoomInBtn:hover, QPushButton#codeEditorZoomOutBtn:hover {
|
|
611
|
+
background-color: #404142;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
QPushButton#codeEditorZoomInBtn:pressed, QPushButton#codeEditorZoomOutBtn:pressed {
|
|
615
|
+
background-color: #28292a;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
QWidget#imageEditorWindow {
|
|
619
|
+
background-color: #252526;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
QWidget#imageEditorWindow QLabel {
|
|
623
|
+
color: #9d9d9d;
|
|
624
|
+
background-color: transparent;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
QScrollArea#imageEditorScrollArea {
|
|
628
|
+
background-color: #1e1e1e;
|
|
629
|
+
border: none;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
QScrollArea#imageEditorScrollArea > QWidget > QWidget {
|
|
633
|
+
background-color: #1e1e1e;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
QPushButton#imageEditorToolBtn, QPushButton#imageEditorViewBtn {
|
|
637
|
+
background-color: transparent;
|
|
638
|
+
border: none;
|
|
639
|
+
border-radius: 4px;
|
|
640
|
+
color: #d4d4d4;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
QPushButton#imageEditorToolBtn:hover, QPushButton#imageEditorViewBtn:hover {
|
|
644
|
+
background-color: #404142;
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
QPushButton#imageEditorToolBtn:pressed, QPushButton#imageEditorViewBtn:pressed {
|
|
648
|
+
background-color: #28292a;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
QWidget#imageEditorWindow QToolButton {
|
|
652
|
+
background-color: transparent;
|
|
653
|
+
border: none;
|
|
654
|
+
border-radius: 4px;
|
|
655
|
+
color: #d4d4d4;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
QWidget#imageEditorWindow QToolButton:hover {
|
|
659
|
+
background-color: #404142;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
QWidget#imageEditorWindow QToolButton:pressed {
|
|
663
|
+
background-color: #28292a;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
QWidget#imageEditorWindow QToolButton:checked {
|
|
667
|
+
background-color: #0e639c;
|
|
668
|
+
color: #ffffff;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
QWidget#imageEditorWindow QToolButton[active="true"] {
|
|
672
|
+
background-color: #0e639c;
|
|
673
|
+
color: #ffffff;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
QWidget#audioPlayerWindow {
|
|
677
|
+
background-color: #1e1e1e;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
QWidget#audioPlayerWindow QLabel {
|
|
681
|
+
color: #9d9d9d;
|
|
682
|
+
background-color: transparent;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
QLabel#imageEditorEmptyLabel {
|
|
686
|
+
color: #6b6b6b;
|
|
687
|
+
font-size: 16px;
|
|
688
|
+
background-color: transparent;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
QListView#codeEditorCompletionPopup {
|
|
692
|
+
background-color: #252526;
|
|
693
|
+
color: #cccccc;
|
|
694
|
+
border: 1px solid #404142;
|
|
695
|
+
outline: none;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
QListView#codeEditorCompletionPopup::item {
|
|
699
|
+
padding: 2px 6px;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
QListView#codeEditorCompletionPopup::item:hover {
|
|
703
|
+
background-color: #282828;
|
|
704
|
+
color: #cccccc;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
QListView#codeEditorCompletionPopup::item:selected {
|
|
708
|
+
background-color: #007acc;
|
|
709
|
+
color: #ffffff;
|
|
710
|
+
}
|
|
711
|
+
|