Creating a health bar in pygame [Dark Souls style]

Опубликовано: 02 Октябрь 2020
на канале: Clear Code
26,041
819

A python/ pygame tutorial on how to create health bars in pygame. We will be making 2 different ones: A basic one that shows your basic health and an animated one that transitions between your health, like healthbar you would see in games like Dark Souls.

Timestamps:
0:00 - Intro
0:24 - Basic setup
2:27 - The basic health bar
12:24 - The advanced health bar

The code is available here: https://www.codepile.net/pile/XydlGQy1