mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2025-10-31 21:50:44 +07:00
core jank
This commit is contained in:
parent
5317c2745d
commit
2869dffff5
7
.vscode/tasks.json
vendored
7
.vscode/tasks.json
vendored
@ -5,12 +5,13 @@
|
||||
"label": "dotnet Build and Run (Debug)",
|
||||
"type": "shell",
|
||||
"group": "build",
|
||||
"osx":{
|
||||
"command": "dotnet ${workspaceFolder}/project_name/bin/Debug/project_name.dll",
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/project_name",
|
||||
"env": {
|
||||
"DYLD_LIBRARY_PATH": "${workspaceFolder}/project_name/bin/Debug/osx/"
|
||||
},
|
||||
}
|
||||
},
|
||||
"command": "dotnet ${workspaceFolder}/project_name/bin/Debug/project_name.dll",
|
||||
"dependsOn": "Build (Debug)",
|
||||
"problemMatcher": "$msCompile"
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@ -16,7 +16,7 @@ namespace project_name
|
||||
.AddComponent<DemoComponent>()
|
||||
.AddComponent(new PrototypeSpriteRenderer(20, 20));
|
||||
|
||||
var logo = Content.Load<Texture2D>("nez-logo-black");
|
||||
var logo = Content.Load<Texture2D>("Textures/nez-logo-black");
|
||||
CreateEntity("logo")
|
||||
.SetPosition(Screen.Center)
|
||||
.AddComponent(new SpriteRenderer(logo));
|
||||
|
||||
@ -21,7 +21,9 @@ namespace project_name
|
||||
Scene = new DefaultScene();
|
||||
|
||||
#if DEBUG
|
||||
// System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));
|
||||
#if NET47
|
||||
System.Diagnostics.Debug.Listeners.Add(new System.Diagnostics.TextWriterTraceListener(System.Console.Out));
|
||||
#endif
|
||||
|
||||
// optionally render Nez in an ImGui window
|
||||
var imGuiManager = new ImGuiManager();
|
||||
|
||||
@ -75,7 +75,7 @@ namespace project_name
|
||||
{
|
||||
Console.WriteLine($"----- no case for library load: {libraryName} ---------");
|
||||
}
|
||||
Console.WriteLine($"----- no case for library load: {libHandle} ---------");
|
||||
|
||||
return libHandle;
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,8 +15,8 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="../FNA/FNA.Core.csproj"/>
|
||||
<ProjectReference Include="../Nez/Nez.Portable/Nez.FNA.Standard.csproj"/>
|
||||
<ProjectReference Include="../Nez/Nez.Persistence/Nez.FNA.Persistence.csproj" />
|
||||
<ProjectReference Include="../Nez/Nez.ImGui/Nez.FNA.ImGui.csproj"/>
|
||||
<ProjectReference Include="../Nez/Nez.Persistence/Nez.FNA.Standard.Persistence.csproj" />
|
||||
<ProjectReference Include="../Nez/Nez.ImGui/Nez.FNA.Standard.ImGui.csproj"/>
|
||||
<!-- <ProjectReference Include="../Nez/Nez.FarseerPhysics/Nez.FNA.FarseerPhysics.csproj" /> -->
|
||||
</ItemGroup>
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<None Remove="CompiledContent\.*"/>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- optional: MonoGame's content pipeline needs this defined
|
||||
<!-- optional: MonoGame's content pipeline needs this defined. Uncomment if you intend to use it.
|
||||
<ItemGroup>
|
||||
<MonoGameContentReference Include="CompiledContent\Content.mgcb"/>
|
||||
</ItemGroup>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user