This repository has been archived on 2022-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
Tyra/scenes/Balle.tscn

26 lines
794 B
Text
Raw Permalink Normal View History

2021-04-08 13:37:38 +02:00
[gd_scene load_steps=5 format=2]
2021-04-03 23:47:20 +02:00
2021-04-07 19:24:25 +02:00
[ext_resource path="res://assets/images/balle.png" type="Texture" id=1]
2021-04-07 18:15:41 +02:00
[ext_resource path="res://scripts/Balle.gd" type="Script" id=2]
2021-04-08 13:37:38 +02:00
[ext_resource path="res://assets/sounds/balle.wav" type="AudioStream" id=3]
2021-04-03 23:47:20 +02:00
2021-04-07 21:07:51 +02:00
[sub_resource type="RectangleShape2D" id=1]
2021-04-07 18:15:41 +02:00
extents = Vector2( 4, 1.5 )
2021-04-03 23:47:20 +02:00
2021-04-07 18:15:41 +02:00
[node name="Area2D" type="Area2D"]
script = ExtResource( 2 )
2021-04-03 23:47:20 +02:00
2021-04-07 18:15:41 +02:00
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
2021-04-07 21:07:51 +02:00
shape = SubResource( 1 )
2021-04-03 23:47:20 +02:00
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 1 )
2021-04-08 13:37:38 +02:00
2021-04-08 13:55:24 +02:00
[node name="SonBalle" type="AudioStreamPlayer2D" parent="."]
2021-04-08 13:37:38 +02:00
stream = ExtResource( 3 )
2021-04-08 14:05:39 +02:00
volume_db = -32.0
2021-04-08 13:37:38 +02:00
pitch_scale = 1.85
autoplay = true
attenuation = 2.63902
2021-04-07 18:15:41 +02:00
[connection signal="body_entered" from="." to="." method="_on_Area2D_body_entered"]