Game
TANKSMASH
8 years ago

Adding multiprocess


I hoped to have a playable demo of the game by this date, however I’ve been busy solving several unforeseen details, one of them is how to build the world at run time without freezing the game for the time it takes the program to build the scene, after one week of drilling my brain I came up with a method to fake multi threading in Unity. The opening scene builds the planet when the game starts, in this example, the world is divided into 150 tiles, each one has the responsibility of building itself, each tile runs in its own job context, so there are 150 jobs running simultaneously, the frame rate remains close to the 60 frames per second, independently of the number of jobs running. Spikes shown in the profiler are caused by garbage collection and physics updates.



0 comments

Loading...

Next up

A small taste on how the game will look like

Making a more convincing planet

Interesting architecture to see

Working on a full remake of the game

First public demo is available right now

The new HUD allows you to spot enemies even if they are behind an obstacle

Hover Tank

Bandana Dee the Dream Friend

So

i may or may not make an full art of some person or i may just leave this like that-

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.