Version 0.1 - 0.3.1

Added the World
Added Mobs, and spawning those mobs at runtime
Added simple camera movement
Added simple UI/HUD
This commit is contained in:
gdz
2025-07-29 23:21:53 +02:00
parent 9cef1ddce2
commit 802918e5b8
46 changed files with 1087 additions and 1 deletions

17
scenes/Main.cs Normal file
View File

@@ -0,0 +1,17 @@
using Godot;
using System;
public partial class Main : Node
{
public override void _Ready()
{
var screenSize = GetViewport().GetVisibleRect().Size;
var camera = GetNode<Camera2D>("Camera2D");
camera.Position = new Vector2(screenSize.X / 2, screenSize.Y / 2);
var spawner = GetNode("World/Spawner");
var flyPosition = camera.Position;
// spawner.spawn_fly(flyPosition);
}
}