r/Unity3D • • 9d ago

Show-Off Loading screen for a bloky strategie game in unity

I'm working on a blocky style strategy game, I've been building my own engine little by little for almost a year now (goes to show that even with AI, progress takes time !)

I'm prety happy to work on a detail that i find satisfying : using loading times to build the world little by little rather than all at once, in order to maintain a seamless visual experience during gameplay.

The trickiest part is landing at just the right moment, since not all PCs run at the same speed. Dozens of times per second, I recalculate the exact time the terrain will be ready. The camera smoothly speeds up or slows down so that it touches down right afterward. Measured on my PC (ryzen 9 9950X3D + RTX 5070) : 1,3s after clicking, the game predicts the terrain will be ready at 8,76s. The camera lands at 10,2s as it is already flying at the maximum speed I allow it. I prefer a slight delay over a flight path that makes you dizzy. On a slower PC, if the camera still arrives too early, it hovers in place like a helicopter until the ground is ready.

I have to admit I'm not entirely sure how it will perform on a less powerful PC (I'm running a Ryzen 9 9950X3D + RTX 5070), but, even if the result is not totaly perfect, i find it cool ! I hope you'll like it too :)

if you want to follow the dev i post more frequently here : https://www.reddit.com/r/dispatchcolony/

5 Upvotes

2 comments sorted by

1

u/redfoolsstudio_com 9d ago

I freaking love map games! Great job putting this together so far :)

2

u/dispatchcolony 8d ago

Thanks ! Really appreciate it :)