]> git.tdb.fi Git - libs/game.git/blobdiff - examples/bassteroids/data/asteroid1.roid.setup
Load the various setups through resources
[libs/game.git] / examples / bassteroids / data / asteroid1.roid.setup
diff --git a/examples/bassteroids/data/asteroid1.roid.setup b/examples/bassteroids/data/asteroid1.roid.setup
new file mode 100644 (file)
index 0000000..a43f9f7
--- /dev/null
@@ -0,0 +1,31 @@
+physical
+{
+       body
+       {
+               mass 200;
+               moment_of_inertia 2160;
+       };
+       collider
+       {
+               type CIRCLE;
+               radius 3;
+       };
+};
+hittable
+{
+       damaging true;
+       hits
+       {
+               max_hits 3;
+               vulnerable_to 1;
+       };
+       damage
+       {
+               amount 10;
+               type 1;
+       };
+};
+mesh
+{
+       object_name "Asteroid 1.object";
+};