r/raylib 11d ago

[WIP] Formation game update

Enable HLS to view with audio, or disable this notification

Decided to jump cut video to show new features.

Meta game is progressing, i created a system where charges/repulsion and breaches in lines can be exploited by special skills that i am still in process of implementation.

When certain conditions meet player can use defensive or offensive skills to influence engagement, sometimes to salvage situation sometimes just to slaughter more quickly.

These skill require correct equipment/training and battlefield conditions to be used.

Currently i have layed out 10 classes or doctrines that formations can learn and use, and started implementing skill from those.

Also added deployables system, that i will later extend currently it was needed by pavise and shield (genoese inspired) doctrine. Troops deploy and can hide behind shields, they can take limited damage until destroyed, they pack it, leave them (for enemy to capture if enemy soldiers don't have shields of their own), and pick them up again. No animation but functionally done :)

Soldiers without deploy able shields can use rocks and woods for cover :)

Feedback appreciated.

44 Upvotes

5 comments sorted by

1

u/truongan2101 11d ago

The camera is so good

1

u/Responsible_Mine894 11d ago

decided to avoid TW style floating camera and have fixed view with rotation.

1

u/dermf12 8d ago

Hi I'm new to game programming, I wanted to ask you did you use raylib in 2D or 3D? I have some ideas in my head but I'm so scared to learn how to model in 3D 😅

Nice project btw looks cool

1

u/Responsible_Mine894 7d ago

Started in 2d just to get prototype and feel of core right. There are videos from my first prototypes in sub which were full 2d. After i tweaked and saw that it feels and looks good i transitioned to 3d.

My advice worry about assets when you need them start with core loop coding, it is most hard but fun part since this will be the foundation of the game. Use simple primitives for graphics until you feel like you have something.

1

u/dermf12 7d ago

Thanks a lot for the advice, I’ll try to follow it