gamengine3d 1.3.0__tar.gz → 1.4.0__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: gamengine3d
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: A Unity-like 3D engine in Python using pygame
5
5
  Author-email: Samarth Javagal <samarthjavagal@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -133,6 +133,7 @@ class Context:
133
133
  self.delays: list[Delay] = []
134
134
  self.delay_vars: list[DelayVar] = []
135
135
  self.scheduled_callers: list[ScheduledCaller] = []
136
+ self.runtime_vars = {}
136
137
  self.exit = False
137
138
 
138
139
  def on_key_press(self, key, callback, args=None, dt=False):
@@ -257,8 +257,7 @@ class Renderer:
257
257
  self.prog["mvp"].write(self.mvp.astype("f4").tobytes())
258
258
  self.prog["ambient"].value = self.ambient
259
259
 
260
- # === Shadow map setup ===
261
- self.shadow_size = 2048
260
+ self.shadow_size = 4096
262
261
  self.shadow_depth_tex = self.ctx.depth_texture((self.shadow_size, self.shadow_size))
263
262
  try:
264
263
  self.shadow_depth_tex.repeat_x = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gamengine3d
3
- Version: 1.3.0
3
+ Version: 1.4.0
4
4
  Summary: A Unity-like 3D engine in Python using pygame
5
5
  Author-email: Samarth Javagal <samarthjavagal@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
 
6
6
  [project]
7
7
  name = "gamengine3d"
8
- version = "1.3.0"
8
+ version = "1.4.0"
9
9
  description = "A Unity-like 3D engine in Python using pygame"
10
10
  authors = [
11
11
  { name = "Samarth Javagal", email = "samarthjavagal@gmail.com" }
File without changes
File without changes
File without changes