Trigger In Ursina Engine | Ursina Part 19

Опубликовано: 02 Ноябрь 2024
на канале: Pratangsu Dev
880
30

Ursina is the best game engine, just try it once
Today I will show you how to make 'Triggers' in ursina

Like this video be sure to subscribe
Don't worry this series will go on for a long time

** URSINA ENGINE **
Start_page - https://www.ursinaengine.org/
docs - https://www.ursinaengine.org/document...
API reference - https://www.ursinaengine.org/cheat_sh...
Github - https://github.com/pokepetter/ursina
Samples - https://github.com/pokepetter/ursina/...
Asset_store - https://itch.io/tools/tag-ursina
Games - https://itch.io/games/tag-ursina

** MY VIDEO **
Ursina Playlist -    • Setting up Ursina engine | Ursina part 1  

** MY FRIENDS **
CoderZ -    / @shadowblack8007  
Mandow2014 -    / @mandaw  

** BE MY FRIEND **
Gmail - [email protected]
Github - https://github.com/PratangsuRakshit

** ABOUT ME **
I am Pratangsu, a young devoloper(age 12+)

** ABOUT THE CHANNEL **
Hi, I'm Pratangsu Rakshit. This is my channel about game engines and programming languages that will help you to create your own applications and games.

If you're a beginner who wants to learn game development to get a basic understanding of programming languages then, subscribe to my channel.

My channel publishes videos that focus on Unity, Gdevolop, Python, etc. If that sounds like it could be helpful for you, please join me! Please subscribe

TOPICS IN THIS VIDEO
• Ursina
• Perlin Noise

HASHTAGS
#Ursina
#PratangsuDev

VIDEO OUTLINE
'''
from ursina import *
app = Ursina()

player = Entity(model='cube', color=color.azure, scale=1)
def update():
player.x += held_keys['d'] * time.dt * 2
player.x -= held_keys['a'] * time.dt * 2

t1 = Trigger(trigger_targets=(player,), model='cube', color=color.gold,
x=1)

t1.on_trigger_enter = Func(print, 'enter')
t1.on_trigger_stay = Func(print, 'stay')
t1.on_trigger_exit = Func(print, 'exit')

app.run()
'''