Unity Shooting Arrows in Top Down Perspective Part 1 - Tutorial

  Рет қаралды 42,342

CouchFerret makes Games

CouchFerret makes Games

Күн бұрын

Пікірлер: 45
@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
@rodericklabador6131
@rodericklabador6131 4 жыл бұрын
send files for project
@se9979
@se9979 4 жыл бұрын
hey! can u help me? i have my debug.log, but I don't press anything and easily have over 999 debug.log what's wrong?
@Qiaves
@Qiaves 4 жыл бұрын
I really like how you make sure to go through every step, not assuming pre-existing knowledge. It makes it much easier to follow! I've always found it a bit difficult to follow the official tutorials, but these ones are great!
@ThomasChen-ur2gt
@ThomasChen-ur2gt 5 жыл бұрын
Your videos are one of the best Unity tutorials. It's better than most of the tutorials on their official site. Really hope you can make more videos, you should get huge popularity if you have more videos.
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Thank you! I'm working on it to produce faster and more frequently! :)
@strangehyenas
@strangehyenas 6 жыл бұрын
Thank you so much for this series! Im really grateful :)
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
I'm glad you liked it! Thanks for watching. :)
@ibrahimtameme3246
@ibrahimtameme3246 6 жыл бұрын
Good and clean tutorial
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Thanks! :)
@alexanderrenstrom7226
@alexanderrenstrom7226 6 жыл бұрын
Nice video as always. Just a question. How would you approach the code if you want the character to rotate towards the mouse position, and also change sprite depending on which direction you're pointing the mouse? Example: The mouse is pointing to the right, so it should render the sprite for (moving right), even if I'm walking to the left it should follow the mouse.
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Hey, Happy New Year! :) I have episodes on this if I understood correctly your needs. Their names are "Unity Top Down Shooting Animation with Blend Tree" where I separate the character's legs from the rest of the body to get an animation that's moving in one direction but looking in another. Basically, I handle two separate sprites with their separate animation controller. One for the legs, and one for the rest of the character. And in the "Unity Top Down Keyboard and Mouse Inputs with Input Manager" episode I create an aiming mechanism with a crosshair based on the mouse. However, this won't give you a constantly looking character, only when aiming. You need to have idle animations for that in every direction which I don't have yet (probably soon I will), and have the crosshair visible always so you can use its position as a direction to set an animation parameter for the body to play the correctly facing animation. Let me know if you have more questions, and I'll make sure to answer way faster next time. :)
@mr.pilchard4548
@mr.pilchard4548 4 жыл бұрын
so, if i don't buy that extension, nor want to make a 360 rotation character i can't keep going nice one
@ihearcolors6216
@ihearcolors6216 4 жыл бұрын
I just used Input.GetButton("Fire") and under Fire I have joystick button 0 which is the A button on an Xbox controller. Without his unity asset that he bought you will have to use GetButton because for some reason GetButtonDown does not work with it. If you do use the GetButton then you could create a cooldown timer so you can limit the amount of arrows being spawned per a time limit.
@ernanedejesus
@ernanedejesus Жыл бұрын
@@ihearcolors6216 how can i do that?
@bloc146
@bloc146 4 жыл бұрын
why did I can’t creat a prefabs? Edit: it says “prefab variant” but I cant click on it
@se9979
@se9979 4 жыл бұрын
i can help you my man
@se9979
@se9979 4 жыл бұрын
You can drag your item from hierarchy to project, select it and add a prefab variant.
@bloc146
@bloc146 4 жыл бұрын
Sebastian Ferrari thank
@se9979
@se9979 4 жыл бұрын
Kraken youre welcome
@anselmadsen3348
@anselmadsen3348 6 жыл бұрын
nice video hope u make more
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
I will I promise, thanks for watching! :)
@richardwong623
@richardwong623 6 жыл бұрын
Why when I change the code to GetButtonDown("Fire"), I can't shoot anything???
@CouchFerretmakesGames
@CouchFerretmakesGames 6 жыл бұрын
Hey, can you show me the exact lines in your script? I can't figure it out what could be the problem there.
@khalilayach6257
@khalilayach6257 5 жыл бұрын
Go to input manager and copy this means what i have Name____ Positive button joystick button 7 [R2] Gravity 1000 Dead 0.001 Sensitivity 1000 Type key and mouse button [make sure you copy my type ok or it wont work] Axis X axis Joy num _____ Everything else empty
@fabianzamora
@fabianzamora 5 жыл бұрын
I was going crazy haha
@suegamestudio9023
@suegamestudio9023 5 жыл бұрын
When i create Gameobject arrow equal to instantiate . Get error cant cannot implicitly convert type object to Gameobject ??
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Try it like this: (GameObject)Instantiate(......) With this (GameObject) before the Instantiate function.
@ipadize
@ipadize 4 жыл бұрын
wouldnt objectpooling be better for this instead of instantiating?
@MrFarkasOfficial
@MrFarkasOfficial 3 жыл бұрын
Really cool channel. Subscribed. Magyar vagy? :D
@thelitchdoctor3551
@thelitchdoctor3551 5 жыл бұрын
theres no prefab for me just perfab variant which i cant even click on
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
You probably have a newer version of Unity compared to the video. If you can give me a timestamp when it is in the video and what Unity version do you have, then I'll be able to help you out! :)
@MerrStudio
@MerrStudio 5 жыл бұрын
@@CouchFerretmakesGames I have the same problem. 1:34 EDIT: Nevermind, literally seconds later you are talking about dragging it over, which actually solves this issue. Sorry for bothering!
@litgh
@litgh 5 жыл бұрын
i dont know why but when I use GetButtonDown it doesnt work and ive been looking at the script for a long time
@khalilayach6257
@khalilayach6257 5 жыл бұрын
Go to input manager and copy this means what i have Name____ Positive button joystick button 7 [R2] Gravity 1000 Dead 0.001 Sensitivity 1000 Type key and mouse button [make sure you copy my type ok or it wont work] Axis X axis Joy num _____ Everything else empty
@animaniaks1994
@animaniaks1994 4 жыл бұрын
@@khalilayach6257 Thanks!!!! You are the best!
@Hao2Play
@Hao2Play 5 жыл бұрын
Fix to every time I shot, my character being pushed back?
@se9979
@se9979 4 жыл бұрын
if you use a firegun it would be nice to the game in general to have recoil.
@russelljones1039
@russelljones1039 5 жыл бұрын
"Rewired: The Action "Fire" does not exist."
@CouchFerretmakesGames
@CouchFerretmakesGames 5 жыл бұрын
Hey, I might have left that part out. You need to create the Action itself in the Rewired Input Manager. Here's a pretty good quick start guide for Rewired: guavaman.com/projects/rewired/docs/QuickStart.html
Unity Shooting Arrows in Top Down Perspective Part 2 - Tutorial
5:32
CouchFerret makes Games
Рет қаралды 22 М.
How I added LOTS of weapons to my game!
5:18
Bardent
Рет қаралды 58 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Spawning Objects in Unity [Using Instantiate]
10:23
Press Start
Рет қаралды 242 М.
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,4 МЛН
Unity Top Down Colliders and Character Movement - Tutorial
8:32
CouchFerret makes Games
Рет қаралды 200 М.
Unity Top Down Hit Detection for Arrows - Tutorial
13:24
CouchFerret makes Games
Рет қаралды 25 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2,1 МЛН
Unity Top Down Character Controller with Aiming and Shooting - Tutorial
15:24
CouchFerret makes Games
Рет қаралды 67 М.
TOP DOWN SHOOTING in Unity
19:52
Brackeys
Рет қаралды 876 М.
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.