summaryrefslogtreecommitdiff
path: root/demos/2d/dynamic_collision_shapes
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/dynamic_collision_shapes')
-rw-r--r--demos/2d/dynamic_collision_shapes/ball.gd17
-rw-r--r--demos/2d/dynamic_collision_shapes/ball.pngbin321 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/ball.scnbin1857 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/box.pngbin253 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/circle.pngbin889 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd19
-rw-r--r--demos/2d/dynamic_collision_shapes/dynamic_colobjs.scnbin4399 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/engine.cfg5
-rw-r--r--demos/2d/dynamic_collision_shapes/icon.pngbin1563 -> 0 bytes
-rw-r--r--demos/2d/dynamic_collision_shapes/poly.pngbin1638 -> 0 bytes
10 files changed, 0 insertions, 41 deletions
diff --git a/demos/2d/dynamic_collision_shapes/ball.gd b/demos/2d/dynamic_collision_shapes/ball.gd
deleted file mode 100644
index 169079ea46..0000000000
--- a/demos/2d/dynamic_collision_shapes/ball.gd
+++ /dev/null
@@ -1,17 +0,0 @@
-
-extends RigidBody2D
-
-# Member variables
-var timeout = 5
-
-
-func _process(delta):
- timeout -= delta
- if (timeout < 1):
- set_opacity(timeout)
- if (timeout < 0):
- queue_free()
-
-
-func _ready():
- set_process(true)
diff --git a/demos/2d/dynamic_collision_shapes/ball.png b/demos/2d/dynamic_collision_shapes/ball.png
deleted file mode 100644
index b7cf71da29..0000000000
--- a/demos/2d/dynamic_collision_shapes/ball.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/ball.scn b/demos/2d/dynamic_collision_shapes/ball.scn
deleted file mode 100644
index 51a91d5bc0..0000000000
--- a/demos/2d/dynamic_collision_shapes/ball.scn
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/box.png b/demos/2d/dynamic_collision_shapes/box.png
deleted file mode 100644
index f29b83ce38..0000000000
--- a/demos/2d/dynamic_collision_shapes/box.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/circle.png b/demos/2d/dynamic_collision_shapes/circle.png
deleted file mode 100644
index 9fdfa550b1..0000000000
--- a/demos/2d/dynamic_collision_shapes/circle.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
deleted file mode 100644
index 25db51642b..0000000000
--- a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
+++ /dev/null
@@ -1,19 +0,0 @@
-
-extends Node2D
-
-# Member variables
-const EMIT_INTERVAL = 0.1
-var timeout = EMIT_INTERVAL
-
-
-func _process(delta):
- timeout -= delta
- if (timeout < 0):
- timeout = EMIT_INTERVAL
- var ball = preload("res://ball.scn").instance()
- ball.set_pos(Vector2(randf()*get_viewport_rect().size.x, 0))
- add_child(ball)
-
-
-func _ready():
- set_process(true)
diff --git a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn
deleted file mode 100644
index 6d17e2209f..0000000000
--- a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.scn
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/engine.cfg b/demos/2d/dynamic_collision_shapes/engine.cfg
deleted file mode 100644
index 76a074f346..0000000000
--- a/demos/2d/dynamic_collision_shapes/engine.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-[application]
-
-name="Run-Time CollisionShape"
-main_scene="res://dynamic_colobjs.scn"
-icon="res://icon.png"
diff --git a/demos/2d/dynamic_collision_shapes/icon.png b/demos/2d/dynamic_collision_shapes/icon.png
deleted file mode 100644
index b47506d7c8..0000000000
--- a/demos/2d/dynamic_collision_shapes/icon.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/dynamic_collision_shapes/poly.png b/demos/2d/dynamic_collision_shapes/poly.png
deleted file mode 100644
index 49ed55cc7d..0000000000
--- a/demos/2d/dynamic_collision_shapes/poly.png
+++ /dev/null
Binary files differ