2D Top Down - Enemy AI Pathfinding without rotating gameobject
Hey all!
I'm working on a 2D Top Down game in which there are enemies that have to be able to chase the player. The game is made on a tilemap as well and all obstacles are tiles. I want the enemy to be able to chase the player while also being able to avoid obstacles.
AT THE MOMENT... i have introduced A* Grid pathfinding but the movement of my enemies seem way too robotic, clunky and feel "squarish" as they follow the grid very precisely. I have also tried using other methods but haven't been able to find or adjust one to suit my needs. I tried following along this tutorial (https://www.youtube.com/watch?v=WK0fBiytW_8) and adjusting it to my needs, but i can't seem to wrap my head around how to avoid obstacles when chasing the player like this, WITHOUT rotating the gameobject as seen in the example at 14:20.
What have you been using for Top Down Enemy AI Behaviour? I don't mind using the A* Grid pathfinder, but i want to be able to smooth the movement at least to make it seem more natural, so if anyone knows any source that might help me figure that out, it'd be wonderful!
https://redd.it/1gqn0eo
@r_Unity3D
Hey all!
I'm working on a 2D Top Down game in which there are enemies that have to be able to chase the player. The game is made on a tilemap as well and all obstacles are tiles. I want the enemy to be able to chase the player while also being able to avoid obstacles.
AT THE MOMENT... i have introduced A* Grid pathfinding but the movement of my enemies seem way too robotic, clunky and feel "squarish" as they follow the grid very precisely. I have also tried using other methods but haven't been able to find or adjust one to suit my needs. I tried following along this tutorial (https://www.youtube.com/watch?v=WK0fBiytW_8) and adjusting it to my needs, but i can't seem to wrap my head around how to avoid obstacles when chasing the player like this, WITHOUT rotating the gameobject as seen in the example at 14:20.
What have you been using for Top Down Enemy AI Behaviour? I don't mind using the A* Grid pathfinder, but i want to be able to smooth the movement at least to make it seem more natural, so if anyone knows any source that might help me figure that out, it'd be wonderful!
https://redd.it/1gqn0eo
@r_Unity3D
YouTube
Simple AI Obstacle Avoidance in Unity
In this Unity tutorial, we'll explore how to add some simple obstacle resolution logic to enemies, so they don’t get stuck walking into each other.
We’ll also look at how the same logic can be used to have the enemies navigate around obstacles.
To do this…
We’ll also look at how the same logic can be used to have the enemies navigate around obstacles.
To do this…
What do you think of the main menu?
Temporary main menu
This is our current animated main menu for our upcoming game Dreamwalker. Any suggestions for improvements?
Appreciate any feedback :)
https://redd.it/1gqq81r
@r_Unity3D
Temporary main menu
This is our current animated main menu for our upcoming game Dreamwalker. Any suggestions for improvements?
Appreciate any feedback :)
https://redd.it/1gqq81r
@r_Unity3D
From sketch to game release. VED is a story-driven, hand-drawn RPG with a unique turn-based combat system, releasing on all platforms in just 18 hours!
https://redd.it/1gqrchw
@r_Unity3D
https://redd.it/1gqrchw
@r_Unity3D
This media is not supported in your browser
VIEW IN TELEGRAM
Anyone have any idea why hands seem to disapear when looking up and down if i change the fov the angle you see the arms disapear also seems to change (example in video hip fov90 ads fov60)
https://redd.it/1gqeyma
@r_Unity3D
https://redd.it/1gqeyma
@r_Unity3D
Basics of Unity: Using GitHub Desktop
It took me an extra week but I finally finished my video on how you should be using github Desktop.
https://www.youtube.com/watch?v=\_PeSEk7iMJc (its a bit long at nearly 8 mins but you can prob watch it at 1.5 to 2 times speed since I can talk slow and if you know some stuff you might be able to go fast)
It goes over
A not so quick overview of the github desktop app
protecting your master branch, from yourself.
Making and using new branches and how and why you might do that.
Stay tuned the next videos are Start awake and enable, update late update and fixedupdate, Prefabs, Instantiate, Scriptable objects, and a Basic 2D character controller.
If you have suggestion for more complicated topics id like to hear them!
Id youd like me to dive in and make a tutorial on another version control, Leave a message.
https://redd.it/1gqqdx9
@r_Unity3D
It took me an extra week but I finally finished my video on how you should be using github Desktop.
https://www.youtube.com/watch?v=\_PeSEk7iMJc (its a bit long at nearly 8 mins but you can prob watch it at 1.5 to 2 times speed since I can talk slow and if you know some stuff you might be able to go fast)
It goes over
A not so quick overview of the github desktop app
protecting your master branch, from yourself.
Making and using new branches and how and why you might do that.
Stay tuned the next videos are Start awake and enable, update late update and fixedupdate, Prefabs, Instantiate, Scriptable objects, and a Basic 2D character controller.
If you have suggestion for more complicated topics id like to hear them!
Id youd like me to dive in and make a tutorial on another version control, Leave a message.
https://redd.it/1gqqdx9
@r_Unity3D
YouTube
Basics of Unity: Using GitHub Desktop
Support Us by playing our game! (it's free)
Google Play: https://play.google.com/store/apps/details?id=com.TotallyNotaBunchofCats.HerdingCats
Ios App Store: https://apps.apple.com/us/app/corralling-cats/id6467376961?itscg=30200&itsct=apps_box_appicon
…
Google Play: https://play.google.com/store/apps/details?id=com.TotallyNotaBunchofCats.HerdingCats
Ios App Store: https://apps.apple.com/us/app/corralling-cats/id6467376961?itscg=30200&itsct=apps_box_appicon
…
This media is not supported in your browser
VIEW IN TELEGRAM
My prototype so far. Any suggestion how to spice up the fight system?
https://redd.it/1gqmzqe
@r_Unity3D
https://redd.it/1gqmzqe
@r_Unity3D
Thoughts on Synty's new Sidekick Character Creator?
https://syntystore.com/blogs/blog/introducing-sidekick-character-creator?utm_source=Klaviyo&utm_medium=campaign&utm_campaign=Sidekicks%20Launch%20%28General%29
https://redd.it/1gqun5o
@r_Unity3D
https://syntystore.com/blogs/blog/introducing-sidekick-character-creator?utm_source=Klaviyo&utm_medium=campaign&utm_campaign=Sidekicks%20Launch%20%28General%29
https://redd.it/1gqun5o
@r_Unity3D
Synty Store
Introducing: Sidekick Character Creator
A new era in character creation from Synty! A quick and easy modular character creator made for developers. What's available with the release version, and a sneak peek into future plans for the tool.
Heroes & Redemption 1.0 is coming out on November 18
https://youtu.be/PQgYtMK1bFc?si=C9zBpdcvzF\_QQYa3
🎮⤵ Steam
https://store.steampowered.com/app/2516980/Heroes\_\_Redemption/
📰⤵ 1.0 Announcement
https://store.steampowered.com/news/app/2516980/view/4477234733059670486?l
https://redd.it/1gr1l6z
@r_Unity3D
https://youtu.be/PQgYtMK1bFc?si=C9zBpdcvzF\_QQYa3
🎮⤵ Steam
https://store.steampowered.com/app/2516980/Heroes\_\_Redemption/
📰⤵ 1.0 Announcement
https://store.steampowered.com/news/app/2516980/view/4477234733059670486?l
https://redd.it/1gr1l6z
@r_Unity3D
YouTube
Heroes & Redemption Trailer
Heroes & Redemption is a rogue-lite bullet-hell where you face hordes of enemies, annihilate them, learn new abilities and enhance your skills. Explore different regions, acquire new companions and embark on adventures again and again.
Tags:
bullet-hell…
Tags:
bullet-hell…
This media is not supported in your browser
VIEW IN TELEGRAM
Thank you, Unity—without it, a multi-platform release would have been impossible for an indie developer. Only 6 hours to go.
https://redd.it/1gr33fl
@r_Unity3D
https://redd.it/1gr33fl
@r_Unity3D
I've finally released the first teaser for my 2D survival investigative game! What do you think?
https://www.youtube.com/watch?v=3joOHPSwdgA
https://redd.it/1gr5hys
@r_Unity3D
https://www.youtube.com/watch?v=3joOHPSwdgA
https://redd.it/1gr5hys
@r_Unity3D
YouTube
Sovereign's Enigma - Teaser
"Sovereign's Enigma" is a upcoming 2D platformer with survival elements, where the player needs to uncover the story of an ancient civilization to solve a mystery from the past. This game is a slow and immersive experience, with a strong focus on storytelling…
Integrating Naninovel Dialoge System into ORK Framwork and Makinom for a 3D Advneture Game
I'm workin on a 3D advneture game/cRPG useing the ORK Framwork and Makinom tolls in Unity. I'd like to intergrate the Naninovel dialoge system as a drop-in soultion for my game's conversations and cutscenes.
Can aneone provide some guildance or advise on how to best approch this intergration? I'm looking for tips on:
1. Identifieing the intergration points between ORK, Makinom, and Naninovel
2. Setting up Naninovel in my poject and configuring it to work with the other framworks
3. Creating a Naninovel node or action within the Makinom ediotr to trigger dialouge's
4. Passing relevant game state data from ORK to Naninovel to make the conversations contextual
5. Handling the outcoms of Naninovel dialouge's and updating the game state acordingly
If aneone has experiance with this kind of multi-framwork intergration, I'd realy apreiciate eny insites or code exampls you can share. I want to make sure I set this up proply from the start to avoid eny major headaches down the line.
https://redd.it/1gr8zek
@r_Unity3D
I'm workin on a 3D advneture game/cRPG useing the ORK Framwork and Makinom tolls in Unity. I'd like to intergrate the Naninovel dialoge system as a drop-in soultion for my game's conversations and cutscenes.
Can aneone provide some guildance or advise on how to best approch this intergration? I'm looking for tips on:
1. Identifieing the intergration points between ORK, Makinom, and Naninovel
2. Setting up Naninovel in my poject and configuring it to work with the other framworks
3. Creating a Naninovel node or action within the Makinom ediotr to trigger dialouge's
4. Passing relevant game state data from ORK to Naninovel to make the conversations contextual
5. Handling the outcoms of Naninovel dialouge's and updating the game state acordingly
If aneone has experiance with this kind of multi-framwork intergration, I'd realy apreiciate eny insites or code exampls you can share. I want to make sure I set this up proply from the start to avoid eny major headaches down the line.
https://redd.it/1gr8zek
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Camera position and Z axis of my emptyobjects always changes with each load
It happens randomly. When i load in it just randomly changes both camera and z position of my objects. Im getting tired of it. How to fix it? I have no noscripts yet.
https://redd.it/1gr8bov
@r_Unity3D
It happens randomly. When i load in it just randomly changes both camera and z position of my objects. Im getting tired of it. How to fix it? I have no noscripts yet.
https://redd.it/1gr8bov
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
2D Shader not showing in scene preview
Hello, I'm a newbie on unity and I'm trying to follow this tutorial here to make a water reflection https://www.youtube.com/watch?v=ym1K3of3pys
The shader is showing up in the shader graph
https://preview.redd.it/e370elgq8x0e1.png?width=1014&format=png&auto=webp&s=223e36931d22932550998ebf1032adc32d8cc9cf
but not in the scene
https://preview.redd.it/6brd36j09x0e1.png?width=749&format=png&auto=webp&s=ca29669ab50753e7a14c1a013303429bd5f18621
https://preview.redd.it/k7vj56b29x0e1.png?width=506&format=png&auto=webp&s=b9275789b0704bb60412740f35c0142195fb0c93
https://preview.redd.it/8mgh37b29x0e1.png?width=509&format=png&auto=webp&s=ba5814a1f8f52a69bb74e83af0e292eebad40160
https://preview.redd.it/92qiw7b29x0e1.png?width=500&format=png&auto=webp&s=bddd51e9046f29387005142a4b5cfde600808917
I also put universal render pipeline global setting in graphics and universal render pipeline asset in quality
https://preview.redd.it/d8lcqv6f9x0e1.png?width=229&format=png&auto=webp&s=26aedabb0d3d122f1e10269c550d07dc9f67b8e5
also, I dont know it this is the cause but when I put my water reflection on water it look like this
https://preview.redd.it/t75880yn9x0e1.png?width=186&format=png&auto=webp&s=8caaf767600b38c21331f52e1771344f336ea11f
but if I save RenderTexture become black
https://preview.redd.it/hxadpnop9x0e1.png?width=217&format=png&auto=webp&s=3876d71bbc01a372ecb44c517e98f883e4035a40
https://redd.it/1grdm37
@r_Unity3D
Hello, I'm a newbie on unity and I'm trying to follow this tutorial here to make a water reflection https://www.youtube.com/watch?v=ym1K3of3pys
The shader is showing up in the shader graph
https://preview.redd.it/e370elgq8x0e1.png?width=1014&format=png&auto=webp&s=223e36931d22932550998ebf1032adc32d8cc9cf
but not in the scene
https://preview.redd.it/6brd36j09x0e1.png?width=749&format=png&auto=webp&s=ca29669ab50753e7a14c1a013303429bd5f18621
https://preview.redd.it/k7vj56b29x0e1.png?width=506&format=png&auto=webp&s=b9275789b0704bb60412740f35c0142195fb0c93
https://preview.redd.it/8mgh37b29x0e1.png?width=509&format=png&auto=webp&s=ba5814a1f8f52a69bb74e83af0e292eebad40160
https://preview.redd.it/92qiw7b29x0e1.png?width=500&format=png&auto=webp&s=bddd51e9046f29387005142a4b5cfde600808917
I also put universal render pipeline global setting in graphics and universal render pipeline asset in quality
https://preview.redd.it/d8lcqv6f9x0e1.png?width=229&format=png&auto=webp&s=26aedabb0d3d122f1e10269c550d07dc9f67b8e5
also, I dont know it this is the cause but when I put my water reflection on water it look like this
https://preview.redd.it/t75880yn9x0e1.png?width=186&format=png&auto=webp&s=8caaf767600b38c21331f52e1771344f336ea11f
but if I save RenderTexture become black
https://preview.redd.it/hxadpnop9x0e1.png?width=217&format=png&auto=webp&s=3876d71bbc01a372ecb44c517e98f883e4035a40
https://redd.it/1grdm37
@r_Unity3D
YouTube
2D Water Shader in Unity
Learn how to create a water refelction effect in Unity
Download the project starting files at https://drive.google.com/open?id=1OUOcx75_fm-1yZb6rSt8siWEYWJrdUe-
Inspired by Binary Lunar: https://www.youtube.com/watch?v=O1lRGKfCi9o
Get my latest Udemy course…
Download the project starting files at https://drive.google.com/open?id=1OUOcx75_fm-1yZb6rSt8siWEYWJrdUe-
Inspired by Binary Lunar: https://www.youtube.com/watch?v=O1lRGKfCi9o
Get my latest Udemy course…
Help with dialogue system
Heyy! So I'm working on a project that's narrative based essentially. The dialogue system is supposed to be very simple.
You go to an object, click on it, and then the player character reacts to it and gives some lore about it. The items will be collected,
I have NO idea where to start. And when all of them have been, a door opens so you can end the level.
Someone please help.
https://redd.it/1grf90z
@r_Unity3D
Heyy! So I'm working on a project that's narrative based essentially. The dialogue system is supposed to be very simple.
You go to an object, click on it, and then the player character reacts to it and gives some lore about it. The items will be collected,
I have NO idea where to start. And when all of them have been, a door opens so you can end the level.
Someone please help.
https://redd.it/1grf90z
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community
Referencing noscript in HP Bar
So I have these prefabs(sprites with HP Bars). HP bar is a child of sprite. When I instantiate the sprites and the sprite noscript references the HP Bar noscript, it gives me an error saying “Object reference not set to an instance of an object”. I didn’t have this problem when I didn’t use prefabs. How do I fix this? Sorry I have major gaps in my Unity knowledge.
https://redd.it/1grilw3
@r_Unity3D
So I have these prefabs(sprites with HP Bars). HP bar is a child of sprite. When I instantiate the sprites and the sprite noscript references the HP Bar noscript, it gives me an error saying “Object reference not set to an instance of an object”. I didn’t have this problem when I didn’t use prefabs. How do I fix this? Sorry I have major gaps in my Unity knowledge.
https://redd.it/1grilw3
@r_Unity3D
Reddit
From the Unity2D community on Reddit
Explore this post and more from the Unity2D community