This repository has been archived by the owner on Nov 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-update atlas system to support sources from multiple files
-update asset builder pipeline to be part of .csproj
- Loading branch information
1 parent
a6a9c04
commit cfa6a24
Showing
6 changed files
with
135 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
input_folder = "../../../../Client/Content" | ||
output_folder = "../../../../Client/bin" | ||
input_folder = "../Client/Content" | ||
output_folder = "../Client/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,37 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<RollForward>Major</RollForward> | ||
<PublishReadyToRun>false</PublishReadyToRun> | ||
<RootNamespace>Voxel.Client</RootNamespace> | ||
<ImplicitUsings>disable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<DefineConstants>CLIENT</DefineConstants> | ||
<LangVersion>11</LangVersion> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net7.0</TargetFramework> | ||
<RollForward>Major</RollForward> | ||
<PublishReadyToRun>false</PublishReadyToRun> | ||
<RootNamespace>Voxel.Client</RootNamespace> | ||
<ImplicitUsings>disable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<DefineConstants>CLIENT</DefineConstants> | ||
<LangVersion>11</LangVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageReference Include="NLog" Version="5.2.7" /> | ||
<PackageReference Include="PeterO.Cbor" Version="4.5.2" /> | ||
<PackageReference Include="Tomlyn" Version="0.16.2" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="DiscordRichPresence" Version="1.2.1.24"/> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/> | ||
<PackageReference Include="NLog" Version="5.2.7"/> | ||
<PackageReference Include="PeterO.Cbor" Version="4.5.2"/> | ||
<PackageReference Include="Tomlyn" Version="0.16.2"/> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Common\Common.csproj" /> | ||
<ProjectReference Include="..\Core\Core.csproj" /> | ||
</ItemGroup> | ||
|
||
<Target Name="RestoreDotnetTools" BeforeTargets="Restore"> | ||
<Message Text="Restoring dotnet tools" Importance="High" /> | ||
<Exec Command="dotnet tool restore" /> | ||
</Target> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Common\Common.csproj"/> | ||
<ProjectReference Include="..\Core\Core.csproj"/> | ||
</ItemGroup> | ||
|
||
<!-- Builds the assets for the project--> | ||
<Target Name="BuildAssets" BeforeTargets="BeforeBuild"> | ||
<Exec Command="dotnet run" WorkingDirectory="../AssetBuilder"/> | ||
</Target> | ||
|
||
<Target Name="RestoreDotnetTools" BeforeTargets="Restore"> | ||
<Message Text="Restoring dotnet tools" Importance="High"/> | ||
<Exec Command="dotnet tool restore"/> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
{ | ||
"texturePath": "gui.png", | ||
"explicit": [ | ||
{ | ||
"name": "test", | ||
"x": 0, | ||
"y": 0, | ||
"width": 128, | ||
"height": 128 | ||
}, | ||
{ | ||
"name": "heart", | ||
"x": 128, | ||
"y": 0, | ||
"width": 9, | ||
"height": 8 | ||
} | ||
] | ||
} | ||
[ | ||
{ | ||
"source": "gui.png", | ||
"sprites": [ | ||
{ | ||
"name": "test", | ||
"x": 0, | ||
"y": 0, | ||
"width": 128, | ||
"height": 128 | ||
}, | ||
{ | ||
"name": "heart", | ||
"x": 128, | ||
"y": 0, | ||
"width": 9, | ||
"height": 8 | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
{ | ||
"texturePath": "terrain.png", | ||
"explicit": [ | ||
{ | ||
"name": "stone", | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "dirt", | ||
"x": 16, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "grass_side", | ||
"x": 32, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "grass_top", | ||
"x": 48, | ||
"y": 0 | ||
} | ||
] | ||
} | ||
[ | ||
{ | ||
"source": "terrain.png", | ||
"sprites": [ | ||
{ | ||
"name": "stone", | ||
"x": 0, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "dirt", | ||
"x": 16, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "grass_side", | ||
"x": 32, | ||
"y": 0 | ||
}, | ||
{ | ||
"name": "grass_top", | ||
"x": 48, | ||
"y": 0 | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters