How can we generate meshes for rooms if we’re using the random walker algorithm for rooms and they’re not square shaped?
@Arkrevive103 күн бұрын
AAA title game studios are gonna be Sacred of him now bro really deserve more
@SunnyValleyStudioКүн бұрын
I appreciate that 🙂
@AlMgAgape3 күн бұрын
Why not just change color to white and back to normal again
@SunnyValleyStudioКүн бұрын
You mean inside the SpriteRenderer? You can only make the sprite black this way. White is the default color.
@petterlerdahl11933 күн бұрын
I still get my roads in the air, outside of the area, bottom right corner. Could it have something to do with + and - values? But i dont see where it is wrong. Have checked the code on x and z and the one place that has y. and it is correct
@SunnyValleyStudioКүн бұрын
This kind of thing happens to me when i mix the Z and Y coordinates as i work often in 2D and in 3d I forget to put (X, 0, Y) in a double for loop. I hope it makes sense? I don't think we did anything complex here to cause this outside of some simple error like this 🙂
@Necron1018Gaming3 күн бұрын
I think at your Line 63 (if statement) at 5:00, you stated (yMin - offset) and I think it should be (yMin + offset) like you had for X. Each way should work regardless. I've really been enjoying this series and am planning out a personal project using this :D
@SunnyValleyStudioКүн бұрын
Thanks for the feedback! I'm really glad that my tutorial is inspiring you to make your own game based on this 🙂
@MAGNETO-i1i4 күн бұрын
"EASY"
@IWan_Kapadi.48744 күн бұрын
Can Someone Give me the Full Script?
@Icewind0074 күн бұрын
Ok, just tried this, and I already really like it! I was even half way into creating my own AI system and was getting overwhelmed, and I recreated it in this so much more cleanly.
@SunnyValleyStudioКүн бұрын
Yeah I get the same impression. This system really helps me to focus on the ai logic instead of creating an AI framework to run the logic 👍
@ECAKJ4 күн бұрын
Do you have a video on 2D ai. I’m kind of new and thought navmesh was 3D
@SunnyValleyStudioКүн бұрын
Yeah navmesh is 3d. I will have work on a more step-by-step tutorial just after Crazy Games game jam ends at the end of this week 🙂
@mysteriumxarxes39904 күн бұрын
NO DONT USE LIGHT PROBES NOOOOOOOOO
@MyDrTech4 күн бұрын
great
@SunnyValleyStudioКүн бұрын
Thanks for the comment 🙂
@SaphireDO4 күн бұрын
Hello i get 1 warning and 1 error, sometimes when i swap items it says this ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index And i have this warning Unreachable code detected at line 33, in your gitthub InventorySO
@SaphireDO4 күн бұрын
Should i delete line 40 from InventorySO?
@SaphireDO4 күн бұрын
I get ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index If i swap empty slot with empty slot.
@SaphireDO4 күн бұрын
How to add check if slotisfree != true
@purnabratakar71764 күн бұрын
Could you make more in-depth tutorial on this package for Conditionals, Aborts and the FSM switch implementation? This package is very similar to BD and I would like to learn more, but reading through docs is really not my thing. Great Video.
@SunnyValleyStudioКүн бұрын
I will definitely have a longer series about AI in a 2D game later this month 👍I might tackle a 3d project afterwards.
@palanolho825 күн бұрын
Do you know if this works with other navigation systems like A* Pathfinding asset ?
@SunnyValleyStudioКүн бұрын
I doubt that there is a premade integration. You can definitely create your own nodes and integrate both systems 👍
@JP-vi9mw5 күн бұрын
im subscribing
@SunnyValleyStudioКүн бұрын
Awesome! Thanks 🙂
@yashkhd11005 күн бұрын
your content is always unique...something that u won't find easily..Thanks..!!! I wonder if we can expand this series to implement full procedural levels similar to Valheim
@SunnyValleyStudioКүн бұрын
Thanks! I would love that 🙂 Unfortunately those procedural systems takes a lot to create and test and those aren't the most popular videos (unless you recreate something like Valheim 🙂). I will definitely consider a larger project like this 👍
@yashkhd1100Күн бұрын
@@SunnyValleyStudio Yes that is true...creating a Prod. ready parameterized world generation system is lot more involved...!
@brutalgamer15075 күн бұрын
How can I add element in it during runtime I am using a class of there coordinate and distance how can I add them is my list runtime
@SunnyValleyStudioКүн бұрын
I would suggest to use docs.unity3d.com/ScriptReference/ISerializationCallbackReceiver.html to modify some private list in your code when you modify the serialized list. You could just drag and drop at runtime but you need to ensure that your code doesn't cashed the "count" or index (which your often would). It's safer to manually update everything to avoid null exceptions.
@naletovps5 күн бұрын
thanks
@SunnyValleyStudioКүн бұрын
Thanks for watching!
@FlyMiCatyup5 күн бұрын
I cant get the suggestions to show up in vscode
@SunnyValleyStudioКүн бұрын
I think you need some extensions in vscode to have the same amount of quick help as visual studio 2022 offers. I believe that Jetbrains Rider is now free for non-commercial use and it has the same level (or better) of refactoring's.
@weischreiner6 күн бұрын
4:09
@thepolygonpilgrimage6 күн бұрын
One downside to this is now that you have one larger mesh you lose some of the gains from occlusion culling so do this with care and occlusion culling in mind. Great presentation!
@SunnyValleyStudio5 күн бұрын
You are right. Thanks for pointing that out 🙂
@thomasshaw48556 күн бұрын
The million dollar question...can you update the graph while in playmode and have the behaviours update in realtime (without having to jump in and out of playmode).
@SunnyValleyStudio5 күн бұрын
Hey! I don't think you can. I am pretty sure that you can swap graphs at runtime so you could potentially create duplicate graph and change something there - but I am not sure it you can and if at this point it isn't easier to just stop and start the project again.
@MalikenGD6 күн бұрын
This is fantastic
@SunnyValleyStudio5 күн бұрын
I appreciate the comment 🙂
@denver_83976 күн бұрын
head blown
@SunnyValleyStudio5 күн бұрын
Yeah. Not the most useful tip but something worth knowing when working with shades 👍
@denver_83976 күн бұрын
hey sunny, may I ask, will this amazing method also work on some objects that are apart in distance? just asking, thanks!
@SunnyValleyStudio5 күн бұрын
In theory I think it would. In practice unless its some specific case where it would be beneficial I wouldn't do it that way. Someone else has mentioned that we lose the benefit of occlusion culling if we do that - which is acceptable choice at times.
@kahate73286 күн бұрын
amogus
@arthurjvnb6 күн бұрын
This technique is essencial for optimization, but not all static objects should be occluders and occludees. The two most common examples that I encounter are: - if a small object is marked as Occluder, it might wrongly occlude larger objects, causing visual glitches. - Sometimes even big objects shouldn't be occludees because they might cause some negative visual impact on the scene if they disappear (shadows may noticeably disappear and the player might notice). After marking them, it's good to test with the camera in different (weird) angles and positions to see if it causes any visual glitches. And preferably, configure each object, one by one (not letting to do that optimization only after the scene completion). This technique is imperative to know and use for you game to be professionally made and be well optimized. I always mark both and then start to check if I have any objects that I want to unmark it. Most of the time I just unmark "Occluder" from small objects. I'm glad you are spreading the word about each technique. I like to watch your shorts, even if I do games myself for a long time, because sometimes I learn a thing or two from these videos. And that's awesome! :D PS: I'm not a native speaker. Please forgive me if I made any misspelling.
@SunnyValleyStudio5 күн бұрын
Thanks for explaining this 👍
@nibiruimagineering6 күн бұрын
Oh cats! I gotta looking to this
@SunnyValleyStudio5 күн бұрын
Thanks for checking out my video 🙂
@reqi5897 күн бұрын
Thanks for the tutorial, is it also working with a 2d platformer and if yes could you do a tutorial?
@SunnyValleyStudio5 күн бұрын
It works with all types of projects. You just need to specify the logic 🙂 I am preparing a step-by-step tutorial about it. I just need to work a bit more with this asset. 👍
@DorisRomano-e5b7 күн бұрын
This tutorial really boosted my knowledge!
@SunnyValleyStudio7 күн бұрын
Glad to hear it! ❤
@ApollousasBear7 күн бұрын
What sprites are you using at the start of the video? I am sure I have seen them somewhere before but I can't quite find them.
@NguyễnTrung-s9c7 күн бұрын
Hi Bro. How about performance of this package? Can you test with larger object at runtime plz. Thanks
@SunnyValleyStudio7 күн бұрын
Yeah I am going to try creating a larger project and do a step-by-step series about it. I will research performance as well 🙂
@TusharDharashivkar-p3e7 күн бұрын
What's the AI in it? It seems more like visual scripting..
@SunnyValleyStudio7 күн бұрын
I supposed you can say that. I have implemented FSM, Context Steering and Behavior Tree through scripts and I would definitely preferer using this package instead to give some behaviors to my NPCs
@정동우-n2x7 күн бұрын
Cool!
@SunnyValleyStudio7 күн бұрын
Thanks for the comment 🙂
@정동우-n2x7 күн бұрын
@@SunnyValleyStudio I've bought all your courses, and I'm thinking that this AI course will also come out. I'm waiting.
@GHO1667 күн бұрын
thank you so much
@SunnyValleyStudio7 күн бұрын
Glad you like it 🙂
@GHO1667 күн бұрын
thank you
@SunnyValleyStudio7 күн бұрын
I appreciate the comment 👍
@lee1davis17 күн бұрын
Did you research how to use this new feature or did unity set it all up like a package.?
@SunnyValleyStudio7 күн бұрын
Its a package. That being said creating those branches requires some research. The solution that I show here is probably not the most optimal because I am still learning how to use this package myself. Unity has just released an example project that I have linked din the top comment. Does this answers your question?
@lee1davis16 күн бұрын
@SunnyValleyStudio yes. I was wondering what the prerequisites for behavior trees was. I know a little.
@darkwavepaint7 күн бұрын
I wear glasses specifically for the colors of Visual Scripting. :)
@SunnyValleyStudioКүн бұрын
IMO it's great that there is some color and design to this tool 🙂
@fkjaha7 күн бұрын
Since you have spent more time with the asset, doesn't it have any downsides or problems? (comparing to writing custom state machines)
@SunnyValleyStudio7 күн бұрын
Well I had some trouble getting used to it. Probably should have created "Condition" instead of "Action" for TargetDetector check. I have created a few FSM implementations in the code myself and used Behavior Designer asset. I don't like relying on other assets so I preferred scripting my ai. Now with this package being officially supported I think that I would chose to spend time learning it and using as my primary way to create ai. Does this help?
@nadiadwi49667 күн бұрын
3:58 did i miss something? i've done what you did, but nothing happens
@darkwavepaint7 күн бұрын
Thank You so much for your knowledge. I've done many tutorials and pay for many of them though Udemy. Many are not as complex and as complete as this one you have given to the world. Thanks a ton for your gifting and the time you took to share with everyone. Everything works great in my version, which proves your code is excellent.
@SunnyValleyStudio7 күн бұрын
I am glad that it works for you 🙂
@sasdasu00dfsdfardo7 күн бұрын
big if true
@SunnyValleyStudioКүн бұрын
I think its worth to give it a shot. Free is a fair price after all 🙂
@forcesoftheevil92527 күн бұрын
UniTech developed it especially for me, btw 😂
@Baaatz077 күн бұрын
Finally 🗿
@SunnyValleyStudioКүн бұрын
Yeah I am too super excited about finally having a native solution for AI in unity.
@Baaatz0717 сағат бұрын
Could you maybe make a tutorial on how to use this feature in 3d? Or is it the same process
@dertobbe11767 күн бұрын
More graphs 😩
@SunnyValleyStudioКүн бұрын
Yeah but I think its a good thing 👍
@SunnyValleyStudio7 күн бұрын
You can find example Demo project for this package at assetstore.unity.com/packages/templates/tutorials/behavior-demo-for-unity-298313 👍
@WoodrowsAmazingWorld8 күн бұрын
3:09 i cant find the create data thing
@SunnyValleyStudio7 күн бұрын
Have you added [CreaeteAssetMenu] attribute in the script? That is often the case when I have this issue