Now let's talk about 2d movement in games,
here's the basic types of movements, and how to implement them.
I'm trying to show you the concepts while using React framework, to demonstrate the approaches and strategies
GitHub starter: https://github.com/Roman1510/movement-basics
LinkedIn: https://www.linkedin.com/in/romanvinnick/
Timecodes:
0:00 Intro
0:39 Getting started
01:03 Click based movement: theory
01:40 Implementing the click handler
05:40 Implementing the movement
11:35 Checking out the movement (but there's a bug)
11:55 Fixing the bug
12:27 Checking out again :)