Share your repls and programming experiences

← Back to all posts
Python Ursina: minecraft style building in python
SeamusDonahue (457)

I have recently discovered an engine called Ursina for python.

It is very easy to use and lets you make 3d games very easily!

I have build an example fallowing this tutorial for building things in a minecraft like fashion

right click to place
left click to destroy

ursina's "cheat sheet" (documentation)
to play audio you need's lib for that because ursina doesnt recognize any audio device

hope you enjoy, have a nice day

(warning this is pretty laggy on and the mouse doesn't lock to the center because its on

Boyanhwang (2)

i got this message lol : :display: loading display module:
:display(warning): Unable to load No error.
:display: loading display module:
:display(warning): Unable to load No error.
:display: loading display module:
:display(warning): Unable to load No error.
Known pipe types:
(all display modules loaded.)
Traceback (most recent call last):
File "", line 37, in <module>
app = Ursina()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/ursina/", line 19, in init
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 339, in init
self.openDefaultWindow(startDirect = False, props=props)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 1021, in openDefaultWindow
self.openMainWindow(args, **kw)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 1056, in openMainWindow
args, **kw)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 766, in openWindow
win = func()
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 746, in <lambda>
func = lambda : self._doOpenWindow(
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/direct/showbase/", line 818, in _doOpenWindow

SeamusDonahue (457)

that's replit's fault.... no idea how to fix it as it worked before. @Boyanhwang

mfacts (0)

because repelit not support

0ctavias (9)

it takes years to load

SeamusDonahue (457)

Yeah that because has limited processing power and ursina is doing a lot of things and using a lot of libs that repl has to load @NoahSeiffert

prateeknair10 (0)

It doesnt load for me at all

SeamusDonahue (457)

how? does it give an error or does refused to load [email protected]

Cyberstar007 (0)

it could not work and it came up with loads of errors

SeamusDonahue (457)

It works for me, and the errors have to do with the ursina engine not finding things like an audio device @Cyberstar007