I'm back! After a week of resolving real-life problems, I'm ready to continue working on the #eggcellentadventure game.

The last feature I added was animations. The game makes extensive use of sprite animations, and implementing a universal animation job with ECS was straightforward.

More in the thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #mobile #2d #animation #spriteanimation #2danimation #pixelartanimation

I’m happy to announce that the implementation of SAT collision detection and Bayazit decomposition was finished and battle-tested in the Eggcellent Adventure game!

You can find the implementation here β†’ https://github.com/ArtemkaKun/v-2d-polygon-colliders, feedback is much appreciated.

Thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #collider #collision #math #mathematics #geometry

GitHub - ArtemkaKun/v-2d-polygon-colliders: 2D polygon colliders implemented in V

2D polygon colliders implemented in V. Contribute to ArtemkaKun/v-2d-polygon-colliders development by creating an account on GitHub.

GitHub

Wow, what a busy week! 🀯

My first try at using the Bayazit decomposition algorithm didn't go as planned. It worked fine with simple stuff, but couldn't handle the complex shapes in Eggcellent Adventure.

Thread 🧡

So, I had to find a new solution. Luckily, I found this β†’
https://github.com/wsilva32/poly_decomp.py/tree/master

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #convex #concave #collider #collision #math #mathematics #geometry

GitHub - wsilva32/poly_decomp.py: Decompose 2D polygons into convex pieces.

Decompose 2D polygons into convex pieces. Contribute to wsilva32/poly_decomp.py development by creating an account on GitHub.

GitHub

After I got the polygon editor up and running, my next mission was to roll out the collision algorithm for 2D polygons. This task was divided into two sections:

1. The implementation of the SAT (Separating Axis Theorem) algorithm.
2. The implementation of the Bayazit polygon decomposition algorithm.

Thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #convex #concave #collider #collision #math #mathematics #geometry

While creating the polygon editor tool, I also separated 2D transform code into a module, so I can use it for polygons and the game -> `v-2d-transform` (https://github.com/ArtemkaKun/v-2d-transform)

The module contains definitions of Vector and Point and basic operations, commonly used in games.

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #2d #polygon #vector #math #mathematics #geometry

GitHub - ArtemkaKun/v-2d-transform: 2D transform library, written in V

2D transform library, written in V. Contribute to ArtemkaKun/v-2d-transform development by creating an account on GitHub.

GitHub

@maxim

Hey, it's Artem from Poland πŸ‡΅πŸ‡±. I mess around with #vlang and I'm making the #eggcellentadventure game when I can.

Used to work a lot with #Unity, but kinda over it now. Thinking of building my own engine in V for my games. Hoping to make a cool #VR game with solid physics one day πŸ˜…

I do some #opensource stuff and I'm into #linux.

At my day job, I mainly do #backend in #csharp and some #devops.

Would love to chat with other game devs, hit me up!

I finally finished the implementation of the polygon editor tool, so I can start drawing polygon colliders for #eggcellentadventure sprites and implementing the polygon collision calculation algorithm!πŸ₯³

More in the thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #ui #2d #polygon #collider #linux #kde

Progress Update: Polygon Drawing Tool Development πŸ“

I'm happy to share that approximately 40% of the polygon drawing tool is now complete.

More info in the thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #ui #polygon #collider #linux #kde

The initial idea is the following - create a tool where I can load my game sprite as a reference and draw a polygon shape on it. Then export this shape in JSON format and use it as a polygon collider in the game.

The good news is that #eggcellentadventure code is pretty modular, so I can use small modules in both polygon editor and the game to duplicate as less as possible.

The creation process of polygon editor tools for my polygon colliders has begun. All things were planned and seems like there will be a bunch of work to do.

Continuation in the thread 🧡

#eggcellentadventure #v #vlang #gamedevelopment #programming #opensource #gamedev #indiegamedev #ui #polygon #collider #linux #kde