Unlimited Entities without lag in ursina engine

Опубликовано: 29 Октябрь 2024
на канале: Pratangsu Dev
9,039
167

Today I will show you how to make 'Infinite Entities' in ursina
Ursina is one of the best and easiest game engine, just try it once and you'll get why I'm saying it

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
Discord - Pratangsu Dev#7549

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

** ABOUT THE CHANNEL **
Hello there, 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, Ursina, Python, etc. If that sounds like it could be helpful for you, please join me! Please subscribe

TOPICS IN THIS VIDEO
• Ursina
• Unlimited Entities

HASHTAGS
#Ursina
#PratangsuDev

VIDEO OUTLINE
'''
from ursina import *
from ursina.prefabs.first_person_controller import FirstPersonController
from perlin_noise import PerlinNoise
from numpy import floor
app = Ursina()

terrain = Entity(model=None, collider=None)
noise = PerlinNoise(octaves=2, seed=100)
freq = 24
amp = 5

terrain_width = 60
for i in range(terrain_width*terrain_width):
block = Entity(model='cube', color=color.green)
block.x = floor(i/terrain_width)
block.z = floor(i%terrain_width)
block.y = floor(noise([block.x/freq, block.z/freq]) * amp)
block.parent = terrain

terrain.combine()
terrain.collider = 'mesh'
terrain.texture = 'white_cube'

FirstPersonController()

app.run()
'''