40 lines
976 B
Plaintext
40 lines
976 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://MainMenu/MainMenu.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://MainMenu/MenuBackground.cs" type="Script" id=2]
|
|
|
|
[sub_resource type="CSharpScript" id=1]
|
|
resource_name = "Main"
|
|
script/source = "using Godot;
|
|
using System;
|
|
|
|
public class Main : Node
|
|
{
|
|
// Declare member variables here. Examples:
|
|
// private int a = 2;
|
|
// private string b = \"text\";
|
|
|
|
// Called when the node enters the scene tree for the first time.
|
|
public override void _Ready()
|
|
{
|
|
|
|
}
|
|
|
|
// // Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
// public override void _Process(float delta)
|
|
// {
|
|
//
|
|
// }
|
|
}
|
|
"
|
|
|
|
[node name="Main" type="Node"]
|
|
script = SubResource( 1 )
|
|
|
|
[node name="MainMenu" parent="." instance=ExtResource( 1 )]
|
|
|
|
[node name="MenuBackground" type="Node2D" parent="."]
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="ParticleNodes" type="Node2D" parent="MenuBackground"]
|