Unity Top Down Character Controller with Aiming and Shooting - Tutorial

  Рет қаралды 67,390

CouchFerret makes Games

CouchFerret makes Games

Күн бұрын

Пікірлер: 82
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
*Hey everyone!* 👏 👏 I'm happy to announce our community *Discord server* , come and *join us* : discord.gg/dac7sr2 And also, you can get all the *Sprites* and *Project Files* by supporting me on *Patreon* : www.patreon.com/CouchFerret
@vinceg3213
@vinceg3213 4 жыл бұрын
This... is actually one of the best tutorials.. because things that should already known get repeated to remind me (the noob) or just to help to remember ist. Love it.
@deltaC7
@deltaC7 4 жыл бұрын
Im just getting into Unity and i gotta say, you are a life saver!
@marlonassef
@marlonassef 5 жыл бұрын
Awesome videos! They are dynamic and go straight to the point. Best thing is you focus on teaching and do not show off! This is one of the best video series out there. Congratulations.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thanks man! :) Currently, I'm working on big things to improve them even further, let me know your thoughts on them when I finished and uploaded the new episodes.
@MrSephty
@MrSephty 5 жыл бұрын
You deserve so much more subscribers ! Your videos are really good ! Keep up the good work and thank you for it ! :)
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thanks for the support! It does give me a huge boost. :)
@olivierhoogkamer5335
@olivierhoogkamer5335 5 жыл бұрын
Finally! Was waiting on you sir.
@m4dara233
@m4dara233 5 жыл бұрын
I wait one month for video updates 😂😂. But no problem your videos are damm good XD.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thank you! :)
@owzok7087
@owzok7087 5 жыл бұрын
AHHHHHHH when are you going to upload another video OwO? i need more of this!!! btw here they are some suggestions for future videos: -damage numbers -enemy ai -health system -roll (like the game enter the gungeon) -inventory -multiple weapons -money system :)
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
I apologize for being slow. :) The next episode is half done, I only need to record it. But I'm building a home studio for the videos and there are a few parts that haven't arrived yet. :/ And I want this next episode recorded with the new format. :) Thanks for the suggestions though. I plan to cover most of them. Stay tuned! :)
@owzok7087
@owzok7087 5 жыл бұрын
​@@CouchFerretmakesGames yay, thank you for replying :) btw i tried to make an inventory and pickup the bow and i almost died on the attempt pd: i didnt got it :( (that would be a very useful tutorial ;)
@cb2818
@cb2818 4 жыл бұрын
Great tutorial for intermediate Unity developers, and very high quality!
@TheGoobai
@TheGoobai 4 жыл бұрын
Love your videos man! I hope you are keeping it up!
@vaishnav_mallya
@vaishnav_mallya 5 жыл бұрын
This is awesome. You teach very well.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thanks! 😊
@user-em9su3dd9y
@user-em9su3dd9y 4 жыл бұрын
Keep up the excellent work! So useful.
@winterfallstudios7101
@winterfallstudios7101 5 жыл бұрын
My game is ready
@NathanCorleone
@NathanCorleone 5 жыл бұрын
You should try out GameMaker: Studio 2, you would be able to create the game so much faster, in my experience it is better to use for 2D development than unity, but you seem to have a pretty solid game, nice job!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thanks, man! :) I've read about it, however I found the scripting part of it pretty limiting compared to C# and Unity. But you are right, GameMaker can be faster in certain situations. :)
@NathanCorleone
@NathanCorleone 5 жыл бұрын
CouchFerret makes Games yes, you’re right, but it can be a great tool for creating prototypes and mini games, anyways love you’re content, keep it coming
@NathanCorleone
@NathanCorleone 4 жыл бұрын
LeFat Pug haha, it taught me to code
@ProsyMe
@ProsyMe 5 жыл бұрын
A tutorial on how to interact with objects nearby like doors, people or items would be cool
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
I'll have something like that in the future.
@zaizailiang223
@zaizailiang223 5 жыл бұрын
Thank you very much!Keep it!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
I will I promise! :D
@TheGoobai
@TheGoobai 4 жыл бұрын
How would one go about adding Sensitivity? I find my crosshair to be extremely fast.
@kububbis
@kububbis Жыл бұрын
BRO TYSMMMMMMMM
@MellonSmith
@MellonSmith 5 жыл бұрын
Hey, I want to do a Live-Streaming Project, in wich I make my first Game in Unity. Is it okay for you, if I watch your Videos live in a twitch livestream? I will not upload videos of the livestream on youtube. I will only watch them live and maybe together with some viewers (=
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, sure! I guess you were the streamer whom I talked with. So yeah, 100% green light man, and I appreciate it. :) Don't forget to link me your stream!
@sirtroll4546
@sirtroll4546 5 жыл бұрын
Hi, could you possibly do a basic online multiplayer tutorial?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, maybe in the future yes, but there are no current plans for it.
@speedrob
@speedrob 5 жыл бұрын
You think it will be possible to add a melee attack using the same method for the shooting with animations a blend tree and another bool? Certainly going to try thou, hell I'm also gonna try one for throwing items like grenades and I'll update if it works...
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Yep, I don't see why we couldn't have melee. I plan to have it in the game, but who knows when. :D
@speedrob
@speedrob 5 жыл бұрын
@@CouchFerretmakesGames I've made the spritesheets for a melee animation, not yet made them into the animation in unity thou but I did try the same method above with horizontal/vertical floats and a dead trigger to get this dead working gyazo.com/011c02f2dc6b3aca238a5e32935d4df9 Just not able to master getting a death for when running away and facing but that is definitly fine for me, quite chuffed tbh :) Some pics incase people wanna try their adding in their own.. Make another bool and make a trigger to transition from Movement -> Dead. gyazo.com/eb21810de63e1223bd309652f69af3dc Then create the same blend tree like used for the basic Idle directions. gyazo.com/84fad920a29da1c06ebb66d04ec24d1e Then once the trigger is set it'll play the death animation from the direction you were last traveling... something like this. gyazo.com/79bcc0b1be58afb21543141390e72a1d Oh and thanks again for making stuff like this, makes it easier/better for folks like me that don't have expendable money for courses or the social skills to keep them :)
@engineerzy3124
@engineerzy3124 3 жыл бұрын
Thank!
@camzen1772
@camzen1772 5 жыл бұрын
High quality stuff man. Came from danis basement discord server. Names Camzen
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Wow, awesome! Welcome to the channel! :)
@bigballsjerry6339
@bigballsjerry6339 5 жыл бұрын
Hey I love your videos and have been able to animate a character running around the screen, I tried to skip up to this point to learn aiming and shooting but the code is vastly different from before and I don't quite understand it :/ any advice for me on how to understand what you're doing here? Thank you!!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, yes I’ve rewritten the whole character controller two episodes ago. The video that has the Character Controller words in its title. I recommend watching that, I’ve tried to explain everything from scratch. But feel free to ask any questions. :)
@bigballsjerry6339
@bigballsjerry6339 5 жыл бұрын
@@CouchFerretmakesGames Thank you!
@zurgge
@zurgge 5 жыл бұрын
Hey there. I love your videos, they are very helpful and have gotten me through many headaches haha. I have a question for you regarding a model of a new game. I'm not sure if you have played the game on steam called foxhole. For a new game I was thinking about one with similar graphics, but set in a medieval stage. Like a top down open world game where you fight for your faction, build castles, use a sword and shield, or a bow and arrow. So special skills just a simple left click to attack right click to block type of thing. It would implement a royalty system where each faction would have a few players giving orders and players would get rewards For following them etc.. I'm rambling. For a team of 2 to 3 developers how long would you anticipate the game development would last? Do you think that would have any success?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey man! I'm glad my videos helped. :) I haven't tried foxhole, but I've checked it out on KZbin. What prior experience you guys have currently? Is there any experience in networking to make the multiplayer work seamlessly? I would guess a year at least, but it depends on how many hours you guys working on it on a daily bases. It sounds like an awesome but a huge project. :)
@zacg1924
@zacg1924 5 жыл бұрын
Trying to workout why my aiming movement penalty isn't apply correctly, I've set it to an inspector value of 0.5 and when playing the game I can see the "moveSpeed" field change to 0.5 whilst I'm aiming however it's not slowing my character but instead maintaining the same speed. Any ideas?
@winterfallstudios7101
@winterfallstudios7101 5 жыл бұрын
Can you do a devlog?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
You know something ;). I've just ordered all kind of gear I'll need to put out quality devlogs. I can't say a date, but I'm working on it. I still need to learn a lot of things about the whole video production. Stay tuned! :)
@winterfallstudios7101
@winterfallstudios7101 5 жыл бұрын
@@CouchFerretmakesGames cool
@jerryharambe5176
@jerryharambe5176 5 жыл бұрын
Im running into a problem where after I move my character it offsets the direction which my character shoots at my crosshair. For example when I start my game and don't move at all it works fine and shoots directly at the crosshair, but when I move say a couple steps upwards, my arrow will shoot a couple steps upwards above my crosshair. Any help here? Also ty so much for the videos I am learning so much from your tutorials!
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
No problem man! :) Could it be that you have used the simple "transform.position" instead of the "transform.localPosition" somewhere in the arrow shooting lines? For example, at the shootingDirection vector's definition?
@jerryharambe5176
@jerryharambe5176 5 жыл бұрын
@@CouchFerretmakesGames Unfortunately that didn't seem to fix it, any other ideas? Thanks 4 the reply
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
@@jerryharambe5176 Hey, did you manage to solve the issue?
@KyleWard
@KyleWard 5 жыл бұрын
Hey man - great videos, thank you! When running this code Unity is complaining about the LockPosition being missing or not defined. I manually added it to the Project Settings and mapped it to the X key. It works correctly like that - was that what you had in mind?
@fancybaby404
@fancybaby404 5 жыл бұрын
help i do this and when ever i move my mouse my whole game screen is rotating like crazy
@erdemakar
@erdemakar 4 жыл бұрын
Hey i have a similar aim method but is there any way to implement aim assist to this? I hope u have aim assist code, especially gamepad players need this, thanks! :)
@shalzy_
@shalzy_ 4 жыл бұрын
0:04 ok cool doesn't look too complicated 0:07 : time for an anurisim
@ProsyMe
@ProsyMe 5 жыл бұрын
May I have some more please?
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Of course! I'm working on it as fast as I can. :)
@ProsyMe
@ProsyMe 5 жыл бұрын
@@CouchFerretmakesGames thank you so much, I'm looking forward to it :D
@Jimblesnitronbo
@Jimblesnitronbo 4 жыл бұрын
I wish I was watching all the other episodes because I came into this one and saw "movementDirection" and when I entered the code into unity it showed me errors.
@mr.pilchard4548
@mr.pilchard4548 4 жыл бұрын
have you tried by checking his chanel? ._.
@michaelgarcia3180
@michaelgarcia3180 5 жыл бұрын
why doesnt local position work? ive been trying to get it to work but it wont. oh gosh oh plz someone help before i literally commit no more breath
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
What does Unity say? What's the problem with the localPosition? Don't worry, we'll figure it out! :)
@J01Vio
@J01Vio 5 жыл бұрын
The error I get is “transform doesn’t contain a definition for local position
@ourteammate
@ourteammate 5 жыл бұрын
Ahh, got late for this one. Sorry 😬
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Next time I'll wait for ya :D
@speedrob
@speedrob 5 жыл бұрын
You sire, are a legend... loving these tutorials and really helping alot... Here's what I've done myself so far... control using keys, shift to aim and space for shooting: gyazo.com/689bdcb3fc715b0636f91b45f7da76b9 Keep it up man, love to learn more.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Wow, so cool. It reminds me of GTA 2. Good job, keep it up! :)
@SuperMichael996
@SuperMichael996 4 жыл бұрын
Can someone point me to a similar video but that like guides you from a fresh unity install and no prior code loaded, to a working game? Ty. Every single tutorial has code that's already there and assets prepared and it confuses me. I'm starting blank and idk. Eat your cereal.
@changedev.198
@changedev.198 3 жыл бұрын
OOoooof, Thank god I don't use bows;
@bigshot1724
@bigshot1724 2 жыл бұрын
990th like!
@winterfallstudios7101
@winterfallstudios7101 5 жыл бұрын
First
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Second!
@trobertt7271
@trobertt7271 5 жыл бұрын
@@CouchFerretmakesGames third!
@karacter3369
@karacter3369 5 жыл бұрын
Aiming in the direction the player run is kind of stupid...
Unity Top Down Hit Detection for Arrows - Tutorial
13:24
CouchFerret makes Games
Рет қаралды 25 М.
2D Top Down Movement UNITY Tutorial
7:21
BMo
Рет қаралды 230 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,3 МЛН
Pixel Art Tips from a Professional Artist - Tips & Tricks
8:01
Goodgis
Рет қаралды 1,1 МЛН
5 Minute Top Down Shooter Unity Tutorial
5:01
BMo
Рет қаралды 77 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2,1 МЛН
TOP DOWN Movement - Unity Tutorial
16:17
Sasquatch B Studios
Рет қаралды 18 М.
I Paid Fiverr Game Developers to Make the Same Game
10:25
BadGameDev
Рет қаралды 750 М.
Making Custom Car Physics in Unity (for Very Very Valet)
22:48
Toyful Games
Рет қаралды 139 М.
every step to actually make your dream game (then sell it)
24:27
An Aseprite Crash Course In 30 Minutes
31:47
AdamCYounis
Рет қаралды 1,1 МЛН
3 Months of Learning Game Development
10:48
byte of michael
Рет қаралды 974 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН