14 days 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

First Look at My Game Dev Journey!

WW1 Logistics Game - GameDev Log #7

#strategy #worldwar #gamedev

First Look at My Game Dev Journey!

Got my first subscriber for my youtube channel!

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

Short intro of us 💕✌️

We're an eletro duo based in Seoul 🇰🇷 Heavily influenced by the 90s.

Our new album #Xennials is all about the nostalgia of that era 💽 CD listenin 📟 beeper beepin 💾 floppy disks floppin days 😎

Stream now! 🎧

https://open.spotify.com/album/3YwWhnHWVy5cA8XOpbaGRA?si=8E9awqU…

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

We are under attack!

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.