Fries
425bf2ad27
i added more to the main menu, as it has a settings menu now, that stores its files with json. i also changed the font to atkinson hyperlegible and made a BaseMenu class that takes care of the screen scaling for menus. i also refactored the project folder structure to make it more organized.
14 lines
242 B
C#
14 lines
242 B
C#
using Godot;
|
|
|
|
namespace Pong.Scripts.Managers;
|
|
|
|
public partial class PongSceneManager : Node2D
|
|
{
|
|
public override void _Process(double delta)
|
|
{
|
|
if (Input.IsActionJustPressed("scene_reload"))
|
|
{
|
|
GetTree().ReloadCurrentScene();
|
|
}
|
|
}
|
|
}
|