-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i am getting this error while adding the code snippet for inventory to my game. can someone explain it? #661
Comments
from ursina import * t = -1 grass_texture = load_texture("assets/download.jpg") def update(): class Sky(Entity): class Voxel(Button):
for z in range(6): this is the code to which i am trying to add the code of the inventory, so please help me. |
Can i have more details pls ? |
ya, sure. so, i was trying to add inventory to a small game of mine but everytime i tryed to run the code, i got the same error (or similar error). i tryed many different iterations but non of them seemed to work properly. if you like, i can provide you with those codes that i tryed so you can look into it. |
It's because you did |
screen resolution: (1366, 768)
Known pipe types:
wglGraphicsPipe
(3 aux display modules not yet loaded.)
:pnmimage:png(warning): iCCP: known incorrect sRGB profile
:ffmpeg(warning): Estimating duration from bitrate, this may be inaccurate
Known pipe types:
wglGraphicsPipe
(3 aux display modules not yet loaded.)
Traceback (most recent call last):
File "c:\Users\Shivam\Desktop\voxel 3d\minecraft\try3.py", line 171, in
app = Ursina()
^^^^^^^^
File "C:\Users\Shivam\AppData\Local\Programs\Python\Python312\Lib\site-packages\ursina\main.py", line 28, in init
super().init()
File "C:\Users\Shivam\AppData\Local\Programs\Python\Python312\Lib\site-packages\direct\showbase\ShowBase.py", line 429, in init
raise Exception("Attempt to spawn multiple ShowBase instances!")
Exception: Attempt to spawn multiple ShowBase instances!
The text was updated successfully, but these errors were encountered: