Premium Features

Download Video

Attacks

Published 10 months ago

Attacks in a game like this require we create what I call an "attack box." Basically, this is a small rectangle that covers the area in which our attack should reach. It should only be activated when we press down on a key, and eventually, it should only register during a specific frame within an animation.

Here we'll add a basic version of attack functionality using just rectangles.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login
XxCFxX posted 10 months ago
0
XanderM posted 10 months ago
1

Providing the lift to launch your development career

© 2023 Chris Courses. All rights reserved.