simple2d-3d 0.2.7__tar.gz → 0.2.8__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.
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/PKG-INFO +1 -1
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/pyproject.toml +1 -1
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d/render.py +1 -1
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d.egg-info/PKG-INFO +1 -1
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/LICENSE +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/README.md +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/setup.cfg +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d/__init__.py +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d/colors.py +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d/gui.py +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d/setup.py +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d.egg-info/SOURCES.txt +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d.egg-info/dependency_links.txt +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d.egg-info/requires.txt +0 -0
- {simple2d_3d-0.2.7 → simple2d_3d-0.2.8}/simple2d_3d.egg-info/top_level.txt +0 -0
|
@@ -454,7 +454,7 @@ class ParticleSystem:
|
|
|
454
454
|
def update(self, dt):
|
|
455
455
|
self.particles = [p for p in self.particles if p.update(dt)]
|
|
456
456
|
|
|
457
|
-
|
|
457
|
+
def draw(self, renderer):
|
|
458
458
|
for p in self.particles:
|
|
459
459
|
alpha = max(0, min(255, int(p.life * 255)))
|
|
460
460
|
|
|
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
|