• Register

The game you are trying to view has ceased development and consequently been archived. If you are a member of this game, can demonstrate that it is being actively developed and will be able to keep this profile up to date with the latest news, images, videos and downloads, please contact us with all details and we will consider its re-activation.

Chronus is a futuristic action shooter currently in development. You'll be able to design your own ship and fight it in online multiplayer battles against other players. It's merely a project I work on for fun, commercial release isn't intended.

Post news Report RSS Destruction in Chronus

Introduction to destruction in Chronus, update on serialization and build 0.1

Posted by on

Introduction
So for the past couple of days I've been working on destruction, allowing your ship to break apart in fly mode. I didn't initially plan to include this in Version 0.1, which is the first version I'm going to release here on IndieDB, but serialization was beginning to tire me out, so I figured I might as well spend a couple of days implementing some proper destruction

So how does this work?
It's quite simple really. Any object that I want to destroy in flymode has two scripts attached - a G-Force calculator and a G-Force Reactor. The reason why the two are seperated is becuase the G-Force calculator can be used universally - it can track measurable force on any game object, and as such it can be used for future features. The reactor is basically what get's the job done. It will measure the difference between the set threshold of an object, and the G-Force it's exposed to. If the G-Force exceeds the threshold, the object will break apart from the ship. If the G-Force exceeds the threshold by a large enough difference (At the moment that's 15 times the threshold, although that is way too much), the object will be destroyed and potentially explode.

I basically just have to tweak the system right now. I want objects to lump together more. I also have to tweak the threshold of certain special cubes, as they have custom values. Once that's done I'll finish serialization, which should take a day or two, polish the product a bit and release 0.1 on IndieDB.

- Daniel Everland

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: