Thanks for your quick reply! The version of Ren’Py is the latest 8.3.6.25022803. I’ll paste the Static error codes below. (I got almost the same error when I used Whitenoise.)
While running game code: ShaderError: ERROR: 0:31: ‘-’ : wrong operand types - no operation ‘-’ exists that takes a left-hand operand of type ‘const int’ and a right operand of type ‘mediump float’ (or there is no acceptable conversion) ERROR: 0:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)
– Full Traceback ————————————————————
Full traceback: File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in script python hide: File “/renpy/ast.py”, line 834, in execute renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store) File “/renpy/python.py”, line 1184, in py_exec_bytecode exec(bytecode, globals, locals) File “renpy/common/_layout/screen_main_menu.rpym”, line 28, in <module> python hide: File “renpy/common/_layout/screen_main_menu.rpym”, line 2011, in _execute_python_hide File “/renpy/ui.py”, line 301, in interact rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs) File “/renpy/display/core.py”, line 2218, in interact repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore File “/renpy/display/core.py”, line 2882, in interact_core self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn) File “/renpy/display/core.py”, line 1391, in draw_screen renpy.display.draw.draw_screen(surftree) File “gl2draw.pyx”, line 1021, in renpy.gl2.gl2draw.GL2Draw.draw_screen File “gl2draw.pyx”, line 1552, in renpy.gl2.gl2draw.GL2DrawingContext.draw File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1533, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one [Previous line repeated 6 more times] File “gl2draw.pyx”, line 1443, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one File “gl2draw.pyx”, line 1398, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model File “/renpy/gl2/gl2shadercache.py”, line 352, in get rv.load() File “gl2shader.pyx”, line 315, in renpy.gl2.gl2shader.Program.load File “gl2shader.pyx”, line 298, in renpy.gl2.gl2shader.Program.load_shader ShaderError: ERROR: 0:31: ‘-’ : wrong operand types - no operation ‘-’ exists that takes a left-hand operand of type ‘const int’ and a right operand of type ‘mediump float’ (or there is no acceptable conversion) ERROR: 0:31: ‘’ : wrong operand types - no operation ’’ exists that takes a left-hand operand of type ‘mediump 3-component vector of float’ and a right operand of type ‘const int’ (or there is no acceptable conversion)
Emscripten-3.1.24-wasm32-32bit wasm32 Ren’Py 8.3.6.25022803 shide 1.0