diff --git a/Game name.gd b/Game name.gd new file mode 100644 index 0000000..b3c1951 --- /dev/null +++ b/Game name.gd @@ -0,0 +1,16 @@ +extends Label + +var frequency = 5 +var amplitude = 550 +var time = 0 +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + #pass + time += delta + var movement = cos(time*frequency)*amplitude + position.y+=movement * delta diff --git a/alien-bulls.mp3 b/alien-bulls.mp3 new file mode 100644 index 0000000..9d9e00c Binary files /dev/null and b/alien-bulls.mp3 differ diff --git a/alien-bulls.mp3.import b/alien-bulls.mp3.import new file mode 100644 index 0000000..a0dc32d --- /dev/null +++ b/alien-bulls.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://dawltfnifxgiq" +path="res://.godot/imported/alien-bulls.mp3-8618ad5650cb5e91981b0ee087ac4c40.mp3str" + +[deps] + +source_file="res://alien-bulls.mp3" +dest_files=["res://.godot/imported/alien-bulls.mp3-8618ad5650cb5e91981b0ee087ac4c40.mp3str"] + +[params] + +loop=true +loop_offset=13.0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/title.tscn b/title.tscn index a58b8e8..bd7d20d 100644 --- a/title.tscn +++ b/title.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=2 format=3 uid="uid://p010jtursgo2"] +[gd_scene load_steps=3 format=3 uid="uid://p010jtursgo2"] [ext_resource type="Script" path="res://title.gd" id="1_fbo7u"] +[ext_resource type="Script" path="res://Game name.gd" id="2_bbb0f"] [node name="title" type="Control"] layout_mode = 3 @@ -11,7 +12,7 @@ grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_fbo7u") -[node name="Label" type="Label" parent="."] +[node name="Game name" type="Label" parent="."] layout_mode = 0 offset_left = 108.0 offset_top = 271.0 @@ -19,3 +20,4 @@ offset_right = 269.0 offset_bottom = 297.0 scale = Vector2(6.38131, 6.11486) text = "The Red Robot Radio" +script = ExtResource("2_bbb0f")