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
2 answers

How do I update a text entity contained within a window panel in Ursina?

Essentially, I am trying to have a scoreboard, which upon completion of a task, opens the scoreboard and displays what your score is. However, whenever I run the actual task, it displays the initial value instead of the new variable value. How could…
1
vote
4 answers

I have a problem with my python Minecraft copy

I was working with "Ursina Engine" My project is to make a copy of Minecraft, then I found out a problem that every time I run the program and when I want to right-click to place a block, nothing happens. Thanks to someone who can help me find the…
Amir Ax
  • 11
  • 1
1
vote
1 answer

Destroy a Animator object ursina

I have an animator object in ursina. I want to destroy it. from ursina import * app = Ursina() walka = Animation("assets/zombies/zombie1/walk/",fps = 5,loop=True) animator1 = Animator(animations= {"walk":walka}) animator1.state =…
Yuvan
  • 11
  • 3
1
vote
2 answers

How to increase FPS in ursina python

I want to create survival games with infinite block terrain(like Minecraft). So i using ursina python game engine, you can see it here So i using perlin noise to create the terrain with build-in ursina block model. I test for first 25 block and it…
Higg Higg
  • 79
  • 8
1
vote
0 answers

Error occurred while starting the kernel in Ursina

I just trying run ursina but when I run it I get this error: An error ocurred while starting the kernel Known pipe types: wglGraphicsPipe (3 aux display modules not yet loaded.) :display:windisplay(warning): SetForegroundWindow() failed!…
Pydude
  • 149
  • 13
1
vote
1 answer

Collision for my experience game ain't working. What should I do?

this is my code and I don't find any error in it. from ursina import * game = Ursina() camera.orthographic=True camera.fov=8.2 No need to care about these borders entities border1 = Entity(model='quad', scale=(15, 0.2), color = color.white,…
1
vote
1 answer

Ursina Engine game not working as expected

I'm developing a little game with Ursina and for some reason it doesn't show all the elements and ignores an update. The game is about clicking the randomly generated points. This is my code: menu.py (Main file) from ursina import * from point…
B3CTOR
  • 45
  • 5
1
vote
0 answers

Why can't I press UP, LEFT, and SPACE at the same time in Ursina?

I have some problems while running my code. I want my cube to jump and move at the same time. When I press up arrow and left arrow and then press space, the jumping function bound with space doesn't work But it works well while pressing other keys…
Howard S.
  • 11
  • 3
1
vote
2 answers

Show image on screen with ursina

I'm making a 3D FPS in Ursina, and I'd like to have my arm skin with the weapon as an image, not an actual 3D model. Does anyone know how to do this ? I tried with Animate from the documentation, but this loads an image as an object in my…
Quantum Sushi
  • 504
  • 7
  • 23
1
vote
1 answer

Ursina: How to combine cubes into a big mesh

Hey there recently I was learning to use ursina from here. But if I was to add more blocks/cubes the game lags quite a bit and I found that by combining the meshes of all the cubes and rendering a one hole mesh it will not lag that much But the…
Prathamesh Bhatkar
  • 291
  • 1
  • 4
  • 15
1
vote
1 answer

Issue with FirstPersonController in Ursina

I'm using the Ursina engine to create a 3D game. However, when I try to load the FirstPersonCharacter, all I got is a grey background (normal) and a very small magenta square, in the center, tilted at 45°. What is that ? I was first trying to make…
Quantum Sushi
  • 504
  • 7
  • 23
1
vote
1 answer

How can I set a .jpg as window background in python ursina?

How can I an image as the background in my ursina project. I know I can change the color of the background by using window.color = color.light_gray for example. But how do I use an image?
KLag
  • 11
  • 2
0
votes
0 answers

My Player shivers on a game made with Ursina Python Engine

So I made a game on Ursina. It works okay on a desktop. However, when I play this game on laptop, the player shivers. This disturbs the player to jump well I tried to find a problem, but I actually failed. Because the problem is repetitive, I…
0
votes
0 answers

Ursina: mesh with line mode disconnected

I want to draw hexagon without filling, however it seems that setting thickness to more than one produces breaks between the lines. Does anyone know how to fix this? Code: from ursina import * OUTER_RADIUS = 1 INNER_RADIUS = OUTER_RADIUS *…
0
votes
0 answers

Image not included in ursina program while converting from .py to .exe

Challenge A simple usrina program to show cube entity and some image. While running the app from the terminal, the cube entity along with the images are show perfectly. Here is the image while running from terminal Then I created a .exe file using…
Sonarjit
  • 5
  • 2