๐ฅ Your Ball Asplode
BLaTTiX ยป Devlog
Explosion animations are in.
Thanks to Flecs this was surprisingly simple to implement, given that there was no existing animation system. I just created a new Animated
component like this:
typedef struct Animated
{
int width;
int height;
int frames;
double duration;
double time;
} Animated;
The existing Render
system uses this component, if present, to determine the source clip rectangle on the texture being rendered. Just a few lines of code. And the existing Collision
system was updated to despawn balls and bullets and spawn a new explosion entity when a collision between them occurs.
Simples!
Files
blattix-mac-alpha.zip 28 MB
Version 0.3.0-alpha+9ce9424 May 24, 2021
blattix-linux-alpha.zip 28 MB
Version 0.3.0-alpha+9ce9424 May 24, 2021
blattix-win-alpha.zip 27 MB
Version 0.3.0-alpha+9ce9424 May 24, 2021
Get BLaTTiX
BLaTTiX
Punk-rock vectorball shmup!
Status | Released |
Author | the punk collective |
Genre | Shooter, Action |
Tags | 3D, Arcade, Experimental, Fast-Paced, First-Person, FPS, Retro, Short, Singleplayer |
More posts
- BLaTTiX is on Sale!Sep 03, 2021
- Small QOL UpdateAug 23, 2021
- Diary of a GameAug 06, 2021
- ๐ BLaTTiX Launches!Aug 02, 2021
- The Home StretchJul 31, 2021
- BeastiesJul 28, 2021
- ๐ TrailblazerJul 25, 2021
- On a RollJul 21, 2021
- A Healthy Update โค๏ธJul 20, 2021
- General TweakageJul 11, 2021
Leave a comment
Log in with itch.io to leave a comment.