Пікірлер
@simsimsim-n2t
@simsimsim-n2t 3 сағат бұрын
is it available for webgl?
@fernando3289
@fernando3289 7 сағат бұрын
Perfect! tysm
@viniguerrero
@viniguerrero 8 сағат бұрын
How can we generate meshes for rooms if we’re using the random walker algorithm for rooms and they’re not square shaped?
@Arkrevive10
@Arkrevive10 3 күн бұрын
AAA title game studios are gonna be Sacred of him now bro really deserve more
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
I appreciate that 🙂
@AlMgAgape
@AlMgAgape 3 күн бұрын
Why not just change color to white and back to normal again
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
You mean inside the SpriteRenderer? You can only make the sprite black this way. White is the default color.
@petterlerdahl1193
@petterlerdahl1193 3 күн бұрын
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
@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 🙂
@Necron1018Gaming
@Necron1018Gaming 3 күн бұрын
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
@SunnyValleyStudio Күн бұрын
Thanks for the feedback! I'm really glad that my tutorial is inspiring you to make your own game based on this 🙂
@MAGNETO-i1i
@MAGNETO-i1i 4 күн бұрын
"EASY"
@IWan_Kapadi.4874
@IWan_Kapadi.4874 4 күн бұрын
Can Someone Give me the Full Script?
@Icewind007
@Icewind007 4 күн бұрын
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
@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 👍
@ECAKJ
@ECAKJ 4 күн бұрын
Do you have a video on 2D ai. I’m kind of new and thought navmesh was 3D
@SunnyValleyStudio
@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 🙂
@mysteriumxarxes3990
@mysteriumxarxes3990 4 күн бұрын
NO DONT USE LIGHT PROBES NOOOOOOOOO
@MyDrTech
@MyDrTech 4 күн бұрын
great
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
Thanks for the comment 🙂
@SaphireDO
@SaphireDO 4 күн бұрын
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
@SaphireDO
@SaphireDO 4 күн бұрын
Should i delete line 40 from InventorySO?
@SaphireDO
@SaphireDO 4 күн бұрын
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.
@SaphireDO
@SaphireDO 4 күн бұрын
How to add check if slotisfree != true
@purnabratakar7176
@purnabratakar7176 4 күн бұрын
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
@SunnyValleyStudio Күн бұрын
I will definitely have a longer series about AI in a 2D game later this month 👍I might tackle a 3d project afterwards.
@palanolho82
@palanolho82 5 күн бұрын
Do you know if this works with other navigation systems like A* Pathfinding asset ?
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
I doubt that there is a premade integration. You can definitely create your own nodes and integrate both systems 👍
@JP-vi9mw
@JP-vi9mw 5 күн бұрын
im subscribing
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
Awesome! Thanks 🙂
@yashkhd1100
@yashkhd1100 5 күн бұрын
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
@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
@yashkhd1100 Күн бұрын
@@SunnyValleyStudio Yes that is true...creating a Prod. ready parameterized world generation system is lot more involved...!
@brutalgamer1507
@brutalgamer1507 5 күн бұрын
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
@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.
@naletovps
@naletovps 5 күн бұрын
thanks
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
Thanks for watching!
@FlyMiCatyup
@FlyMiCatyup 5 күн бұрын
I cant get the suggestions to show up in vscode
@SunnyValleyStudio
@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.
@weischreiner
@weischreiner 6 күн бұрын
4:09
@thepolygonpilgrimage
@thepolygonpilgrimage 6 күн бұрын
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!
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
You are right. Thanks for pointing that out 🙂
@thomasshaw4855
@thomasshaw4855 6 күн бұрын
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).
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
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.
@MalikenGD
@MalikenGD 6 күн бұрын
This is fantastic
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
I appreciate the comment 🙂
@denver_8397
@denver_8397 6 күн бұрын
head blown
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
Yeah. Not the most useful tip but something worth knowing when working with shades 👍
@denver_8397
@denver_8397 6 күн бұрын
hey sunny, may I ask, will this amazing method also work on some objects that are apart in distance? just asking, thanks!
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
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.
@kahate7328
@kahate7328 6 күн бұрын
amogus
@arthurjvnb
@arthurjvnb 6 күн бұрын
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.
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
Thanks for explaining this 👍
@nibiruimagineering
@nibiruimagineering 6 күн бұрын
Oh cats! I gotta looking to this
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
Thanks for checking out my video 🙂
@reqi589
@reqi589 7 күн бұрын
Thanks for the tutorial, is it also working with a 2d platformer and if yes could you do a tutorial?
@SunnyValleyStudio
@SunnyValleyStudio 5 күн бұрын
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-e5b
@DorisRomano-e5b 7 күн бұрын
This tutorial really boosted my knowledge!
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
Glad to hear it! ❤
@ApollousasBear
@ApollousasBear 7 күн бұрын
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-s9c
@NguyễnTrung-s9c 7 күн бұрын
Hi Bro. How about performance of this package? Can you test with larger object at runtime plz. Thanks
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
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-p3e
@TusharDharashivkar-p3e 7 күн бұрын
What's the AI in it? It seems more like visual scripting..
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
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
@정동우-n2x
@정동우-n2x 7 күн бұрын
Cool!
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
Thanks for the comment 🙂
@정동우-n2x
@정동우-n2x 7 күн бұрын
@@SunnyValleyStudio I've bought all your courses, and I'm thinking that this AI course will also come out. I'm waiting.
@GHO166
@GHO166 7 күн бұрын
thank you so much
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
Glad you like it 🙂
@GHO166
@GHO166 7 күн бұрын
thank you
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
I appreciate the comment 👍
@lee1davis1
@lee1davis1 7 күн бұрын
Did you research how to use this new feature or did unity set it all up like a package.?
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
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?
@lee1davis1
@lee1davis1 6 күн бұрын
@SunnyValleyStudio yes. I was wondering what the prerequisites for behavior trees was. I know a little.
@darkwavepaint
@darkwavepaint 7 күн бұрын
I wear glasses specifically for the colors of Visual Scripting. :)
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
IMO it's great that there is some color and design to this tool 🙂
@fkjaha
@fkjaha 7 күн бұрын
Since you have spent more time with the asset, doesn't it have any downsides or problems? (comparing to writing custom state machines)
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
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?
@nadiadwi4966
@nadiadwi4966 7 күн бұрын
3:58 did i miss something? i've done what you did, but nothing happens
@darkwavepaint
@darkwavepaint 7 күн бұрын
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.
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
I am glad that it works for you 🙂
@sasdasu00dfsdfardo
@sasdasu00dfsdfardo 7 күн бұрын
big if true
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
I think its worth to give it a shot. Free is a fair price after all 🙂
@forcesoftheevil9252
@forcesoftheevil9252 7 күн бұрын
UniTech developed it especially for me, btw 😂
@Baaatz07
@Baaatz07 7 күн бұрын
Finally 🗿
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
Yeah I am too super excited about finally having a native solution for AI in unity.
@Baaatz07
@Baaatz07 17 сағат бұрын
Could you maybe make a tutorial on how to use this feature in 3d? Or is it the same process
@dertobbe1176
@dertobbe1176 7 күн бұрын
More graphs 😩
@SunnyValleyStudio
@SunnyValleyStudio Күн бұрын
Yeah but I think its a good thing 👍
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
You can find example Demo project for this package at assetstore.unity.com/packages/templates/tutorials/behavior-demo-for-unity-298313 👍
@WoodrowsAmazingWorld
@WoodrowsAmazingWorld 8 күн бұрын
3:09 i cant find the create data thing
@SunnyValleyStudio
@SunnyValleyStudio 7 күн бұрын
Have you added [CreaeteAssetMenu] attribute in the script? That is often the case when I have this issue