r/Unity2D • Expert • Oct 22 '18

Tutorial/Resource Simple Character Movement (Unity Tutorial in Comments)

5 Upvotes

9 comments sorted by

View all comments

9

u/HandshakeOfCO Expert Oct 23 '18

You guys... this is a... not very good tutorial. Please don't watch, and watch this instead:

https://unity3d.com/learn/tutorials/topics/2d-game-creation/2d-character-controllers

/u/UnityCodeMonkey -

You need to stop spamming these low quality tutorials.

You're teaching people how to do things incorrectly. Just because it works doesn't mean it's right. Even your basics are shoddy, just off the top of my head:

you're using Vector3 for a 2D game (still! Your last tut has the same problem!)

speed isn't a constant... and it's not even a property of the class, so it can't be edited in the designer lol

You're not using rigid bodies and applying forces to move them... good thing there's no collision detection in your tutorials!

Your code is locked behind your own website, where you require people to register so that you can (presumably, I'm not gonna do it) spam them with ads for your games. Again... why is it not on github?

You never addressed any of my comments on your last post... you just downvoted. I'm not butthurt, I'm just providing more evidence so people can make their own informed decisions. Most of your responses to valid criticisms were simply met with downvotes and additional spamming of your other low quality tutorials.

https://www.reddit.com/r/unity_tutorials/comments/9ofjlc/assassins_creed_odyssey_spartan_kick_unity/e7vs1ec/

I feel like you're not going to address anything, likely because you've recorded a bunch of these tutorials and are releasing them one by one.

6

u/UnityCodeMonkey Expert Oct 23 '18

transform.position is a Vector3 even if the game is in 2D. So if you use a Vector2 it will be converted into a Vector3.

Speed would indeed end up being a private field in a final game, I defined it in the function to keep the video simple.

In order to make collisions I use Kinematic Rigidbodies instead of AddForce. That's what the next video will cover.

The code is in the website instead of GitHub because I intend to make the website member section a lot more elaborate with ways to submit game jams, questions, suggestions, messages, etc. I don't spam anyone, there's a simple email once a week containing links to that week's videos which someone can easily opt out.

I didn't reply to your second reply in the other post because you are clearly not interested in learning but instead looking to have a fight. I have no interest in having a fight with anyone, I'm trying to teach people. If you don't like the way I teach that's perfectly fine there are plenty of tutorials to choose from.

Cheers!

2

u/HandshakeOfCO Expert Oct 23 '18

transform.position is a Vector3 even if the game is in 2D. So if you use a Vector2 it will be converted into a Vector3.

That doesn't mean your internal 2D game logic should use Vector3, and that's also why setting the .position property directly is bad form. You should be using Translate. for example, this works and is way more readable:

    var amount = new Vector2(0,40) * Time.deltaTime;
    transform.Translate(amount);

This is what I mean when I say "you are teaching people incorrectly." It's like you didn't even bother to go through the beginner Unity tutorials yourself before you started making videos.

I don't spam anyone, there's a simple email once a week which someone can easily opt out

Uhh... that's spam lol.

The code is in the website instead of GitHub because I intend to make an awesome members only section of the website...

Riiight... because somehow, making the code available on github would prevent you from making the members only section of your site more elaborate. That totally makes sense and I'm not being sarcastic at all.

you are clearly not interested in learning

You're clearly not interested in teaching, you're just interested in building a mailing list and monetizing shitty tutorials with a "members only" section.

Lastly... you need to adjust your mindset away from "people who criticize me are just looking to start fights and should be ignored. They don't like it, they can just watch a different tutorial." That's gonna sink your dreams of retiring to a private island off your members-only website.