Premium Features

Download Video


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.


Want to participate?

Create a free Chris Courses account to begin

XxCFxX posted 10 months ago
XanderM posted 10 months ago

Providing the lift to launch your development career

© 2023 Chris Courses. All rights reserved.