PyScene 1.0.4__tar.gz → 1.0.5__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 (24) hide show
  1. {pyscene-1.0.4 → pyscene-1.0.5}/PKG-INFO +1 -1
  2. {pyscene-1.0.4 → pyscene-1.0.5}/pyproject.toml +1 -1
  3. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/Game.py +2 -1
  4. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/__init__.py +1 -1
  5. {pyscene-1.0.4 → pyscene-1.0.5}/.gitignore +0 -0
  6. {pyscene-1.0.4 → pyscene-1.0.5}/LICENSE +0 -0
  7. {pyscene-1.0.4 → pyscene-1.0.5}/README.md +0 -0
  8. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/Collisions.py +0 -0
  9. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/Keys.py +0 -0
  10. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/Math.py +0 -0
  11. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/Net.py +0 -0
  12. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/Collision_shapes.py +0 -0
  13. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/GameObj.py +0 -0
  14. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/Shapes.py +0 -0
  15. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/Text.py +0 -0
  16. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/__init__.py +0 -0
  17. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/objs/animation.py +0 -0
  18. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/utils/Assets.py +0 -0
  19. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/utils/Subscreen.py +0 -0
  20. {pyscene-1.0.4 → pyscene-1.0.5}/src/PyScene/utils/__init__.py +0 -0
  21. {pyscene-1.0.4 → pyscene-1.0.5}/tests/flappy_bird.py +0 -0
  22. {pyscene-1.0.4 → pyscene-1.0.5}/tests/pause.png +0 -0
  23. {pyscene-1.0.4 → pyscene-1.0.5}/tests/test.py +0 -0
  24. {pyscene-1.0.4 → pyscene-1.0.5}/tests/testColl.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: PyScene
3
- Version: 1.0.4
3
+ Version: 1.0.5
4
4
  Summary: A small example package
5
5
  Project-URL: Homepage, https://github.com/sfertig/PyScene
6
6
  Project-URL: Issues, https://github.com/sfertig/PyScene/issues
@@ -3,7 +3,7 @@ requires = ["hatchling >= 1.26"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name = "PyScene"
6
- version = "1.0.4"
6
+ version = "1.0.5"
7
7
  authors = [
8
8
  { name="Sam Fertig", email="sfertig007@gmail.com" },
9
9
  ]
@@ -194,7 +194,8 @@ class Scene:
194
194
  self._render_queue = []
195
195
  self.queue_creation = []
196
196
  self.queue_del = []
197
- Game.scenes[name] = self
197
+ Game.scenes[name] = self.__class__
198
+ Game.set_scene(name)
198
199
 
199
200
  def on_change(self): pass
200
201
 
@@ -1,6 +1,6 @@
1
1
  #imports
2
2
  "PyScene is a custom python + pygame framework / engine developed to streamline 2d game development."
3
- "Version: 1.0.4"
3
+ "Version: 1.0.5"
4
4
 
5
5
  from .Game import Game, Scene, handle_collision
6
6
  from .Math import *
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes