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
0
votes
1 answer

Ursina scene change

I recently started playing around with Ursina engine for python and i would like to change scene for a game i am working on. Basically, i would like to do what it shown in this video (made with kivy): https://www.youtube.com/watch?v=xaYn4XdieCs I…
0
votes
2 answers

What can cause an Assertion Error while running in Ursina?

I'm pretty new to programming with Python and am starting to learn how to use Ursina Game Engine... Currently I'm running Python 3.9.4 through IDLE. I looked up a YouTube playlist that goes through different activities using Ursina. However I hit a…
0
votes
1 answer

3D Model not loading with colors in Ursina (python 3)

I'm trying to load low poly FPS arms I made in Blender. I gave them colors using a material that I set a color to, it appears nicely in Blender. But when I load them into Ursina, they are totally white, no color ! I clearly think the problem is the…
Quantum Sushi
  • 504
  • 7
  • 23
0
votes
4 answers

How to make ursina detect the shift key in python?

how do you make ursina detect when the left and the right shift key is pressed in python. if not is there any good external library to do so.
Michael
  • 1
  • 1
0
votes
2 answers

Error when trying to turn a python script using ursina into an executable

So I was using cx_Freeze in order to turn my python script using ursina into an executable but then this happened : Error What am I supposed to do? This is what my folder content and setup.py file looked like when I had the error : Content
Onuelito
  • 21
  • 3
0
votes
1 answer

Item swithing doesn't seem to work in ursina engine

I am making a minecraft game in Ursina Engine in that I added a function that checks for a key to be pressed and give me the specific block. but my code doesn't seen to work for some reason. I don't know the reason. And I have used the keyboard…
jack
  • 1
0
votes
3 answers

How to play MP4 with Ursina in Python

I am new to game development. I am trying to start high and make a 3D RPG. I know the road is not gonna be easy. That is why i decided to use Ursina and python to make my game. However i wanna add a cutscene showing a Backstory. I have the video in…
Wil123
  • 49
  • 7
0
votes
1 answer

How can I make a weapon shoot using Ursina?

I am currently using Ursina Game Engine and am trying to make a basic FPS game. In the game, there is obviously a gun and a bullet. The system I have for shooting the gun isn't working. First, it isn't moving forward the way I want it, and second,…
OHTYCH 100
  • 57
  • 1
  • 7
0
votes
1 answer

Dynamic generation new object

I can't create a new cube without disappearance of original cube in my tetris game. When I'm using this method my first cube disappears and the new one appears. I want make two similar cubes with similar methods There is my code: from ursina import…
Egor
  • 1
  • 1
0
votes
1 answer

How to change the texture of player entity when it jumps in Ursina Engine using Python?

So I have a 2d Platformer Controller in my game, called Jared. There he is: But I want his face to change when he jumps, I'll design a new picture of Jared when he jumps. But how can I actually to it? I tried this but It didn't work..., def…
makifv
  • 27
  • 1
  • 5
0
votes
1 answer

Left click detection with ursina

I'm using ursina to make a game, and I want to detect a left click so that I can shoot. So, here's my code : def update(self): if held_keys['t']: print("it works !") Whenever I press 't', it prints 'it works !', and if I hold it, as…
0
votes
4 answers

Perlin Noise in Ursina

Is there a way to incorporate Perlin Noise into the Ursina game engine in Python to give it a Minecraft feeling? I think I may be onto something, but for some reason, the y value is not varying. Do you mind helping me out? The code that I have so…
0
votes
1 answer

Ursina FirstPersonController Change Collider Not Working

My Issue I am using the Panda3D wrapper for Python to run some 1st person game tests. I would like the collider of the ursina camera type called the FirstPersonController to extend its collider over the sprite. I have tried (without really knowing…
SamTheProgrammer
  • 1,051
  • 1
  • 10
  • 28
0
votes
1 answer

Using 3d obj files and textures in Ursina for python

I am trying to load a 3d object into a program written with Ursina. I am able to load the 3d file, and I can load the textures, but they won't load together. I'm sure there is something I am misunderstanding about the 3d file as I am pretty new to…
Samantha Garcia
  • 490
  • 6
  • 13
0
votes
2 answers

Ursina - Perlin Noise

Is there a way to incorporate Perlin Noise into my Minecraft Clone? I have tried many different things that didn't work. Here is a snippet of my code: from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController from…