This video saved me from hours of pure frustration ! thanks man ! beautiful work !
@vizualwanderer4 жыл бұрын
I saw this video around when i started my isometric game journey, however, i just went with the unity's script, cuz u know i thought its better from the horses mouth. Then i decided to add a moving platform system to my game as a puzzle and the character movement wouldn't work when on the platform, i nearly gave up... came back here and literally made such a small change (line 20 on player movement) and now the character moves great on the platform and i couldn't be happier, cheers Beaver Joe!
@beaverjoe91714 жыл бұрын
Glad to see that! Cheers!
@Mystical-TEDDY_3 жыл бұрын
I finally learned from my mistakes and it works very well, thank you. Don't give up people
@bers232 Жыл бұрын
this is absolutely amazing. thank you for this tutorial! I wanted to follow a tutorial that explains everything for beginners like me. I was able to create with my own assets thanks to you!
@user-em9su3dd9y4 жыл бұрын
I learnt a lot from this, thanks so much. Nice clear graphics and explanations too!
@beaverjoe91714 жыл бұрын
Christopher Hoade you are welcome!!
@moritzvanaart27598 ай бұрын
@@beaverjoe9171 good morning Joe, i have a problem with a layer structure, can you give me your Email to send you my problem? best regards
@danielgilbert83383 жыл бұрын
Great videos. Just getting started with unity and you're helping me a lot. Thanks so much. And keep up the great work!
@Vinchuca2 жыл бұрын
WOW!!! i usually use const string to get the animation reference, and later call it whend i need it, but this is (in my opinion) better. TNKS! Also, i dont think calling FindObject in FixedUpate is a good idea, i think is searching for the object all the time. Much love 😘
@zachtutor7998 Жыл бұрын
Absolutely the best video for character movement in a 2D game, Isometric or not!!! Quick Question though - When going NE, SE, SW or NW, the character moves much quicker than N, E, S, W... How to fix this?? Thank you!
@zachtutor7998 Жыл бұрын
To solve this issue add the following below FindObjectOfType().SetDirection(direction); in the PlayerMovement script: direction = direction.normalized; transform.Translate(direction*Time.deltaTime*moveSpeed); Now your character will move the same speed all 8 directions.
@elladitch96985 жыл бұрын
Thanks! Very detailed including Animation and C sharp
@galenmolk52533 жыл бұрын
Dude this is awesome. Thank you for making this.
@letsplaynay99364 жыл бұрын
Also what is controlling the character sprites? My character is changing into the wrong sprite/animation everytime i move them
@SteveBlues873 жыл бұрын
But the character isn't moving isometrically. It's moving diagonally.
@bigcaka77252 жыл бұрын
ya this shit sucks
@mikesande2409 Жыл бұрын
could you make this vid showing how to do this with a blend tree, i used a blend tree for 6 way controller but i could not figure out how to get north and south to work, i set the values for east and west as 1 -1 and did the 0.5 - 0.5 for the up and down directional but what would you set north and south at. maybe i am just slow and not getting it but i would assume you would have to make them like east and west and set them at 1 and -1 as well however that did not work.
@xiaochenyang72662 жыл бұрын
good course~unfortunately the automatic translation can not translate correctlly,so there are many contents i can not understand,hope for chinese version in bilibili one day
@JianqiuChen3 жыл бұрын
Hi, just a suggestion, I find the beep sound (every 5 seconds) in your background music really really annoying, maybe you might want to remove those. your content is good.
@NightOwlDev3 жыл бұрын
Whenever I move it only plays the static and running animation in slot 2(Element 1), any help?
@AyyyyyyyyyLmao5 жыл бұрын
Any chance on making a tutorial so the character's diagonal movement matches the grid? For example, when I press up and right, i'd expect the character to travel at a 60 degree angle, but instead they're going the standard 45.
@beaverjoe91715 жыл бұрын
I think You can add one more line such as if(Input.GetKeyDown(KeyCode.up) && Input.GetKeyDown(KeyCode.right)) { transform.Translate(Vector2(1,2) * moveSpeed * Time.deltaTime); } (I did not play this line, Only provide one idea for you. Very flexible movement effect I Guess!)
@graig25585 жыл бұрын
if (moveH != 0 && moveV != 0) { moveV = moveV / 2; } Add these lines directly after the moveV and movH variable declaration.
@beaverjoe91715 жыл бұрын
@@graig2558 Thanks for help!
@AyyyyyyyyyLmao4 жыл бұрын
@@beaverjoe9171 tried it, however the isometric map isn't true isometric so the diagonal is off :(
@pewpsquad4 жыл бұрын
@@beaverjoe9171 I followed this tutorial but, when my player moves the NW, W, and SW animations play the NE, E, and SE animations. why aren't the west directions playing their correct animations?
@snowcarrotss4 жыл бұрын
I follow ur. but have problem..The direction of the character changes after hitting the keyboard. and no run T.T Scripts have no problem. (no red wave)
@szkokee3 жыл бұрын
I could manage to apply this to the keyboard and to the D-pad but is it possible to apply it to the joy sticks? I tried to mess with the inputmanager but its either becomes an 360 degree movement or the movement gets stuck in Unity if dont press it just exactly in the right angle
@Shampoo-Girl2 жыл бұрын
Thanks for the tutorial! Helps a lot. A question though, whenever my character moves diagonally, it doesn't stay on the diagonal static animation. Any help, please?
@arisefstathiou35463 жыл бұрын
Trying to implement an attacking system into this project and i just cant. Tried with new input "attack" and 4 directions and i had errors. If anyone could help me i would really appreciate it.
@JongHyunSM4 жыл бұрын
@Beaver Joe, How to make when I press Keyboard only "Up" then movement to NW , press only "Down" move to SE ?
@thichpunchline6 ай бұрын
thanks you so much ❤❤❤❤
@jestersnek38494 жыл бұрын
Good tutorial! Thank you for making tutorials on isometric stuff, its so rare online. In case you read this, how would we make the player be able to jump, if the Z is frozen? edit: also, when I try to open this, Unity says some files are old/made using old API's, and getting the premade level to show up shows huge bugsn :c
@beaverjoe91714 жыл бұрын
Thanks for your likes. Actually, I have not considered the jump feature yet. I will think about later on my Todo lists~ But I found two links talk about it. One is video another is one discussion. www.studica.com/blog/isometric-character-jump-unity www.reddit.com/r/Unity3D/comments/88amrj/isometric_game_jumping/
@jestersnek38494 жыл бұрын
@@beaverjoe9171 Thanks!
@mohokhachai9 ай бұрын
Thanks again
@dieweltentdecker58783 жыл бұрын
👍👍👍👍👏
@letsplaynay99364 жыл бұрын
How do I change the script to mouse click movement rather than keyboard?
@jjbowman46534 жыл бұрын
LetsPlay Nay there was definitely a tutorial on KZbin about “point and click games” I believe you are wanting to know about. There is a tutorial about making a start menu, how to make buttons work, which would be the same with a different icon or picture by Thomas Bush - creator of pin stripe (which is how all of his tutorials start) 😂😁
@graig25585 жыл бұрын
Thank you for this tutorial it really helped with the animator. I do have a small problem with this though. When running N,E,S,W if you change direction to a diagonal the animation will lag for a few frames before switching - Only if you go counter clockwise. eg. If you run W and then change to SW it will lag, but W to NW with switch instantly. You can test this by simply holding the left key to run W and then while holding it tap the Up key or the Down key. You will see the Up Key switch instantly to the NW animation but the Down key wont switch unless you hold it for a bit. Is there a way to fix this to be instant all around? Thank you.
@beaverjoe91715 жыл бұрын
Hi Graig, Thanks for your comments. I have checked the completed project and stared at the Animator window when I press the "A" to run West, Then I try to press W/S to Run NorthWest or SouthWest, The animation blue speed bar instantly change (looks like uncheck "Has Exit time" on animation transitions) Have you checked all Animations has checked "For loop" and Several Animations should record the "SpriteRender_FlipX" on the first frame inside the Animations window? I really feel it might be my potential mistake in this episode. I found the official short tutorial for this movement. Also, You can watch this links If you found some mistake I missing in this episode. If I found something wrong, I will reply ASAP: kzbin.info/www/bejne/qqrapWyqhNqVe7s (This link also contains one link for the free project: ole.unity.com/2disodemo)
@graig25585 жыл бұрын
@@beaverjoe9171 Thank you I accidentally added the wrong frames and now all is better :) Can you make a tutorial on how to add an attack animation and hitbox to this witch sprite?
@beaverjoe91715 жыл бұрын
@@graig2558 I will in the future! I learn one tutorial online and that 3D character also have one hitbox on the player and enables when the Attack Animation!
@Assistiai4 жыл бұрын
I have a problem when I perform an attack action, because Idle Animation does not let Attack Animation perform
@raimanchannel33763 жыл бұрын
Thanks so much
@kelvinsda3 жыл бұрын
Thank you!!!
@marwinsrasamarng53453 жыл бұрын
when i start the game the Player start direction up how can i fixed it
@s0ulcode Жыл бұрын
hi, I know this video is a bit older, but does anyone know the fix for the index returning as -1 when going NW? I copied and pasted from the scripts provided to be sure I didn't mess up the syntax. The only difference is the animation names (strings) I chose. the error is as follows: Invalid Layer Index '-1' UnityEngine.Animator:Play (string)
@igeres_6870 Жыл бұрын
Did you find a solution for this problem? I'm making the same as the video and return me the same error as you and i'm trying to solve it but i don't find any solution.
@DarukariGames9 ай бұрын
@s0ulcode @igeres_6870 I had the same error and basically it's saying it cannot play the animation 'animName' inside the UnityEngine.Animator:Play (animName) call. The source of the problem for me was I had not made the additional animator states (especially for directional runs, Run N, Run SE and so on). Hence when we try to call UnityEngine.Animator:Play(string) on something that is not setup in the animator, and it can't find something with that name after searching through all it's layers within the Animator, it fails, and returns the -1 index and the error 'Invalid Layer Index '-1''. TLDR : Make sure your animator has a state for each of the Static and Run directional strings. Also add a Debug.Log for the string before you call 'UnityEngine.Animator:Play()' to see which call is failing.
@moritzvanaart27598 ай бұрын
I've got the same problem. Have you found a way to fix it?
@s0ulcode8 ай бұрын
@@moritzvanaart2759 sorry, I switched over to godot after the unity fiasco last year.
@moritzvanaart27598 ай бұрын
@@s0ulcodethanks a lot man. and does it works better with Godot?
Hi it is a helpfull video, how can i make attack animation by pressing a button ? Thanks for your help great work !
@stuartlightfoot17295 жыл бұрын
Good tutorial! what is this random beeping I'm hearing?
@beaverjoe91715 жыл бұрын
Thanks! The Random Beeping proved that I did not pay money to buy the music. (I used template version so that will occurs the beeping. Sorry for uncomfortable>-
@stuartlightfoot17295 жыл бұрын
I see. Thanks for the reply. Let me know if you want some music for free for a tutorial next time. 😎👍🏽
@beaverjoe91715 жыл бұрын
@@stuartlightfoot1729 Very appreciate! (Sorry for reply later. KZbin did not give me a notification. I am going to download some free sound by freesound.com now!)
@joshuafares41024 жыл бұрын
its his ankle monitor
@warrenayiss30124 жыл бұрын
So if you want to make a isometric character you have to create 8 directions animation ?
@beaverjoe91714 жыл бұрын
it depends on the game. For me, I prefer to four direction character~
@kingpoo72053 жыл бұрын
BUGS The character don't stay at diagonal idle positions. The character moves faster diagonally
@RobertKvsv3 жыл бұрын
normalize vectors to fix second bug
@igametobe68413 жыл бұрын
I'm not sure I understand the purpose of the record button.
@Mystical-TEDDY_3 жыл бұрын
same it didn't seem to matter
@anonymoussloth66874 жыл бұрын
just use a blend tree and you dont have to make it that complicated
@ayoubasri79874 жыл бұрын
Good content, man! but what's with the BEEP every 10 seconds? Annoyed the heck out of me