Skip to content

Commit

Permalink
Initial Workload
Browse files Browse the repository at this point in the history
- Created Init script that verifies precense of specific folders and files
- Created start of WinForm, and ability to create projects using this form
  • Loading branch information
KylerStr committed Jun 4, 2024
0 parents commit fce0e69
Show file tree
Hide file tree
Showing 18 changed files with 1,470 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Engine/Templates/ProjectSaveFile.Json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"project_name": "New Project",
"author" : "John Doe",
"version" : "0.1",
"localPath" : ""
}
Binary file added GameEngineGUI.Run.ps1
Binary file not shown.
366 changes: 366 additions & 0 deletions GameEngineGUI.TempPoint.psf

Large diffs are not rendered by default.

632 changes: 632 additions & 0 deletions GameEngineGUI.psf

Large diffs are not rendered by default.

Binary file added GameEngineGUI.psf.psbuild
Binary file not shown.
27 changes: 27 additions & 0 deletions PowerShellGameEngine.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
cls
#During initilization, ensure folders exist for PowerShell Game Engine
$LaunchLocation = Split-Path ($MyInvocation.MyCommand.Path)
$ExpectedFolders = @(
"Modules",
"Modules\EngineModules",
"Modules\GamePlayModules",
"Projects"
"Engine",
"Engine\Templates"
)
#Loop through expected folders and ensure they exist
Write-Host "-- Preforming Initilization Checks --"
Foreach ($Item in $ExpectedFolders) {
If (!(Test-Path "$LaunchLocation\$Item")) {
Write-Host "Missing directory - $LaunchLocation\$Item"
$FileName = "$Item"
If ($Item -like "*\*") {
$SplitItem = $Item -split "\"
$FileName = $SplitItem[$SplitItem.Count - 1]
}
Write-Host "Creating directory - $Item"
New-Item -Path $LaunchLocation -Name $FileName -ItemType Directory
}
}
#Launch GUI
Start-Process "$LaunchLocation\EngineGUI.ps1"
Binary file added bin/x64/GameEngineGUI/GameEngineGUI.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added bin/x64/GameEngineGUI/Newtonsoft.Json.dll
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit fce0e69

Please sign in to comment.