Unlimited Entities without lag in ursina engine
Описание
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/documentation.html
API reference - https://www.ursinaengine.org/cheat_sheet.html
Github - https://github.com/pokepetter/ursina
Samples - https://github.com/pokepetter/ursina/tree/master/samples
Asset_store - https://itch.io/tools/tag-ursina
Games - https://itch.io/games/tag-ursina
*** MY VIDEO ***
Ursina Playlist - https://www.youtube.com/watch?v=scyc8qiMfCg&list=PL42jyOjV9OVlTpnjySu6q7KMiHeuqs8NW
*** MY FRIENDS ***
CoderZ - https://www.youtube.com/channel/UCK4JKYCb5XckeDBc4QmztNg
Mandow2014 - https://www.youtube.com/channel/UCV3ekjxD437CoHDmag8HF4g
*** BE MY FRIEND ***
Gmail - pratangsu.rakshit@gmail.com
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()
'''
Рекомендуемые видео



















