devpace 1.1.1__tar.gz → 1.1.3__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.
- {devpace-1.1.1 → devpace-1.1.3}/PKG-INFO +6 -2
- devpace-1.1.3/README.md +5 -0
- {devpace-1.1.1 → devpace-1.1.3}/pyproject.toml +1 -1
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/__init__.py +1 -1
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/helpers/_tilemapEditor.py +1 -1
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/main.py +5 -3
- devpace-1.1.1/README.md +0 -1
- {devpace-1.1.1 → devpace-1.1.3}/.gitignore +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/LICENSE +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/GlobalDebugger.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/_net.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/assets/animations.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/assets/cache.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/assets/images.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/assets/text.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/assets/tilemap.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/basics/camera.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/basics/input.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/basics/shapes.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/helpers/_tilemap_files.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/helpers/timers.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/helpers/utils.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/physics/KinematicPlatform.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/physics/StateManager.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/physics/collisions.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/src/devpace/physics/dynamicBody.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/PL #3 Species(Grass & flowers).png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/TileSet/PL #1 TileSet(Ground).png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/TileSet/PL #1 TileSet(Lava Animation).png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/TileSet/PL #1 TileSet(Water Animation).png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/levelTiles.png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/assets/test.png +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/game.json +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/platformergame.py +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/props.json +0 -0
- {devpace-1.1.1 → devpace-1.1.3}/tests/test.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: devpace
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.3
|
|
4
4
|
Summary: A growing game framework for pygame developement
|
|
5
5
|
Project-URL: Homepage, https://github.com/sfertig/GameEngine
|
|
6
6
|
Project-URL: Issues, https://github.com/sfertig/GameEngine/issues
|
|
@@ -12,4 +12,8 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: >=3.9
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
v 1.1.3
|
|
16
|
+
Updates:
|
|
17
|
+
-Fixed left over collision shapes in change and reload scene
|
|
18
|
+
|
|
19
|
+
|
devpace-1.1.3/README.md
ADDED
|
@@ -24,7 +24,7 @@ class _TileMapEditor:
|
|
|
24
24
|
self.mode = "painting"
|
|
25
25
|
self.cooldown = False
|
|
26
26
|
|
|
27
|
-
self.cam = Camera(-width/2, -height/2)
|
|
27
|
+
self.cam = Camera(pin[0]-width/2, pin[1]-height/2) #center cam around pin
|
|
28
28
|
self.cam_speed = 275
|
|
29
29
|
|
|
30
30
|
self.win = pygame.Window("Tilemap Editor", (width, height), (x, y))
|
|
@@ -150,6 +150,7 @@ class Engine:
|
|
|
150
150
|
if resetObjects:
|
|
151
151
|
Global.tilemaps = {}
|
|
152
152
|
Global.objects = {}
|
|
153
|
+
Global.collisions = []
|
|
153
154
|
if name in Global.scenes:
|
|
154
155
|
if Global.current_scene is not None:
|
|
155
156
|
Global.last_scene = Global.current_scene
|
|
@@ -161,10 +162,11 @@ class Engine:
|
|
|
161
162
|
|
|
162
163
|
def reload_scene(self, resetCam=True, resetObjects=True, end=True, start=True):
|
|
163
164
|
if Global.current_scene is not None:
|
|
164
|
-
if resetCam:
|
|
165
|
+
if resetCam: Global.cam = None
|
|
166
|
+
if resetObjects:
|
|
165
167
|
Global.tilemaps = {}
|
|
166
|
-
Global.
|
|
167
|
-
|
|
168
|
+
Global.objects = {}
|
|
169
|
+
Global.collisions = []
|
|
168
170
|
if end: Global.current_scene.on_end()
|
|
169
171
|
if start: Global.current_scene.on_start()
|
|
170
172
|
Global.current_scene.run()
|
devpace-1.1.1/README.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a pygame engine build
|
|
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
|
|
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
|
|
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
|