Тёмный

Feature Highlight - A Procedural Hex-Landscape for my Unity Game TRIBES! 

Emil
Подписаться 1,8 тыс.
Просмотров 7 тыс.
50% 1

Thanks for watching!
Don't forget to like and subscribe:)
In this feature highlight I am making a procedural hex-grid-landscape for my upcoming mobile game, made with Unity!
Chapters:
0:00 - Intro
0:18 - Make Project
0:58 - Hex Grid Script
3:17 - Perlin Noise for Water and Trees
5:13 - Infinite Variation
5:33 - Interaction
6:48 - Replacing Tiles
7:32 - Outro
Socials:
🔗 Website: emilwalseth.com/
🔗 TikTok: / emilwalseth
🔗 Instagram: / emil.walseth
#unity #unity3d #devlog #gamedev #indiedev #gamedevelopment #procedural #hexgrid #hex #feature #highlight

Игры

Опубликовано:

 

1 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 96   
@MicAndation
@MicAndation 11 месяцев назад
I grew up alongside your norwegian content, always watching every video as soon as I could when it came out, so its amazing to see you here again! Having taken an interest in game development myself, I'm very exited to see where this goes, and wish you the best of luck with this channel! Already looking forward to the next video! ❤
@emilwalseth
@emilwalseth 11 месяцев назад
Thank you so much! It will be an exciting journey that's for sure!
@2-look
@2-look 11 месяцев назад
Endelig er du tilbaket!!!!!!😁😁😁😁
@Official_Earthy
@Official_Earthy 20 дней назад
Good luck on your new path!🥲
@SpiderSplash_
@SpiderSplash_ 11 месяцев назад
I grew up with your mod showcases in Norwegian, so it's nice seeing you back here on RU-vid! I started watching devlogs and such quite a bit, so i don't mind the style of content you have now, and I totally understand that you chose to have this channel in English, the demand for game development videos in Norwegian is pretty low. Good luck with making more great content!
@emilwalseth
@emilwalseth 11 месяцев назад
Thank you so much! New adventures waiting✨💥
@ninjasploit
@ninjasploit 11 месяцев назад
​@@emilwalseth I hope you don't mind me coming along for the ride as well!
@emilwalseth
@emilwalseth 11 месяцев назад
@@ninjasploit awesome!
@tapende-kveite3087
@tapende-kveite3087 8 месяцев назад
Ove missed you dude
@match_mc114
@match_mc114 11 месяцев назад
I love this so much!
@BlueCrewGaming
@BlueCrewGaming 10 месяцев назад
Emil is back at it again!! Welcome back to youtube, have missed you soo much!!
@myk3l9675
@myk3l9675 10 месяцев назад
This is awesome!
@zennycool
@zennycool 10 месяцев назад
Amazing video! Keep it up
@nikolok7343
@nikolok7343 11 месяцев назад
Having you being my idol growing up its nice seeing you back, I said I would be excited to support your career in game-development and I am keeping that promise.
@emilwalseth
@emilwalseth 11 месяцев назад
Appreciate that Nikolok😍❤️
@guardian479Fan
@guardian479Fan 11 месяцев назад
First vid on the channel!
@LavxaGames
@LavxaGames 2 месяца назад
Hi Emil! Thank you for this. I am creating a game based on this style
@igorbarbosa6986
@igorbarbosa6986 11 месяцев назад
Bro keep it going, your video has much value!!! Looking forward to the next one
@emilwalseth
@emilwalseth 11 месяцев назад
Thank you so much! 😍
@SouthBS
@SouthBS 11 месяцев назад
So cool!
@benjattkk
@benjattkk 9 месяцев назад
Your visualizations are great! I love it!
@emilwalseth
@emilwalseth 9 месяцев назад
Thanks!
@Deafhearing102
@Deafhearing102 11 месяцев назад
It so fun to see how much you have been growing up these years! And ofc its always more for more improvement!
@emilwalseth
@emilwalseth 11 месяцев назад
🥳🥳
@jom1718
@jom1718 11 месяцев назад
I like how you go more in to detail about the inner workings of your code than most gamedev youtubers. I was able to learn what interfaces are really useful for from this video. Ngl I used to think they were just straight up useless lmao.
@emilwalseth
@emilwalseth 11 месяцев назад
Really glad to hear that! I am trying to avoid going into every single line of code, but simply explaining the concepts of it so people can work out their own ways of using it. Hope that is a good approach!
@SidereumGamesDevlogs
@SidereumGamesDevlogs 11 месяцев назад
Wow the animations look super smooth! Great video!
@emilwalseth
@emilwalseth 11 месяцев назад
Thanks!!
@eggnogperson
@eggnogperson 11 месяцев назад
Great visualisations. Subscribed!
@emilwalseth
@emilwalseth 11 месяцев назад
Thank you!!
@JonqsSimulationsOfficial
@JonqsSimulationsOfficial 11 месяцев назад
Finally Emil! I’ve been waiting for you to make a game dev channel. Can’t wait to see what this becomes!
@emilwalseth
@emilwalseth 11 месяцев назад
🥳🥳
@vanessagothic4751
@vanessagothic4751 11 месяцев назад
This was surprisingly informative! I'm new to Unity and some of this stuff like pearly noise, interfaces, and prefab variants were helpful to learn about! ^^
@emilwalseth
@emilwalseth 11 месяцев назад
Glad you found it helpful! A lot of the same concepts are used in most game engines, so very handy to know about!
@atacothatgames
@atacothatgames 11 месяцев назад
Very cool to see new videos from you again
@emilwalseth
@emilwalseth 11 месяцев назад
More to come!
@URBAN_holl
@URBAN_holl 11 месяцев назад
Love u Emil still whatching ur old vids
@Sunb1ur
@Sunb1ur 11 месяцев назад
ENDELIG, du er tilbake, savnet videoene så mye!
@emilwalseth
@emilwalseth 11 месяцев назад
🎉🎉
@Caden_Burleson
@Caden_Burleson 11 месяцев назад
This is Dope!
@emilwalseth
@emilwalseth 11 месяцев назад
Thanks!💥
@mathiasmaes9249
@mathiasmaes9249 11 месяцев назад
Nice quality video, looking forward to the follow-up videos.
@emilwalseth
@emilwalseth 11 месяцев назад
Thanks!
@andurdgaming2728
@andurdgaming2728 11 месяцев назад
This was fun to watch! Could you try to make a tutorial series on how we can make our own small games?
@emilwalseth
@emilwalseth 11 месяцев назад
I might! I mostly want to make quick summaries, as I think more people will find those interesting, but maybe some day I could make some tutorials aswell:)
@TheWabbleDoo
@TheWabbleDoo 11 месяцев назад
han er tilbake!!!! jeg er så glad
@emilwalseth
@emilwalseth 11 месяцев назад
🔥❤️
@helenelm05
@helenelm05 11 месяцев назад
❤️❤️
@gytonjay6826
@gytonjay6826 11 месяцев назад
I have a idea what if you made a fishing feature in your up coming mobile game and I can what to see you make more of your game.🙂
@emilwalseth
@emilwalseth 11 месяцев назад
That's a fun idea! I could do that:)
@milekujovic6006
@milekujovic6006 5 месяцев назад
Hi, great video 😁 Just one question about the tile replacement, can you suggest any tutorials for it?
@marvindsa6616
@marvindsa6616 11 месяцев назад
Great work, super understandable tutorial or devlog , It would be great if you would make a tutorial on Dotween , path finding , bezier curve, very few people have done tutorial series on it.
@emilwalseth
@emilwalseth 11 месяцев назад
Next video will be covering A* Pathfinding!:)
@0xngmi
@0xngmi 11 месяцев назад
very cool! I wish there was a full tutorial with more indepth explanations for beginners. eg. how to use blender for the hex and implement it to unity
@emilwalseth
@emilwalseth 11 месяцев назад
Thanks! There are soooo many great tutorials covering this stuff, so I am trying to stay away from super in depth explanations to keep the videos entertaining for all levels:)
@mek101whatif7
@mek101whatif7 10 месяцев назад
Isn't having each tile as a separate object a bit heavy? Since you build everything off a grid, why not a simple matrix where the kind/state of each tile is indicated by an enum? Something like enum TileKind { Grass, Wood, Camp } struct Tile { TileKind kind; bool selected } var world = new Tile[80][80];
@emilwalseth
@emilwalseth 10 месяцев назад
You are right, I have actually updated this since the video. Now it is all one BaseTile object, and it uses a Scriptable object to get the data for the tile and refreshes it, like you mentioned:)
@rottetryne8083
@rottetryne8083 11 месяцев назад
savnet kanalen din SÅ MYE!
@emilwalseth
@emilwalseth 11 месяцев назад
Takk❤️🥳
@TheAwesomeWorldTAW
@TheAwesomeWorldTAW 11 месяцев назад
Maybe a performance improvement might be to not attach the SelectionMesh to the tile prefab, this means that all tiles will have this extra mesh (draw calls are essentially doubled per tile I believe) even though you only want to render one at a time, when a tile is selected. So maybe instantiate one disabled SelectionMesh at game start and attach it + enable it when you select a tile. If you stick to smaller worlds it wont be a big issue, but when you ever need a performance boost this might be an improvement.
@emilwalseth
@emilwalseth 11 месяцев назад
Thats a good idea! Thanks! I have planned on expanding the selection system so several tiles can be selected at one time, making an outline around all selected tiles, so maybe I can try to make a more optimized solution then 🤔
@DiskRL
@DiskRL 11 месяцев назад
just a suggestion: Make it so that you have to chop down trees to gather wood to then make a campfire
@emilwalseth
@emilwalseth 11 месяцев назад
That's a good idea! I think I'll make a "hero" character that you start with, and they need to collect resources to make the buildings.
@healky
@healky Месяц назад
This helped me thanks (make more videos >:)
@emilwalseth
@emilwalseth Месяц назад
That's great! No worries:)
@TR0P1C4L-T0P1C
@TR0P1C4L-T0P1C 11 месяцев назад
Hello from tiktok
@emilwalseth
@emilwalseth 11 месяцев назад
Welcome;)
@DinLokaleJonas
@DinLokaleJonas 11 месяцев назад
quick tip Backup Your Work: Regularly back up your project to prevent data loss. Use cloud storage or other backup solutions to keep your work safe. (just in case)
@emilwalseth
@emilwalseth 11 месяцев назад
Good tip! I use git, has been working well so far:)
@haukrr_dev
@haukrr_dev 11 месяцев назад
Hey! I would recommend you not instantating a game object for every tile but rather separating a group of tiles in chunks and then rendering the mesh of a chunk with the RenderMesh Unity function (that mesh should have of course all the vertices, uv, normals and faces for each tile). This way you can render lots of tiles at the same time and do a semi-infinite world without overkilling the ram and cpu with unnecessary GameObjects. And also, making a handler that manages the tiles instead of each tile having its script to determine its behavior would be a better approach for ram usage as well. And also, for mobile it would be sooo much better for their limited hardware capabilities. I hope it made sense and I hope you the best with this project, it looks so cool! 💪 Edit: in addition to reducih the ram needed for having all the game objects created, it also reduces the overkill that instantiating and destroying game objects produce
@emilwalseth
@emilwalseth 11 месяцев назад
Thanks for the suggestion! Im wondering tho, would this also let me animate/replace one specific tile? It seems as this would be a more static approach that would not allow for modifying single tiles?
@haukrr_dev
@haukrr_dev 11 месяцев назад
@@emilwalseth you would still be able to animate them but it wouldn't be as straight forward as it is right now. I'm doing a game with voxels and I need also voxels with animations and I am using this approach I mentioned. The way I fixed that was to store an integer for each tile to know which index is their first one in the chunk mesh and then, I would simply go to the array and re-write the vertices of that specific tile. Before implementing animations, just doing what I mentioned I went from 10 fps loading a couple chunks to +1000 loading many more chunks. And after adding the animations, I do not notice any difference in the performance. So I would say that in your case should work really well too, as you only will have tiles in 2d, so it will perform much better than having voxels in the three dimensions. I hope it made sense and if you need help, I can explain it a little bit more detailed :) Edit: And also, yeah, you could replace them as well. You would have to update the whole chunk mesh, you won't notice any difference looking at the fps as well here! Also, quick tip if you do this, iterate through the array from the z axis to the x axis, not from x to z, it's much more efficient and faster because of the location principle, with this it will be even less impactful!
@emilwalseth
@emilwalseth 11 месяцев назад
@@haukrr_dev right! I understand. Thanks! I will definitely keep that in mind if performance becomes an issue. Right now I will keep the same system since I don't think the map needs to be that big💥💥💪
@haukrr_dev
@haukrr_dev 11 месяцев назад
@@emilwalseth Fair enough! :). Good luck with the project, it looks so cool. I am really excited to see where does this goes!
@NotofficalAdvicePlays
@NotofficalAdvicePlays 11 месяцев назад
what about your old game?
@emilwalseth
@emilwalseth 11 месяцев назад
I'm thinking of continuing that after tribes is done;) Waiting for a plugin I need to be in a usable state🔥
@Pro-xm8jb
@Pro-xm8jb 11 месяцев назад
Hej er du dansk? har ikke hørt navnet emil i andre lande før:] good video btw
@emilwalseth
@emilwalseth 11 месяцев назад
Norsk;)🇳🇴🇳🇴
@charlieempire7733
@charlieempire7733 11 месяцев назад
Can you describe the idea of the game
@emilwalseth
@emilwalseth 11 месяцев назад
Ofc! I will make a devlog where I describe the game more when I get to a point where I have added enough content to it to make an interesting devlog. But basically, its an RTS where you build villages, armies and fight against an opponent to capture the most land.
@charlieempire7733
@charlieempire7733 11 месяцев назад
@@emilwalseth thanks👍
@Shadow4EU
@Shadow4EU 11 месяцев назад
Are u not gonna upload on ur norwegian channel anymore? if not i would hope u can play the new ARK 2 that is coming out. i have been watching ur channel since ur first video even when i used my moms phone i hope u were having a great time in london hope so i have missed ur content:)
@emilwalseth
@emilwalseth 11 месяцев назад
I don't think so unfortunately;) I appreciate it tho!
@Shadow4EU
@Shadow4EU 11 месяцев назад
Ok@@emilwalseth
@helenelm05
@helenelm05 11 месяцев назад
Husker du meg Emil?😁
@emilwalseth
@emilwalseth 11 месяцев назад
Ja:D velkommen:)
@TheNeighborhoodZenPriest
@TheNeighborhoodZenPriest 11 месяцев назад
How can you be Norwegian (according to RU-vid) and at the same time sound so Swedish?!
@emilwalseth
@emilwalseth 11 месяцев назад
Haha we have very similar languages😂
@magnuskarlsen3116
@magnuskarlsen3116 10 месяцев назад
Hello, this is a good video, but please be slowly, it`s to fast, but thank you very very much!
@emilwalseth
@emilwalseth 10 месяцев назад
Sorry about that! Ill keep it in mind:) Not meant as a tutorial video tho, so i will not go super in depth about how to code everything.
@UngodlyDev
@UngodlyDev 10 месяцев назад
i get the name tribes is a placeholder but theres already tribes and the tribez so even keeping that name as a placeholder seems inadvisable. not because of trademark or copyright or market confusion, but because people like me who are recommended your devlog are already aware that the name is taken and we either assume youre talking about that existing thing, or that youre not being careful in your market research and that looks bad on your company.
@emilwalseth
@emilwalseth 10 месяцев назад
Yeah i will definitely change it soon 👍
@Liquidkapu
@Liquidkapu 11 месяцев назад
Add sand on the coast 😡😡😡
@emilwalseth
@emilwalseth 11 месяцев назад
Maybe, would need a use for it tho🤔🤔🤔
Далее
Hexes vs Squares: showdown of the battlemaps!
6:58
Просмотров 5 тыс.
🌊🌊🌊
01:01
Просмотров 924 тыс.
Ne jamais regarder une fille à la plage 😂
00:10
Просмотров 766 тыс.
Giving Personality to Procedural Animations using Math
15:30
Is it still Pixel Art if ...?
4:47
Просмотров 4,4 тыс.
Procedurally Generated 3D Dungeons
10:26
Просмотров 36 тыс.
My first impression using Unity | Tribes Devlog 01
10:31
How I Learned Procedural Generation
5:36
Просмотров 257 тыс.
The Wave Function Collapse algorithm
21:45
Просмотров 278 тыс.
Coding Adventure: Portals
16:06
Просмотров 1,3 млн
РАТТЕ, почему ты меня ПРЕДАЛ?
5:04
МЕТРО 2066 - Minecraft Фильм
2:43:57
Просмотров 262 тыс.