This commit is contained in:
2024-10-19 19:19:46 +02:00
parent 7c50910690
commit bbf3c5e593
12 changed files with 262 additions and 13 deletions

24
script/Principal.cs Normal file
View File

@@ -0,0 +1,24 @@
using Godot;
using System;
public partial class Principal : Control
{
[Export] Panel sub;
[Export] PackedScene play;
[Export] PackedScene credit;
// 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(double delta)
{
}
public void EnterPressed()
{
sub.Visible = true;
}
}