PyScene 1.0.0__tar.gz → 1.0.2__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 (25) hide show
  1. {pyscene-1.0.0 → pyscene-1.0.2}/LICENSE +1 -1
  2. {pyscene-1.0.0 → pyscene-1.0.2}/PKG-INFO +3 -1
  3. pyscene-1.0.2/README.md +6 -0
  4. {pyscene-1.0.0 → pyscene-1.0.2}/pyproject.toml +1 -1
  5. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/Game.py +1 -1
  6. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/__init__.py +2 -1
  7. pyscene-1.0.0/README.md +0 -4
  8. {pyscene-1.0.0 → pyscene-1.0.2}/.gitignore +0 -0
  9. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/Collisions.py +0 -0
  10. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/Keys.py +0 -0
  11. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/Math.py +0 -0
  12. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/Net.py +0 -0
  13. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/Collision_shapes.py +0 -0
  14. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/GameObj.py +0 -0
  15. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/Shapes.py +0 -0
  16. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/Text.py +0 -0
  17. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/__init__.py +0 -0
  18. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/objs/animation.py +0 -0
  19. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/utils/Assets.py +0 -0
  20. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/utils/Subscreen.py +0 -0
  21. {pyscene-1.0.0 → pyscene-1.0.2}/src/PyScene/utils/__init__.py +0 -0
  22. {pyscene-1.0.0 → pyscene-1.0.2}/tests/flappy_bird.py +0 -0
  23. {pyscene-1.0.0 → pyscene-1.0.2}/tests/pause.png +0 -0
  24. {pyscene-1.0.0 → pyscene-1.0.2}/tests/test.py +0 -0
  25. {pyscene-1.0.0 → pyscene-1.0.2}/tests/testColl.py +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) [year] [fullname]
3
+ Copyright (c) [2026] [Sam Fertig]
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: PyScene
3
- Version: 1.0.0
3
+ Version: 1.0.2
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
@@ -16,3 +16,5 @@ Description-Content-Type: text/markdown
16
16
 
17
17
  PyScene is a custom python + pygame framework / engine developed to streamline 2d game development.
18
18
 
19
+ Please Note: This engine is still in development and many features, like tilemaps and audio, are a work in progress. It also lack any form of documentation, I ask for patience as docs will be rolled out once the core features are more solidified.
20
+
@@ -0,0 +1,6 @@
1
+ # PyScene
2
+
3
+ PyScene is a custom python + pygame framework / engine developed to streamline 2d game development.
4
+
5
+ Please Note: This engine is still in development and many features, like tilemaps and audio, are a work in progress. It also lack any form of documentation, I ask for patience as docs will be rolled out once the core features are more solidified.
6
+
@@ -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.0"
6
+ version = "1.0.2"
7
7
  authors = [
8
8
  { name="Sam Fertig", email="sfertig007@gmail.com" },
9
9
  ]
@@ -183,7 +183,7 @@ class _game:
183
183
  if self.active_scene is not None: self.active_scene.destroy()
184
184
  self._clear_all_collisions_()
185
185
  self.active_scene = self.scenes.get(scene, None)
186
- if self.active_scene: self.active_scene.on_change()
186
+ if self.active_scene: self.active_scene.__init__(scene)
187
187
 
188
188
 
189
189
  class Scene:
@@ -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.0"
3
+ "Version: 1.0.2"
4
4
 
5
5
  from .Game import Game, Scene, handle_collision
6
6
  from .Math import *
@@ -14,6 +14,7 @@ from .utils import *
14
14
  #all
15
15
  __all__ = [
16
16
  "Vector2D",
17
+ "clamp",
17
18
  "SubScreen",
18
19
  "Game",
19
20
  "Scene",
pyscene-1.0.0/README.md DELETED
@@ -1,4 +0,0 @@
1
- # PyScene
2
-
3
- PyScene is a custom python + pygame framework / engine developed to streamline 2d game development.
4
-
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes