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

How can I create a voxel engine in Ursina?

I am trying to make a voxel engine in Ursina with a mesh terrain. I followed this tutorial which gives me a single voxel but I don't know how to turn this into a chunk. I would appreciate if anyone could help me. I tried finding info on the Mesh…
-2
votes
1 answer

OpenGL error while trying to interact Ursina and PyVista

Well, I have little knowledge about OpenGL. Please help me understand why the error show up and what could be the possible ways to solve the error. Here is my code: from ursina import * import pyvista as pv from pyvista import examples # Starting…
Sonarjit
  • 5
  • 2
-2
votes
1 answer

Ursina engine update() command

I'm having problems with my game on ursina. I'm actually doing sprint, dash, double jump, wall run and wall climb for now and I'm having problems with dash and sprint (I didn't actually do the rest for now) and the mechanics are changing or not…
EnderTV
  • 1
  • 3
-2
votes
3 answers

URSINA No module named 'direct'

(sorry for my English), i'm trying to use ursina on visual studio but when i run my code the IDE show a file: texture.py and and in particular the error: no module named 'direct' I try to install direct but there are other error and i don't…
-2
votes
1 answer

how can i pick up items in ursina?

Because as I programmed it by pressing the "f" it picks it up from anywhere on the map. I try to create an object collection system with a distance limitation, that is, you can only collect it next to the object. This is my code: Arma =…
-2
votes
1 answer

is there a way to see the raycast you put out into your scene in ursina?

is there a way to see the raycasts you put out in the scene? I imagine if there is a way its pretty simple, but I can't seem to find it. its not 100% necessary, but it would make experimenting with this engine easier and funner.
-2
votes
1 answer

Why the cube keeps shaking in ursina?

I'm trying to use ursina to make a game but there are some problems while running my code I want my cube to move while I press arrows and camera moves with wasd It works well but the cube keeps shaking while moving When I press UP arrow, it moves…
Howard S.
  • 11
  • 3
-3
votes
1 answer

How to Drag object by z-axis in python Ursina Engine module?

I can't drag my 3d WOOD object by z-axis. I tried: class Wood(Draggable): def __init__(self): super().__init__( parent='scene' model='wood' --all another parametres-- ) # it doesn't work. Wood…
-3
votes
1 answer

How can I restart the game by pressing "r"?

My plans are to restart the game / reset the character to the middle of the map. import keyboard as kb from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController app = Ursina() window.fps_counter.enabled =…
JAKER_713
  • 3
  • 2
-3
votes
1 answer

How can I make the player go forward? (Ursina Python)

class Player(Entity): def __init__(self): self.controller = Entity( model = 'cube', parent = camera ) super().__init__(parent=self.controller) def update(self): if…
-3
votes
1 answer

I tried to make a game but this happened

from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController class Box(Button): def __init__(block='grass.obj',texture='grasstex.png',pose:tuple=(0,0,0)): super().__init__(model=block,texture=texture,…
user17911725
-4
votes
1 answer

How do I fix python ursina error in voxel game

In my python project I get an error like this: package_folder: C:\Users\POM\AppData\Local\Programs\Python\Python310\lib\site-packages\ursina asset_folder: e:\Dimiland\Programiranje\Python\Visual Studio Code\Games screen resolution: (1440,…
Dumucane
  • 1
  • 4
1 2 3
15
16