Learn Codea by Making a Game Part 3: Z Sorting

  Рет қаралды 62

Codea Dev

Codea Dev

Күн бұрын

Пікірлер: 5
@CodeaDeveloper
@CodeaDeveloper 8 күн бұрын
Sorry for the bad audio. I was in a closet because my family was watching tv downstairs.
@SemtexZero
@SemtexZero 8 күн бұрын
Hey CodeaDev great video, have you tested the performance of table.sort when you have hundreds if not thousands of entities to sort every frame?
@CodeaDeveloper
@CodeaDeveloper 8 күн бұрын
@@SemtexZero well this game does not require 1000 entities also it is part of Lua so easier than coding a custom sorter in it but I do want to know this. Is there a faster method of sorting a list you know of?
@SemtexZero
@SemtexZero 7 күн бұрын
@@CodeaDeveloper i don’t know if it’s faster but i have a sorting algorithm that uses the y value as the key, so the bottom of the screen is 0 and whatever the max height of the device is the top y value, i sort the entries into this array and do a skip of the entities if they don’t exist, i read on stack overflow site that table.Methods are slow but i never tried to test my sort vs table, maybe i will later and share the results
@SemtexZero
@SemtexZero 7 күн бұрын
@@CodeaDeveloper btw the reason i ask is because my game will be like vampire survivors where there can be hundreds of enemies on the screen at the same time + environmental details
I Tried JAI, Can It Replace C++?! (Programming Language)
21:05
Making a Game with Java with No Java Experience
8:41
Goodgis
Рет қаралды 746 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Learn Lua in Under 20 minutes (Lua Tutorial)
18:13
Codea Dev
Рет қаралды 364
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 7 МЛН
Clay + C | Tutorial Part I | Creating a Mars Rover Control Panel
30:49
David Styrbjörn
Рет қаралды 4 М.
Scarlett's DRONE RUSH - Starcraft 2 GSL
6:13
SC2HL
Рет қаралды 664 М.
Every Minute One Person Is Eliminated
34:46
MrBeast
Рет қаралды 38 МЛН
Best 3 Game Engines for YOUR iPad
19:32
Codea Dev
Рет қаралды 339
Why Are Open Source Alternatives So Bad?
13:06
Eric Murphy
Рет қаралды 740 М.
Learn Codea by Making a Game Part 1: Movement
9:54
Codea Dev
Рет қаралды 267
Blazingly Fast Greedy Mesher - Voxel Engine Optimizations
23:35
AI Learns How To Play The Worlds Hardest Game
8:21
Tyler Mommsen
Рет қаралды 839 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН