simple2d-3d 0.2.4__tar.gz → 0.2.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simple2d_3d
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: A lightweight, hardware-accelerated 2D-3D layout and engine.
5
5
  Author: ProdeeptoSundar Roy
6
6
  Project-URL: Homepage, https://github.com/rtumpa099-gif/Simple2D_3D
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "simple2d_3d" # The name users will type: pip install my_engine
7
- version = "0.2.4"
7
+ version = "0.2.6"
8
8
  authors = [
9
9
  { name="ProdeeptoSundar Roy" }
10
10
  ]
@@ -446,7 +446,7 @@ class ParticleSystem:
446
446
  def __init__(self, renderer):
447
447
  self.particles = []
448
448
  self.cached_textures = {}
449
- self.dst_rect = sdl2.SDL_Rect(0,0,,1,1)
449
+ self.dst_rect = sdl2.SDL_Rect(0,0,1,1)
450
450
 
451
451
  def add_explosion(self, x, y, count=30):
452
452
  for _ in range(count+1):
@@ -497,4 +497,4 @@ class ParticleSystem:
497
497
  self.dst_rect.h = int(p.size * 2)
498
498
 
499
499
  # --- 4. Render it ---
500
- sdl2.SDL_RenderCopy(renderer, tex, None, ctypes.byref(dst_rect))
500
+ sdl2.SDL_RenderCopy(renderer, tex, None, ctypes.byref(self.dst_rect))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: simple2d_3d
3
- Version: 0.2.4
3
+ Version: 0.2.6
4
4
  Summary: A lightweight, hardware-accelerated 2D-3D layout and engine.
5
5
  Author: ProdeeptoSundar Roy
6
6
  Project-URL: Homepage, https://github.com/rtumpa099-gif/Simple2D_3D
File without changes
File without changes
File without changes