basilisk-engine 0.1.49__py3-none-any.whl → 0.1.50__py3-none-any.whl

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.

Potentially problematic release.


This version of basilisk-engine might be problematic. Click here for more details.

basilisk/draw/draw.py CHANGED
@@ -93,7 +93,7 @@ def text(engine: Engine, text: str, position: tuple, scale: float=1.0):
93
93
  # Render the text if it has not been cached
94
94
  if text not in font_renderer.text_renders:
95
95
  surf = font_renderer.render(text).convert_alpha()
96
- text_image = Image(surf)
96
+ text_image = Image(surf, flip_y=False)
97
97
  font_renderer.text_renders[text] = (text_image, surf.get_rect())
98
98
 
99
99
  # Blit the text image
@@ -45,7 +45,7 @@ class DrawHandler():
45
45
 
46
46
  self.ctx.enable(mgl.BLEND)
47
47
  self.ctx.disable(mgl.DEPTH_TEST)
48
- self.ctx.blend_func = mgl.DEFAULT_BLENDING
48
+ # self.ctx.blend_func = mgl.DEFAULT_BLENDING
49
49
 
50
50
  # Reverse the draw order, and convert to C-like array
51
51
  # self.draw_data.reverse()
basilisk/engine.py CHANGED
@@ -145,7 +145,7 @@ class Engine():
145
145
  # Clear the screen and render the frame
146
146
  if render:
147
147
  # Render all draw calls from the past frame
148
- self.ctx.screen.use()
148
+ self.frame.output_buffer.use()
149
149
  self.draw_handler.render()
150
150
  self.frame.render(self.ctx.screen)
151
151
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: basilisk-engine
3
- Version: 0.1.49
3
+ Version: 0.1.50
4
4
  Summary: Python 3D Framework
5
5
  Home-page: https://basilisk-website.vercel.app/
6
6
  Author: Name
@@ -1,6 +1,6 @@
1
1
  basilisk/__init__.py,sha256=23OM1kiXMU44J2TVp66efVSrbQAeiuTDmcdhNAftFfY,1134
2
2
  basilisk/config.py,sha256=Ajm3BjCryuX5bmJglqRZDR1SjE0sDjTbulta5GZ67hA,1712
3
- basilisk/engine.py,sha256=rUI4DCeCFCMPBxd-A3DSZKHXu-CVb1I3F5nJ6MhNrU4,6016
3
+ basilisk/engine.py,sha256=QwKGhnxAulGsMmIIUrY80fUnbWVe-Y2-t2d8PH2xP4c,6025
4
4
  basilisk/scene.py,sha256=S0aoVMxA3SEO0ON3MTs1GF1JVLMi_TX7KNconeCAbYc,12389
5
5
  basilisk/audio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  basilisk/audio/sound.py,sha256=h2dQ3IKb_SRKNZqNuk-fdNg_Xfz0P7sqEXA33qiBXG4,692
@@ -26,8 +26,8 @@ basilisk/collisions/narrow/helper.py,sha256=2UV6upLEcdvmV3IUBogc_YQFHLQFrCuObBiq
26
26
  basilisk/collisions/narrow/line_intersections.py,sha256=hZCXAeAGbs9adGraa6tHUOlivGERo-WVdrNjmHFMjh4,4523
27
27
  basilisk/collisions/narrow/sutherland_hodgman.py,sha256=8FOrqxCApsQTmw4n_meSaLIzc5s_dD4tMJTHahzaZ-A,3065
28
28
  basilisk/draw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- basilisk/draw/draw.py,sha256=bbmx_q8GyDhWELDBTfy16e7Y-22amVyoTcf8orwveKw,3520
30
- basilisk/draw/draw_handler.py,sha256=9ueMTCPwvO8u5I9gJborCbawxebHnkfxou73ZLJidCk,6188
29
+ basilisk/draw/draw.py,sha256=qBx4RDVnAu0nDqk9bLs1nxXVz1BGl-L6QXOKg5Zw0ho,3534
30
+ basilisk/draw/draw_handler.py,sha256=C1Ma-9nxwQuom7lX2OhF4X65jB5V77MHnKOKpaHnt4g,6190
31
31
  basilisk/draw/font_renderer.py,sha256=esCaQ4rJ3kjeIZ0xr510k2JIE_K9bshO9_OkByYNo_0,1064
32
32
  basilisk/generic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  basilisk/generic/abstract_bvh.py,sha256=BZv9mgkUpNu3bcqmn9I60VqMZocebeyUOoER2Wdky3g,368
@@ -109,7 +109,7 @@ basilisk/shaders/particle.frag,sha256=IskhyXelHs9GqABKwTYSwooWL0nP-nkmXl6a5iT6Q3
109
109
  basilisk/shaders/particle.vert,sha256=oiBz6S_2dzqioAhyzVYT1ZKOED4h4R6IoP-UJ8KRHhU,3227
110
110
  basilisk/shaders/sky.frag,sha256=dJRdSbg16aZYYjxdoG1spVQRIVBGNVdyX0rqp4ER6v8,556
111
111
  basilisk/shaders/sky.vert,sha256=oAnrknEgsd9MawE_zx8P0u9nUSFEBYBg5ykBmWpqZ_g,332
112
- basilisk_engine-0.1.49.dist-info/METADATA,sha256=2tI9CZylpfNdgEmAG4iRs3kagtjIUs0nxXqh99gh63g,3793
113
- basilisk_engine-0.1.49.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
114
- basilisk_engine-0.1.49.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
115
- basilisk_engine-0.1.49.dist-info/RECORD,,
112
+ basilisk_engine-0.1.50.dist-info/METADATA,sha256=L3N_TMqX5mZEcWt6L9h9ZA9KEAlGH04kd4RqtsdW0a4,3793
113
+ basilisk_engine-0.1.50.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
114
+ basilisk_engine-0.1.50.dist-info/top_level.txt,sha256=enlSYSf7CUyAly1jmUCNNGInTbaFUjGk4SKwyckZQkw,9
115
+ basilisk_engine-0.1.50.dist-info/RECORD,,