pyglet-gamemaker 1.0.0__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.
Files changed (38) hide show
  1. pyglet_gamemaker-1.0.0/.github/workflows/build-pipeline.yml +50 -0
  2. pyglet_gamemaker-1.0.0/.github/workflows/release.yml +70 -0
  3. pyglet_gamemaker-1.0.0/.gitignore +4 -0
  4. pyglet_gamemaker-1.0.0/LICENSE +21 -0
  5. pyglet_gamemaker-1.0.0/PKG-INFO +152 -0
  6. pyglet_gamemaker-1.0.0/README.md +134 -0
  7. pyglet_gamemaker-1.0.0/_version.py +34 -0
  8. pyglet_gamemaker-1.0.0/media/demo.gif +0 -0
  9. pyglet_gamemaker-1.0.0/media/demo.mp4 +0 -0
  10. pyglet_gamemaker-1.0.0/pyproject.toml +51 -0
  11. pyglet_gamemaker-1.0.0/requirements.txt +6 -0
  12. pyglet_gamemaker-1.0.0/run_demo.py +2 -0
  13. pyglet_gamemaker-1.0.0/run_tests.py +21 -0
  14. pyglet_gamemaker-1.0.0/src/__init__.py +4 -0
  15. pyglet_gamemaker-1.0.0/src/gui/__init__.py +3 -0
  16. pyglet_gamemaker-1.0.0/src/gui/button.py +317 -0
  17. pyglet_gamemaker-1.0.0/src/gui/text.py +224 -0
  18. pyglet_gamemaker-1.0.0/src/gui/text_button.py +342 -0
  19. pyglet_gamemaker-1.0.0/src/menu.py +254 -0
  20. pyglet_gamemaker-1.0.0/src/scene.py +93 -0
  21. pyglet_gamemaker-1.0.0/src/shapes/__init__.py +2 -0
  22. pyglet_gamemaker-1.0.0/src/shapes/hitbox.py +1002 -0
  23. pyglet_gamemaker-1.0.0/src/shapes/rect.py +110 -0
  24. pyglet_gamemaker-1.0.0/src/sprite.py +82 -0
  25. pyglet_gamemaker-1.0.0/src/types.py +26 -0
  26. pyglet_gamemaker-1.0.0/src/window.py +109 -0
  27. pyglet_gamemaker-1.0.0/test/Default Button.png +0 -0
  28. pyglet_gamemaker-1.0.0/test/__init__.py +0 -0
  29. pyglet_gamemaker-1.0.0/test/demo.py +70 -0
  30. pyglet_gamemaker-1.0.0/test/gui_button.py +76 -0
  31. pyglet_gamemaker-1.0.0/test/gui_text.py +63 -0
  32. pyglet_gamemaker-1.0.0/test/gui_text_button.py +84 -0
  33. pyglet_gamemaker-1.0.0/test/menu.py +79 -0
  34. pyglet_gamemaker-1.0.0/test/shapes_circle.py +51 -0
  35. pyglet_gamemaker-1.0.0/test/shapes_hitbox.py +78 -0
  36. pyglet_gamemaker-1.0.0/test/shapes_rect.py +59 -0
  37. pyglet_gamemaker-1.0.0/test/sprite_spritesheet.py +9 -0
  38. pyglet_gamemaker-1.0.0/test/window.py +141 -0
@@ -0,0 +1,50 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+
4
+ name: CI build
5
+
6
+ on:
7
+ push:
8
+ branches: [ "main" ]
9
+ pull_request:
10
+ branches: [ "main" ]
11
+
12
+ jobs:
13
+ build:
14
+
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ fail-fast: true
18
+ matrix:
19
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v6
23
+
24
+ - name: Set up Python ${{ matrix.python-version }}
25
+ uses: actions/setup-python@v6
26
+ with:
27
+ python-version: ${{ matrix.python-version }}
28
+ cache: 'pip'
29
+
30
+ - name: Install dependencies
31
+ run: |
32
+ python -m pip install --upgrade pip
33
+ pip install -r requirements.txt
34
+
35
+ - name: Run Ruff
36
+ uses: astral-sh/ruff-action@v1
37
+ with:
38
+ args: "check --output-format=github"
39
+ src: "."
40
+
41
+ #- name: Lint with flake8
42
+ # run: |
43
+ # # stop the build if there are Python syntax errors or undefined names
44
+ # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
45
+ # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
46
+ # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
47
+
48
+ #- name: Test with pytest
49
+ # run: |
50
+ # pytest
@@ -0,0 +1,70 @@
1
+ # This workflow will upload a Python Package to PyPI when a release is created
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name: PyPI Upload
10
+
11
+ on:
12
+ release:
13
+ types: [published]
14
+
15
+ permissions:
16
+ contents: read
17
+
18
+ jobs:
19
+ release-build:
20
+ runs-on: ubuntu-latest
21
+
22
+ steps:
23
+ - uses: actions/checkout@v6
24
+
25
+ - uses: actions/setup-python@v6
26
+ with:
27
+ python-version: "3.x"
28
+
29
+ - name: Build release distributions
30
+ run: |
31
+ # NOTE: put your own distribution build steps here.
32
+ python -m pip install build
33
+ python -m build
34
+
35
+ - name: Upload distributions
36
+ uses: actions/upload-artifact@v4
37
+ with:
38
+ name: release-dists
39
+ path: dist/
40
+
41
+ pypi-publish:
42
+ runs-on: ubuntu-latest
43
+ needs:
44
+ - release-build
45
+ permissions:
46
+ # IMPORTANT: this permission is mandatory for trusted publishing
47
+ id-token: write
48
+
49
+ # Dedicated environments with protections for publishing are strongly recommended.
50
+ # For more information, see: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#deployment-protection-rules
51
+ environment:
52
+ name: pypi
53
+ # OPTIONAL: uncomment and update to include your PyPI project URL in the deployment status:
54
+ # url: https://pypi.org/p/pyglet-gamemaker
55
+ #
56
+ # ALTERNATIVE: if your GitHub Release name is the PyPI project version string
57
+ # ALTERNATIVE: exactly, uncomment the following line instead:
58
+ url: https://pypi.org/project/pyglet_gamemaker/${{ github.event.release.name }}
59
+
60
+ steps:
61
+ - name: Retrieve release distributions
62
+ uses: actions/download-artifact@v4
63
+ with:
64
+ name: release-dists
65
+ path: dist/
66
+
67
+ - name: Publish release distributions to PyPI
68
+ uses: pypa/gh-action-pypi-publish@release/v1
69
+ with:
70
+ packages-dir: dist/
@@ -0,0 +1,4 @@
1
+ __pycache__
2
+ .vscode
3
+ .venv
4
+ _version.py
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) [2025] [Steven Robles]
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,152 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyglet-gamemaker
3
+ Version: 1.0.0
4
+ Summary: pyglet wrapper for making games.
5
+ Project-URL: Homepage, https://github.com/Badnameee/pyglet-gamemaker
6
+ Project-URL: Issues, https://github.com/Badnameee/pyglet-gamemaker/issues
7
+ Author-email: Steven Robles <stevenrrobles13@gmail.com>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3.10
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
16
+ Requires-Python: >=3.10
17
+ Description-Content-Type: text/markdown
18
+
19
+ # 📦 pyglet-gamemaker
20
+
21
+ <!-- (add your badges here) -->
22
+
23
+ <!-- > *Your documentation is a direct reflection of your software, so hold it to the same standards.* -->
24
+
25
+
26
+ ## ℹ️ Overview
27
+
28
+ <!-- A paragraph explaining your work, who you are, and why you made it. -->
29
+
30
+ **pyglet-gamemaker** is an extension of Pyglet that simplifies the process of making games! This project began when I became frustrated at the boilerplate I had to write all the time, and I wanted a cleaner system to quickly add features.
31
+
32
+
33
+ ## 🌟 Features
34
+
35
+ - Hitboxes
36
+ - Fully working convex polygon collision
37
+ - Includes circles
38
+ - Spritesheets:
39
+ - Automatically loaded
40
+ - Labelable to allow for indexing by string
41
+ - Widgets:
42
+ - Dynamic anchoring for changing size
43
+ - Uses spritesheets instead of individual images
44
+ - Scenes:
45
+ - Enabling and disabling handled automatically
46
+ - Menus:
47
+ - Easily create visuals + widgets
48
+ - Widget positions relative to window size
49
+ - Main Window class handles switching of scenes
50
+
51
+ ### ✍️ Authors
52
+
53
+ I'm [Steven Robles](https://github.com/Badnameee) and I am a high school student with a *small?* passion for making games.
54
+
55
+
56
+ ## 🚀 Usage
57
+
58
+ <!-- *Show off what your software looks like in action! Try to limit it to one-liners if possible and don't delve into API specifics.* -->
59
+
60
+ A simple program to render an empty Menu with button detection:
61
+ ```py
62
+ >>> import pyglet_gamemaker as pgm
63
+ >>> from pyglet_gamemaker.types import Color
64
+ >>>
65
+ >>>
66
+ >>> class Menu(pgm.Menu):
67
+ >>> # Create widgets here
68
+ >>> def create_widgets(self): ...
69
+ >>> # Code that runs when button is pressed down
70
+ >>> def on_half_click(self, button): ...
71
+ >>> # Code that runs when button is fully clicked and released
72
+ >>> def on_full_click(self, button): ...
73
+ >>> # Code that runs when scene is enabled
74
+ >>> def enable(self): ...
75
+ >>> # Code that runs when scene is disabled
76
+ >>> def disable(self): ...
77
+ >>>
78
+ >>>
79
+ >>> scene = Menu('Test')
80
+ >>> game = pgm.Window((640, 480))
81
+ >>> game.add_scene('Test', scene)
82
+ >>> game.run()
83
+ ```
84
+
85
+ Creating a spritesheet
86
+ ```py
87
+ >>> # Create a sprite sheet with image assets
88
+ >>> # This image, found in /test, has 3 images (bottom to top):
89
+ >>> # Unpressed, Hover, and Pressed
90
+ >>> self.sheet = pgm.sprite.SpriteSheet('test/Default Button.png', rows=3, cols=1)
91
+ ```
92
+
93
+ The following should go in `Menu.create_widgets()`:
94
+
95
+ - Creating text
96
+ ```py
97
+ >>> self.create_text(
98
+ >>> 'Text', 'Test',
99
+ >>> ('center', 'center'), color=pgm.types.Color.BLACK
100
+ >>> )
101
+ ```
102
+
103
+ - Creating a button
104
+ ```py
105
+ >>> self.create_button(
106
+ >>> 'Button', self.sheet, 0,
107
+ >>> ('center', 'center'),
108
+ >>> # Event handlers defined in empty Menu class above
109
+ >>> on_half_click=self.on_half_click, on_full_click=self.on_full_click
110
+ >>> )
111
+ ```
112
+
113
+ - Creating a text and button in one
114
+ ```py
115
+ >>> # A textbutton combines text and a button
116
+ >>> # Hover enlarge makes text larger when hovering
117
+ >>> # Works well with using larger hover sprite for button
118
+ >>> self.create_text_button(
119
+ >>> 'TextButton', 'Text',
120
+ >>> self.sheet, 0,
121
+ >>> ('center', 'center'), ('center', 'center'),
122
+ >>> # Event handlers defined in empty Menu class above
123
+ >>> on_half_click=self.on_half_click, on_full_click=self.on_full_click
124
+ >>> )
125
+ ```
126
+
127
+ <img src="/media/demo.gif" width="50%" height="50%"/>
128
+
129
+
130
+ ## ⬇️ Installation
131
+
132
+ Simple, understandable installation instructions!
133
+
134
+ ```bash
135
+ pip install pyglet-gamemaker
136
+ ```
137
+
138
+ <!-- And be sure to specify any other minimum requirements like Python versions or operating systems. -->
139
+ Works in Python >=3.10
140
+
141
+ <!-- *You may be inclined to add development instructions here, don't.* -->
142
+
143
+
144
+ ## 💭 Feedback and Contributing
145
+
146
+ <!--Add a link to the Discussions tab in your repo and invite users to open issues for bugs/feature requests. -->
147
+
148
+ To request features or report bugs, open an issue [here](https://github.com/Badnameee/pyglet-gamemaker/issues).
149
+
150
+ [Contact me directly](mailto:stevenrrobles13@gmail.com)
151
+
152
+ <!-- This is also a great place to invite others to contribute in any ways that make sense for your project. Point people to your DEVELOPMENT and/or CONTRIBUTING guides if you have them. -->
@@ -0,0 +1,134 @@
1
+ # 📦 pyglet-gamemaker
2
+
3
+ <!-- (add your badges here) -->
4
+
5
+ <!-- > *Your documentation is a direct reflection of your software, so hold it to the same standards.* -->
6
+
7
+
8
+ ## ℹ️ Overview
9
+
10
+ <!-- A paragraph explaining your work, who you are, and why you made it. -->
11
+
12
+ **pyglet-gamemaker** is an extension of Pyglet that simplifies the process of making games! This project began when I became frustrated at the boilerplate I had to write all the time, and I wanted a cleaner system to quickly add features.
13
+
14
+
15
+ ## 🌟 Features
16
+
17
+ - Hitboxes
18
+ - Fully working convex polygon collision
19
+ - Includes circles
20
+ - Spritesheets:
21
+ - Automatically loaded
22
+ - Labelable to allow for indexing by string
23
+ - Widgets:
24
+ - Dynamic anchoring for changing size
25
+ - Uses spritesheets instead of individual images
26
+ - Scenes:
27
+ - Enabling and disabling handled automatically
28
+ - Menus:
29
+ - Easily create visuals + widgets
30
+ - Widget positions relative to window size
31
+ - Main Window class handles switching of scenes
32
+
33
+ ### ✍️ Authors
34
+
35
+ I'm [Steven Robles](https://github.com/Badnameee) and I am a high school student with a *small?* passion for making games.
36
+
37
+
38
+ ## 🚀 Usage
39
+
40
+ <!-- *Show off what your software looks like in action! Try to limit it to one-liners if possible and don't delve into API specifics.* -->
41
+
42
+ A simple program to render an empty Menu with button detection:
43
+ ```py
44
+ >>> import pyglet_gamemaker as pgm
45
+ >>> from pyglet_gamemaker.types import Color
46
+ >>>
47
+ >>>
48
+ >>> class Menu(pgm.Menu):
49
+ >>> # Create widgets here
50
+ >>> def create_widgets(self): ...
51
+ >>> # Code that runs when button is pressed down
52
+ >>> def on_half_click(self, button): ...
53
+ >>> # Code that runs when button is fully clicked and released
54
+ >>> def on_full_click(self, button): ...
55
+ >>> # Code that runs when scene is enabled
56
+ >>> def enable(self): ...
57
+ >>> # Code that runs when scene is disabled
58
+ >>> def disable(self): ...
59
+ >>>
60
+ >>>
61
+ >>> scene = Menu('Test')
62
+ >>> game = pgm.Window((640, 480))
63
+ >>> game.add_scene('Test', scene)
64
+ >>> game.run()
65
+ ```
66
+
67
+ Creating a spritesheet
68
+ ```py
69
+ >>> # Create a sprite sheet with image assets
70
+ >>> # This image, found in /test, has 3 images (bottom to top):
71
+ >>> # Unpressed, Hover, and Pressed
72
+ >>> self.sheet = pgm.sprite.SpriteSheet('test/Default Button.png', rows=3, cols=1)
73
+ ```
74
+
75
+ The following should go in `Menu.create_widgets()`:
76
+
77
+ - Creating text
78
+ ```py
79
+ >>> self.create_text(
80
+ >>> 'Text', 'Test',
81
+ >>> ('center', 'center'), color=pgm.types.Color.BLACK
82
+ >>> )
83
+ ```
84
+
85
+ - Creating a button
86
+ ```py
87
+ >>> self.create_button(
88
+ >>> 'Button', self.sheet, 0,
89
+ >>> ('center', 'center'),
90
+ >>> # Event handlers defined in empty Menu class above
91
+ >>> on_half_click=self.on_half_click, on_full_click=self.on_full_click
92
+ >>> )
93
+ ```
94
+
95
+ - Creating a text and button in one
96
+ ```py
97
+ >>> # A textbutton combines text and a button
98
+ >>> # Hover enlarge makes text larger when hovering
99
+ >>> # Works well with using larger hover sprite for button
100
+ >>> self.create_text_button(
101
+ >>> 'TextButton', 'Text',
102
+ >>> self.sheet, 0,
103
+ >>> ('center', 'center'), ('center', 'center'),
104
+ >>> # Event handlers defined in empty Menu class above
105
+ >>> on_half_click=self.on_half_click, on_full_click=self.on_full_click
106
+ >>> )
107
+ ```
108
+
109
+ <img src="/media/demo.gif" width="50%" height="50%"/>
110
+
111
+
112
+ ## ⬇️ Installation
113
+
114
+ Simple, understandable installation instructions!
115
+
116
+ ```bash
117
+ pip install pyglet-gamemaker
118
+ ```
119
+
120
+ <!-- And be sure to specify any other minimum requirements like Python versions or operating systems. -->
121
+ Works in Python >=3.10
122
+
123
+ <!-- *You may be inclined to add development instructions here, don't.* -->
124
+
125
+
126
+ ## 💭 Feedback and Contributing
127
+
128
+ <!--Add a link to the Discussions tab in your repo and invite users to open issues for bugs/feature requests. -->
129
+
130
+ To request features or report bugs, open an issue [here](https://github.com/Badnameee/pyglet-gamemaker/issues).
131
+
132
+ [Contact me directly](mailto:stevenrrobles13@gmail.com)
133
+
134
+ <!-- This is also a great place to invite others to contribute in any ways that make sense for your project. Point people to your DEVELOPMENT and/or CONTRIBUTING guides if you have them. -->
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '1.0.0'
32
+ __version_tuple__ = version_tuple = (1, 0, 0)
33
+
34
+ __commit_id__ = commit_id = None
Binary file
Binary file
@@ -0,0 +1,51 @@
1
+ [build-system]
2
+ requires = ["hatchling >= 1.27", "hatch-vcs"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [tool.hatch.version]
6
+ source = "vcs"
7
+
8
+ [tool.hatch.build.hooks.vcs]
9
+ version-file = "_version.py"
10
+
11
+ [project]
12
+ name = "pyglet-gamemaker"
13
+ dynamic = ["version"]
14
+ authors = [
15
+ { name="Steven Robles", email="stevenrrobles13@gmail.com" }
16
+ ]
17
+ description = "pyglet wrapper for making games."
18
+ readme = "README.md"
19
+ requires-python = ">=3.10"
20
+ classifiers = [
21
+ "Programming Language :: Python :: 3.10",
22
+ "Programming Language :: Python :: 3.11",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Programming Language :: Python :: 3.14",
26
+ "Operating System :: OS Independent",
27
+ ]
28
+ license = "MIT"
29
+ license-files = ["LICEN[CS]E*"]
30
+
31
+ [project.urls]
32
+ Homepage = "https://github.com/Badnameee/pyglet-gamemaker"
33
+ Issues = "https://github.com/Badnameee/pyglet-gamemaker/issues"
34
+
35
+ [tool.mypy]
36
+ python_version = "3.14"
37
+ exclude = [
38
+ "^test/.*$",
39
+ "^run_tests\\.py$",
40
+ "^run_demo\\.py$"
41
+ ]
42
+
43
+ [tool.ruff]
44
+ exclude = ["**/__init__.py"]
45
+
46
+ [tool.ruff.format]
47
+ indent-style = "tab"
48
+ quote-style = "single"
49
+
50
+ [tool.ruff.lint]
51
+ ignore = ["F403", "F405"]
@@ -0,0 +1,6 @@
1
+ mypy==1.18.2
2
+ mypy_extensions==1.1.0
3
+ pathspec==0.12.1
4
+ pyglet==2.1.10
5
+ ruff==0.14.10
6
+ typing_extensions==4.15.0
@@ -0,0 +1,2 @@
1
+ import test.demo
2
+ test.demo
@@ -0,0 +1,21 @@
1
+ import pyglet
2
+
3
+ # Holds all imports for tests
4
+ tests = [
5
+ 'sprite_spritesheet',
6
+ 'gui_button',
7
+ 'gui_text',
8
+ 'gui_text_button',
9
+ 'shapes_hitbox',
10
+ 'shapes_rect',
11
+ 'shapes_circle',
12
+ 'menu',
13
+ 'window',
14
+ ]
15
+
16
+ pyglet.resource.path = ['test']
17
+ pyglet.resource.reindex()
18
+
19
+ for test_num, test in enumerate(tests, 1):
20
+ print(f'\n-----------------------------\nStarting test #{test_num}: "{test}"\n\n')
21
+ exec(f'import test.{test}') # Run actual test
@@ -0,0 +1,4 @@
1
+ from .menu import Menu
2
+ from .scene import Scene
3
+ from .window import Window
4
+ from . import sprite, types
@@ -0,0 +1,3 @@
1
+ from .button import Button
2
+ from .text import Text
3
+ from .text_button import TextButton