7-8-25 6:02pm

This commit is contained in:
2025-07-08 18:02:01 -04:00
parent 6171b8eda2
commit 70fe41e07a
19 changed files with 386 additions and 317 deletions

25
Gameplay/Main.cs Normal file
View File

@@ -0,0 +1,25 @@
using Godot;
using System;
public partial class Main : Node
{
// Don't forget to rebuild the project so the editor knows about the new export variable.
public override void _Ready()
{
NewGame();
}
public void NewGame()
{
//_score = 0;
var player = GetNode<Marble>("Marble");
var startPosition = GetNode<Marker2D>("StartPosition");
player.Start(startPosition.Position);
var player2 = GetNode<Marble>("Marble2");
var startPosition2 = GetNode<Marker2D>("StartPosition2");
player2.Start(startPosition2.Position);
}
}