summaryrefslogtreecommitdiff
path: root/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-04-02 12:35:23 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-04-02 14:39:08 +0200
commit23cf6a85bdb904a1833c6015222d9ee69842c1ed (patch)
treef363b1cf1b6c9deb0549b071514dfc1ee7d5f093 /demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
parent4eb49cc73241e0597174c4bfdfdddaf96dce86af (diff)
Port 2D demos to TSCN/TRES formats
Part of #4196.
Diffstat (limited to 'demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd')
-rw-r--r--demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
index 25db51642b..c43b82a722 100644
--- a/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
+++ b/demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd
@@ -10,7 +10,7 @@ func _process(delta):
timeout -= delta
if (timeout < 0):
timeout = EMIT_INTERVAL
- var ball = preload("res://ball.scn").instance()
+ var ball = preload("res://ball.tscn").instance()
ball.set_pos(Vector2(randf()*get_viewport_rect().size.x, 0))
add_child(ball)