Add project structure: directories, Main scene, and README

This commit is contained in:
Will Stuckey
2025-10-28 12:03:34 -05:00
parent 40e6524805
commit 4c6ce0598a
6 changed files with 85 additions and 3 deletions

38
README.md Normal file
View File

@@ -0,0 +1,38 @@
# Voider
A game project built with Godot 4.5 and C#.
## Libraries
This project uses the following custom libraries:
- **EinSoftworks.Utilities** - Math and utility functions
- **EinSoftworks.Input** - Input management system
- **EinSoftworks.Events** - Event system for game communication
## Project Structure
```
voider/
├── Scenes/ # Game scenes (.tscn files)
├── Scripts/ # C# scripts
├── Resources/ # Game resources
│ ├── Textures/ # Images and sprites
│ ├── Audio/ # Sound effects and music
│ └── Fonts/ # Font files
├── Prefabs/ # Reusable scene prefabs
└── UI/ # User interface scenes
```
## Development
### Building
```bash
dotnet build
```
### Running
Open the project in Godot 4.5 and press F5 to run.
## License
TBD

3
Scenes/Main.tscn Normal file
View File

@@ -0,0 +1,3 @@
[gd_scene load_steps=1 format=3 uid="uid://bvx8qw3yqn5yk"]
[node name="Main" type="Node2D"]

26
Scripts/Main.cs Normal file
View File

@@ -0,0 +1,26 @@
using Godot;
using EinSoftworks.Utilities;
using EinSoftworks.Input;
using EinSoftworks.Events;
namespace Voider;
/// <summary>
/// Main entry point for the Voider game.
/// </summary>
public partial class Main : Node2D
{
public override void _Ready()
{
GD.Print("Voider game initialized!");
GD.Print("Libraries loaded:");
GD.Print("- Utilities");
GD.Print("- Input");
GD.Print("- Events");
}
public override void _Process(double delta)
{
// Game loop logic here
}
}

View File

@@ -1,8 +1,6 @@
<Project Sdk="Godot.NET.Sdk/4.5.1"> <Project Sdk="Godot.NET.Sdk/4.5.1">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0</TargetFramework> <TargetFramework>net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading> <EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>Voider</RootNamespace> <RootNamespace>Voider</RootNamespace>
<AssemblyName>Voider</AssemblyName> <AssemblyName>Voider</AssemblyName>

16
Voider.csproj.old Normal file
View File

@@ -0,0 +1,16 @@
<Project Sdk="Godot.NET.Sdk/4.5.1">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'android' ">net8.0</TargetFramework>
<TargetFramework Condition=" '$(GodotTargetPlatform)' == 'ios' ">net8.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RootNamespace>Voider</RootNamespace>
<AssemblyName>Voider</AssemblyName>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\libraries\utilities\Utilities.csproj" />
<ProjectReference Include="..\..\libraries\input\Input.csproj" />
<ProjectReference Include="..\..\libraries\events\Events.csproj" />
</ItemGroup>
</Project>

View File

@@ -11,6 +11,7 @@ config_version=5
[application] [application]
config/name="Voider" config/name="Voider"
run/main_scene="res://Scenes/Main.tscn"
config/features=PackedStringArray("4.5", "C#", "Forward Plus") config/features=PackedStringArray("4.5", "C#", "Forward Plus")
[dotnet] [dotnet]