6 months ago

WW1 Logistics Game - GameDev Log 3

YouTube Video:

https://youtu.be/3vf2PEgquAU

Longform Explanation below in Article.

#strategy #worldwar1


https://youtu.be/3vf2PEgquAU
https://youtu.be/3vf2PEgquAU
https://youtu.be/3vf2PEgquAU

Quick update on the game!

I focused on the resource delivery mechanism to the battle units (and prepared the code so it’ll also work for future events, modules, etc.). I created another window called "Dispatch Resources," so now you can directly send resources to battle units. You pick the battle unit you want to send it to, set the amount of resources, and then choose the transport unit you want to use. (Making the buttons change color to show which units were selected was honestly the hardest part—ended up wasting way too much time on that. But I needed it to not get confused and see if the right units were chosen.)

The goods are delivered in real time, and you can watch the progress in the "Central Logistics" window. While delivering, the status of the transport unit changes from "Idle" to "On Mission," so it can’t be picked for another transport until it returns.

Once the resources arrive, they’re added to the battle unit’s supplies. The transport unit will take the same time (or maybe a bit less—still deciding) to get back to your storage so it can go out on another run.

A lot of the code was set up 'in general,' so that the same mechanisms can be used for missions, events, and other future features. In the Dispatch window, you can see some relevant stats that are already in place for each unit, like how long the delivery will take (based on the speed of the transport unit and distance to the battle unit), how much cargo each transport unit can carry, etc.

Had to rewrite a bunch of it because I realized going day-by-day was a bad idea, so I switched it to an hourly system. Now, transports don’t just all leave in the morning and come back the next morning—it’s a bit more dynamic and feels way better.

As usual: yes, the UI sucks for now. I'll polish that way later. First I want stuff to just work in general.



0 comments

Loading...

Next up

WW1 Logistics Game - GameDev Log #7

#strategy #worldwar #gamedev

Got my first subscriber for my youtube channel!

#gamedev #youtube #success #win #strategy #worldwar1

First Look at My Game Dev Journey!

First Look at My Game Dev Journey!

Bandana Dee the Dream Friend

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

Enemies can also suddenly spawn through Realm Rifts. These Rift Spawns are going to be stronger than the ones wandering around. TBD on the enemies... #screenshotsaturday #godstear #madewithunity

Another house i made long time ago.

Runestones: from concept to in-game model🗿