Share your repls and programming experiences

← Back to all posts
Python Ursina: minecraft style building in python
h
SeamusDonahue

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 repl.it's lib for that because ursina doesnt recognize any audio device

hope you enjoy, have a nice day

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

Voters
YT10cato
ShadowWalker258
kylegamerlol
TsunamiOrSumth
TheCheeseCoder
EpicGamer007
LuckyOreos
ShravanBhagat
JackLesher
21natzil
Comments
hotnewtop
TheCheeseCoder

noice

Boyanhwang

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

SeamusDonahue

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

JBloves27

Nice job!

mfacts

because repelit not support

0ctavias

it takes years to load

SeamusDonahue

Yeah that because repl.it 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

It doesnt load for me at all
@SeamusDonahue

SeamusDonahue

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

Cyberstar007

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

SeamusDonahue

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