Questions tagged [ursina]

Ursina makes it easier to develop games, visualizations, and other kinds of software. The concise API combines with the power of the Python programming language.

Ursina makes it easier to develop games, visualizations, and other kinds of software. The concise API combines with the power of the programming language.

Links: Documentation

238 questions
1
vote
1 answer

Ursina Unicode Display

When i try to paste in a Unicode in The Text Entity as a text. it comes up with the error: :text(warning): No definition in for character U+21d5 I have also tried to use the Unicode string itself inside the text string. Anyone know how to do it?
1
vote
1 answer

Does anybody know how to load the frameanimation3d in ursina faster?

When trying to make an animation in Ursina Engine you can call a frameanimation3d function but it requires an obj file for each frame. So if there are 100 .obj files to load, the game will be slower. Is there maybe a way to load all these files…
iceneoon
  • 21
  • 3
1
vote
1 answer

GitLab pipeline fails with "ScreenInfoError: No enumerators available" when importing ursina

I am trying to run tests on software that uses ursina, a python gaming engine. When importing ursina no graphical device is found and the pipeline fails with an error. Is there a standard mitigation for such scenarios, i.e. a standard way to "mock"…
DonkeyKong
  • 465
  • 1
  • 5
  • 16
1
vote
1 answer

Ursina Engine: Black screen flickers when I use `mouse.locked`, what is that?

I want to make a 1st person game and the whole problem started by making an accessible inventory. Whenever I used mouse.locked (no matter if i do mouse.locked = True or mouse.locked = False) (it basically makes possible to move the cursor around the…
Dave J
  • 19
  • 6
1
vote
1 answer

Assertion failed: !is_empty() on Ursina engine

Im quite new to ursina engine and i tried to do a multiplayer game. the point is that multiple clients can connect on a server and play together. But if i play with more than two clients at once or if the client disconnects and reconnect too much, i…
1
vote
1 answer

Error with ursina: "No module named Xlib"

I'm trying to use Ursina to make a game. I installed it on my Ubuntu/Debian terminal using "pip install ursina". It seemed to install fine, but any time I try to run anything using ursina, I get this error message: I'm quite confused and I've tried…
1
vote
1 answer

Loading in Ursina engine

i have problem with my python code that is running ursina engine. When i have all blocks (cubes) with 1 texture game works fine without any problems, but when i add another texture game is loading long time and than it's very laggy (about 3 fps) or…
1
vote
0 answers

Emissive textures in Ursina?

I downloaded a 3D model off the internet for my Ursina game project. It comes with a base texture, along with an emissive texture file. In Ursina, is there a way to use the base texture for an entity and make it "glow" using the emissive map? Note:…
Psychon Night
  • 53
  • 1
  • 8
1
vote
1 answer

Ursina - how to add fog correctly

I'm (once again!) asking about a problem with Ursina... I know that Ursina has a scene.fog, and I'm kind of assuming it's for 3D games. I want to add fog to my game, but setting scene.fog_density and scene.fog_color does nothing. Am I doing…
Psychon Night
  • 53
  • 1
  • 8
1
vote
1 answer

why my camera does not working in ursina?

I'm making a grid and when it starts the grid is not in the middle so I camera. position but every time I write camera in my script even though it's the camera.position, camera. rotation and I start the script, there's nothing so please find out…
Demo Nomp
  • 43
  • 4
1
vote
1 answer

python ursina engine does not render the window

Here is the code that I wrote. from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController app = Ursina() player = FirstPersonController() app.run() It is not a lot, but for some reason the window does not show…
HAPPY
  • 41
  • 4
1
vote
1 answer

(ursina) Prevent partially transparent model

I'm using Ursina with Python3.8 to do some 3D world stuff. I wanted to load in a 3D model of the portal gun, just to see if I could do it. I've done that sucessfully, but it looks weird. I've attached some screenshots so you can see what I mean. As…
Psychon Night
  • 53
  • 1
  • 8
1
vote
1 answer

Pause Function Ursina - Python

I'm trying to do a pause menu for my game in Ursina Engine and I can't fount informatino how the function pause() works or how to do it. Can someone help me?
Dipo3
  • 33
  • 5
1
vote
1 answer

Ursina.build can't find modules?

I was reading This, when it said I was supposed to use the command python -m ursina.build to compile my project. When I launched the .bat file I got this error package_folder:…
1
vote
1 answer

How to do a thing if user does something with a certain time limit?

I'm trying to make a 3D game but right now just jumping, I have got the jumping working, but I want to do a thing that (for example if speed=10) but if space is pressed 2x within (for example 0.5 seconds) the speed will go up by (for example 2) and…
1 2
3
15 16