Premium Features

Download Video

Attacks

Published 2 years 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
W
WOD1 posted a year ago
0
XxCFxX posted 2 years ago
0
XanderM posted 2 years ago
1

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.