Пікірлер
@Auberginax
@Auberginax Ай бұрын
Code complexity of O(n^4) :0
@gutzimmumdo4910
@gutzimmumdo4910 2 ай бұрын
this only works if u have points in each cell tho, what if u have 3 points only in random locations.
@off_pudding443
@off_pudding443 Ай бұрын
You might want to look at Fortune's algorithm.
@starsnatcher4659
@starsnatcher4659 2 ай бұрын
can we get the code :>
@NickKoll
@NickKoll 4 ай бұрын
Great video! Where can we find the code?
@ekmeksosis
@ekmeksosis 6 ай бұрын
What happened to the country champs game bro?
@gibson7969
@gibson7969 6 ай бұрын
really clear explenation ! thanks !
@seanerer
@seanerer 6 ай бұрын
Does KZfaq give you money for getting through video done as fast as possible?
@mr.dandomi
@mr.dandomi 6 ай бұрын
Please leave the source codes in the description
@kitchaos1118
@kitchaos1118 7 ай бұрын
This is really helpful! My only suggestion would be to slow down a bit at some points, but besides that, this is great!
@phutureproof
@phutureproof 5 ай бұрын
you can slow the video yourself, and rewind it!
@rosiefay7283
@rosiefay7283 8 ай бұрын
0:23 "Any square with a black square to its left will turn black". No, that's not what your rule means! Your rule means that any white square with a black square to its left and a white one to its right will turn black. "... or turns white if it was black" But you don't state any rule which would make a black square turn white.
@cg0499
@cg0499 8 ай бұрын
Surprised you don't have more subs. Wishing the algorithm favers you soon!
@johnyaxon__
@johnyaxon__ 8 ай бұрын
How can we visualize time?
@pro-grammer
@pro-grammer 8 ай бұрын
you can visualize time in the 3d demonstration by changing the color of the cubes, but the height of the structure represents time itself so it may not be necessary
@johnyaxon__
@johnyaxon__ 8 ай бұрын
​@@pro-grammerimagine, if we could visualize our ancestral trees and evolution of life on Earth as a semi-chaotic cellular automaton process
@pro-grammer
@pro-grammer 8 ай бұрын
​@@johnyaxon__ so your suggesting to simulate life abstracted as a cellular automaton such that each cell would contain the atom or molecule etc. and there would be an infinitely large rule set for how the cells behave thereby simulating life?
@johnyaxon__
@johnyaxon__ 8 ай бұрын
@@pro-grammer something like that, but it is very difficult. Maybe we could start with some "LUCA" cell and simulate replication of LUCA. We could start with some simple replicators and rules for their replication, behaviour and death(by temperature, by lack of energy, etc). Maybe first simple replicators had simple behaviour
@kodacoda
@kodacoda 8 ай бұрын
great content ;)
@creepylove
@creepylove 8 ай бұрын
This was great, I've seen a few videos about bezier curves but this is by far the best explanation so far! Keep it up!
@AlexKDev
@AlexKDev 8 ай бұрын
Glad it was helpful! Thanks 😃
@mn0
@mn0 8 ай бұрын
Very well explained. Been using bezier curves for ages, but I learned something new.
@neilmarkcorre5524
@neilmarkcorre5524 8 ай бұрын
You deserve more subscribers. Well done!
@AlexKDev
@AlexKDev 8 ай бұрын
Thanks! 😃
@ruky61
@ruky61 9 ай бұрын
When new video? It is long time ago
@MrThijsdc
@MrThijsdc 11 ай бұрын
Hey there, thank you for the video. I was trying to follow along by copying your code (at least the parts visible on the screen) but I cannot get it to work. Could you by any chance provide your full code so I could check whether I made an error somewhere (perhaps you could post it in the description)? Anyways, thanks again for the overview.
@MrThijsdc
@MrThijsdc 11 ай бұрын
I got the script to work by declaring an array of possibleColors and populating it within the script but I can't get it to work when exposing the possiblecolors field to the inspector and populating it from within the inspector.
@undefiant8801
@undefiant8801 10 ай бұрын
it doesn't work for me either. Found the solution yet?@@MrThijsdc
@omarelsayed7577
@omarelsayed7577 6 ай бұрын
@@MrThijsdc I don't understand. Could you post the code?
@MrThijsdc
@MrThijsdc 6 ай бұрын
Sure, no problem. Here is my code: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class voronoiDiagram : MonoBehaviour { private Color[] possibleColors; [SerializeField] private int gridSize = 10; private int imgSize; private int pixelsPerCell; private RawImage image; private Vector2Int[,] pointPositions; private Color[,] colors; private void Awake() { image = GetComponent<RawImage>(); imgSize = Mathf.RoundToInt(image.GetComponent<RectTransform>().sizeDelta.x); } private void Start() { GenerateDiagram(); } private void Update() { if(Input.GetKeyDown(KeyCode.Space)) { GenerateDiagram(); } } private void GenerateDiagram() { Texture2D texture = new Texture2D(imgSize, imgSize); texture.filterMode = FilterMode.Point; pixelsPerCell = imgSize / gridSize; possibleColors = new Color[] { new Color(Random.Range(0, 1f),Random.Range(0, 1f), Random.Range(0, 1f)), new Color(Random.Range(0, 1f), Random.Range(0, 1f), Random.Range(0, 1f)), new Color(Random.Range(0, 1f), Random.Range(0, 1f), Random.Range(0, 1f)), new Color(Random.Range(0, 1f), Random.Range(0, 1f), Random.Range(0, 1f)) }; GeneratePoints(); for (int i = 0; i < imgSize; i++) { for (int j = 0; j < imgSize; j++) { int gridX = i / pixelsPerCell; int gridY = j / pixelsPerCell; float nearestDistance = Mathf.Infinity; Vector2Int nearestPoint = new(); for (int a = -1; a < 2; a++) { for (int b = -1; b < 2; b++) { int X = gridX + a; int Y = gridY + b; if (X < 0 || Y < 0 || X >= gridSize || Y >= gridSize) continue; float distance = Vector2Int.Distance(new Vector2Int(i, j), pointPositions[X, Y]); if (distance < nearestDistance) { nearestDistance = distance; nearestPoint = new Vector2Int(X, Y); } } } texture.SetPixel(i, j, colors[nearestPoint.x, nearestPoint.y]); } } texture.Apply(); image.texture = texture; } private void GeneratePoints() { pointPositions = new Vector2Int[gridSize, gridSize]; colors = new Color[gridSize, gridSize]; for (int i = 0; i < gridSize; i++) { for (int j = 0; j < gridSize; j++) { pointPositions[i, j] = new Vector2Int(i * pixelsPerCell + Random.Range(0, pixelsPerCell), j * pixelsPerCell + Random.Range(0, pixelsPerCell)); colors[i, j] = possibleColors[Random.Range(0, possibleColors.Length)]; } } } }
@omarelsayed7577
@omarelsayed7577 6 ай бұрын
@@MrThijsdc Thank you so much! It worked. One question though, is there a way I can choose the colors in the inspector rather than make it randomly generated?
@DjgavigavIsaW
@DjgavigavIsaW Жыл бұрын
W GAME CANT WAIT FOR REALEASE😀
@mohammedthaier1718
@mohammedthaier1718 Жыл бұрын
Interesting technique
@iggyboyo
@iggyboyo Жыл бұрын
Good video, just had a bit of trouble understanding the part where you actually painted the voronoi shapes
@vvixell4580
@vvixell4580 Жыл бұрын
The mountains at 2:32 look insane. Would you mind sharing the points of the curve so I could try to replicate it?
@AlexKDev
@AlexKDev Жыл бұрын
Those are actually done without curves, only perlin noise. I just wanted to show how it looks without using curves first. I am planning to do a video explaining how i generated this terrain in greater detail and showing all the layers of perlin noise that i'm generating, but for now i just wanted to show that it's possible to use animation curves. The final result with the curves starts at 3:00. Stay tuned for more terrain generation 😄
@vvixell4580
@vvixell4580 Жыл бұрын
@@AlexKDev Oh fr? Ive never seen ridges with perlin. Will be waiting.👍
@vvixell4580
@vvixell4580 Жыл бұрын
I was trying to make a voronoi diagram from scratch by my self but i got stuck and after a while of scrolling I found this video and it helped me a-lot. The algorithm is doing you dirty, This video is really high quality. Thanks bro ❤
@AlexKDev
@AlexKDev Жыл бұрын
I'm glad the video was helpful. Thank you 😄
@rookrac7068
@rookrac7068 Жыл бұрын
Epic stuff
@ruky61
@ruky61 Жыл бұрын
Next devlog? :)
@AlexKDev
@AlexKDev Жыл бұрын
Should be ready in a couple of days :D
@xderpassassinx7779
@xderpassassinx7779 Жыл бұрын
@@AlexKDev Hell yeah!
@yoshnosey
@yoshnosey Жыл бұрын
DEVLOGS!!!!!
@nilplays3180
@nilplays3180 Жыл бұрын
Hello, The game is getting amazing, congratulations, and please continue with this amazing work because it's getting beautiful, and a question, will the game come out for mobiles??
@NeatGames
@NeatGames Жыл бұрын
The skins look great!
@weirdo1886
@weirdo1886 Жыл бұрын
How can I help???
@freelancepakistangames7245
@freelancepakistangames7245 Жыл бұрын
Chickenator for the win!😍
@lumina_edits
@lumina_edits Жыл бұрын
yay new devlog, ur the best
@AlexKDev
@AlexKDev Жыл бұрын
No, you are! Thank you :D
@domebovine
@domebovine Жыл бұрын
epic
@prod.nauman
@prod.nauman Жыл бұрын
keep it up
@insertduxho
@insertduxho Жыл бұрын
you deserve more subs. But you'll get there
@andrewpullins8817
@andrewpullins8817 Жыл бұрын
You know with that camera angle your not going to see the wood flooring in the balcony. So it's just going to take up resources and processing power to rinder what the player will not see. That is unless your planning on making it so that the player can fly up like rocket league.
@graydongames4650
@graydongames4650 Жыл бұрын
please be on xbox
@BritBonjorSpurs
@BritBonjorSpurs Жыл бұрын
lmao facts
@bluemike1215
@bluemike1215 Жыл бұрын
KZfaq had the audacity to say this was 40 minutes ago
@JayCode_dev
@JayCode_dev Жыл бұрын
Nice devlog! For someone who use steam a lot i can agree that its not documented a lot, I made and still making a couples of tutorials for facepunch cuz its soo not documented, Aside of that i like the style of the game!! Btw steam automatecly change the host if the host disconnect
@AlexKDev
@AlexKDev Жыл бұрын
Thanks! I will definitely check out your tutorials
@stewie_io
@stewie_io Жыл бұрын
I think you should add eye shines to the players they look kinda soulless
@knightkingsly9177
@knightkingsly9177 Жыл бұрын
Great progress so far! Just a suggestion on the ball, it looks way too floaty and full of air, would suggest for it to be heavier and more landed for better control. Now it looks and feel like a balloon instead of a football
@knightkingsly9177
@knightkingsly9177 Жыл бұрын
Great video! But just a suggestion editing-wise, I feel that the sped up timelapse is jumpy and at time hurts my eyes, and might trigger some epilepsy for some. As a suggestion, you can cut your clips and have a slower timelapse, and add commentary on your thought process for modelling each asset. Just a suggestion to make it more comfortable watching the video. Keep it up!
@sechmascm
@sechmascm Жыл бұрын
Rocket League was so succesful due to the rocket booster that allows to basically fly. Although chickens don't fly, you could get the chickens to shoot out eggs at an accelerated rate when pushing a button. A similar gliding mechanic occurs and an egg stamina bar decreases. To increase it, eat the corn on the field. If you really want to stylize it, get a guy on the sitting area to throw corn when their team is near.
@AlexKDev
@AlexKDev Жыл бұрын
Thank you for the feedback! I will definitely look into that, altough for right now i'm just trying to polish the basic mechanics, but it sounds like a cool thing to consider for an update later on 😄
@freelancepakistangames7245
@freelancepakistangames7245 Жыл бұрын
Good stuff
@weirdo1886
@weirdo1886 Жыл бұрын
First!
@erfax1
@erfax1 Жыл бұрын
Did u make the game server authoritative with client side prediction? The movements seems pretty tight, and I've been struggling with that for a few days now
@AlexKDev
@AlexKDev Жыл бұрын
Are you also using facepunch? And also, how are you comunicating with the server? I haven't implemented client side prediction yet, but it seems smooth enough for now.
@erfax1
@erfax1 Жыл бұрын
I've been using mirror and just using the built in command and client rpc, but at 60-70ms of latency the delay gets really noticeable. I'll try the client prediction and maybe give a try to fishnet or facepunch
@_Darko
@_Darko Жыл бұрын
cool
@srsherman7
@srsherman7 Жыл бұрын
The game looks fun! The steamworks API though.... Sounds like a lot of overhead from abstraction layers. I'm surprised steam doesn't have any better libraries for unity integration.. 🙁 great work on your part though!
@malavidra
@malavidra Жыл бұрын
ay, the game's looking good! cant wait for an update on the progress :3
@francescobassetto7768
@francescobassetto7768 Жыл бұрын
Bro black eyes are good but make their material smoother, so theyll look reflective