diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-04-02 12:35:23 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-04-02 14:39:08 +0200 |
commit | 23cf6a85bdb904a1833c6015222d9ee69842c1ed (patch) | |
tree | f363b1cf1b6c9deb0549b071514dfc1ee7d5f093 /demos/2d/dynamic_collision_shapes/dynamic_colobjs.gd | |
parent | 4eb49cc73241e0597174c4bfdfdddaf96dce86af (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.gd | 2 |
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) |