new ship texture, added delta time calculation, better sizing of player ship
This commit is contained in:
parent
00fc14559e
commit
c5e619986d
@ -1,59 +0,0 @@
|
||||
using System.Numerics;
|
||||
using Raylib_cs;
|
||||
|
||||
namespace deleteme;
|
||||
|
||||
public class Game
|
||||
{
|
||||
private Vector2 _playerPosition = Vector2.Zero;
|
||||
private float _speed = 0.5f;
|
||||
|
||||
|
||||
public Game()
|
||||
{
|
||||
Raylib.SetConfigFlags(ConfigFlags.ResizableWindow);
|
||||
Raylib.InitWindow(1280,720,"Raylib");
|
||||
|
||||
_playerPosition = new Vector2(Raylib.GetScreenWidth() / 2, Raylib.GetScreenHeight() / 2);
|
||||
|
||||
while (!Raylib.WindowShouldClose())
|
||||
{
|
||||
Update();
|
||||
Draw();
|
||||
}
|
||||
}
|
||||
|
||||
private void Draw()
|
||||
{
|
||||
Raylib.BeginDrawing();
|
||||
Raylib.ClearBackground(new(10,0,30,255));
|
||||
|
||||
DrawPlayer();
|
||||
|
||||
Raylib.EndDrawing();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
Input();
|
||||
}
|
||||
|
||||
private void Input()
|
||||
{
|
||||
Vector2 newPos = _playerPosition;
|
||||
|
||||
|
||||
if (Raylib.IsKeyDown(KeyboardKey.D) && newPos.X < Raylib.GetScreenWidth() - 16) newPos.X += _speed;
|
||||
if (Raylib.IsKeyDown(KeyboardKey.A) && newPos.X != 0) newPos.X -= _speed;
|
||||
|
||||
if (Raylib.IsKeyDown(KeyboardKey.W) && newPos.Y != 0) newPos.Y -= _speed;
|
||||
if (Raylib.IsKeyDown(KeyboardKey.S) && newPos.Y < Raylib.GetScreenHeight() - 16) newPos.Y += _speed;
|
||||
|
||||
_playerPosition = newPos;
|
||||
}
|
||||
|
||||
private void DrawPlayer()
|
||||
{
|
||||
Raylib.DrawRectangle((int)_playerPosition.X, (int)_playerPosition.Y, 16,16, Color.RayWhite);
|
||||
}
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "deleteme", "deleteme\deleteme.csproj", "{77A9793C-2EDA-4510-8D1A-72AD4C575882}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "space_game", "space_game\space_game.csproj", "{77A9793C-2EDA-4510-8D1A-72AD4C575882}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
65
space_game/Game.cs
Normal file
65
space_game/Game.cs
Normal file
@ -0,0 +1,65 @@
|
||||
using System.Numerics;
|
||||
using Raylib_cs;
|
||||
|
||||
namespace deleteme;
|
||||
|
||||
public class Game
|
||||
{
|
||||
private Vector2 _playerPosition = Vector2.Zero;
|
||||
private float _speed = 800f;
|
||||
private Vector2 _playerSize;
|
||||
private float _playerScale = 0.5f;
|
||||
private Texture2D _playerTexture;
|
||||
|
||||
public Game()
|
||||
{
|
||||
Raylib.SetConfigFlags(ConfigFlags.ResizableWindow);
|
||||
Raylib.InitWindow(1280,720,"Raylib");
|
||||
|
||||
_playerPosition = new Vector2(Raylib.GetScreenWidth() / 2, Raylib.GetScreenHeight() / 2);
|
||||
_playerTexture = Raylib.LoadTexture("data/images/ship.png");
|
||||
_playerSize = new Vector2(_playerTexture.Width * _playerScale, _playerTexture.Height * _playerScale);
|
||||
|
||||
while (!Raylib.WindowShouldClose())
|
||||
{
|
||||
Update();
|
||||
Draw();
|
||||
}
|
||||
}
|
||||
|
||||
private void Draw()
|
||||
{
|
||||
Raylib.BeginDrawing();
|
||||
Raylib.ClearBackground(new(10,0,30,255));
|
||||
|
||||
DrawPlayer();
|
||||
|
||||
Raylib.DrawText($"{_playerSize} {_playerPosition}", 5,5,20,Color.RayWhite);
|
||||
|
||||
Raylib.EndDrawing();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
Input();
|
||||
}
|
||||
|
||||
private void Input()
|
||||
{
|
||||
Vector2 newPos = _playerPosition;
|
||||
|
||||
|
||||
if (Raylib.IsKeyDown(KeyboardKey.D) && newPos.X < Raylib.GetScreenWidth() - _playerSize.X) newPos.X += _speed * Raylib.GetFrameTime();
|
||||
if (Raylib.IsKeyDown(KeyboardKey.A) && !(newPos.X <= 0)) newPos.X -= _speed * Raylib.GetFrameTime();
|
||||
|
||||
if (Raylib.IsKeyDown(KeyboardKey.W) && !(newPos.Y <= 0)) newPos.Y -= _speed * Raylib.GetFrameTime();
|
||||
if (Raylib.IsKeyDown(KeyboardKey.S) && newPos.Y < (Raylib.GetScreenHeight() - _playerSize.Y)) newPos.Y += _speed * Raylib.GetFrameTime();
|
||||
|
||||
_playerPosition = newPos;
|
||||
}
|
||||
|
||||
private void DrawPlayer()
|
||||
{
|
||||
Raylib.DrawTextureEx(_playerTexture, _playerPosition, 0, _playerScale, Color.RayWhite);
|
||||
}
|
||||
}
|
BIN
space_game/bin/Debug/net9.0/Raylib-cs.dll
Executable file
BIN
space_game/bin/Debug/net9.0/Raylib-cs.dll
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/data/images/ship.png
Normal file
BIN
space_game/bin/Debug/net9.0/data/images/ship.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
BIN
space_game/bin/Debug/net9.0/runtimes/linux-x64/native/libraylib.so
Executable file
BIN
space_game/bin/Debug/net9.0/runtimes/linux-x64/native/libraylib.so
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/runtimes/osx-arm64/native/libraylib.dylib
Executable file
BIN
space_game/bin/Debug/net9.0/runtimes/osx-arm64/native/libraylib.dylib
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib
Executable file
BIN
space_game/bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/runtimes/win-x64/native/raylib.dll
Executable file
BIN
space_game/bin/Debug/net9.0/runtimes/win-x64/native/raylib.dll
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/runtimes/win-x86/native/raylib.dll
Executable file
BIN
space_game/bin/Debug/net9.0/runtimes/win-x86/native/raylib.dll
Executable file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/space_game
Executable file
BIN
space_game/bin/Debug/net9.0/space_game
Executable file
Binary file not shown.
79
space_game/bin/Debug/net9.0/space_game.deps.json
Normal file
79
space_game/bin/Debug/net9.0/space_game.deps.json
Normal file
@ -0,0 +1,79 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v9.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v9.0": {
|
||||
"space_game/1.0.0": {
|
||||
"dependencies": {
|
||||
"Raylib-cs": "6.1.1"
|
||||
},
|
||||
"runtime": {
|
||||
"space_game.dll": {}
|
||||
}
|
||||
},
|
||||
"Raylib-cs/6.1.1": {
|
||||
"dependencies": {
|
||||
"System.Numerics.Vectors": "4.5.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/Raylib-cs.dll": {
|
||||
"assemblyVersion": "0.0.0.0",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libraylib.so": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-arm64/native/libraylib.dylib": {
|
||||
"rid": "osx-arm64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-x64/native/libraylib.dylib": {
|
||||
"rid": "osx-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/raylib.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x86/native/raylib.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.5.0": {}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"space_game/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Raylib-cs/6.1.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ty5RQoFK7bW4mTogwMf55Zh73DMJMvFLLJTarhmL1g7loxeLYoHTFufN7JagObdLHo2zB3wVrtEHVCXFoZ9TMg==",
|
||||
"path": "raylib-cs/6.1.1",
|
||||
"hashPath": "raylib-cs.6.1.1.nupkg.sha512"
|
||||
},
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==",
|
||||
"path": "system.numerics.vectors/4.5.0",
|
||||
"hashPath": "system.numerics.vectors.4.5.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
BIN
space_game/bin/Debug/net9.0/space_game.dll
Normal file
BIN
space_game/bin/Debug/net9.0/space_game.dll
Normal file
Binary file not shown.
BIN
space_game/bin/Debug/net9.0/space_game.pdb
Normal file
BIN
space_game/bin/Debug/net9.0/space_game.pdb
Normal file
Binary file not shown.
12
space_game/bin/Debug/net9.0/space_game.runtimeconfig.json
Normal file
12
space_game/bin/Debug/net9.0/space_game.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
BIN
space_game/data/images/ship.png
Normal file
BIN
space_game/data/images/ship.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
BIN
space_game/obj/Debug/net9.0/apphost
Executable file
BIN
space_game/obj/Debug/net9.0/apphost
Executable file
Binary file not shown.
22
space_game/obj/Debug/net9.0/deleteme.AssemblyInfo.cs
Normal file
22
space_game/obj/Debug/net9.0/deleteme.AssemblyInfo.cs
Normal file
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("deleteme")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+00fc14559e46b0e0eaa19ed6b380e7e0c3f4f0ba")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("deleteme")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("deleteme")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
dddc4db2c783d2add17df5ba7a877c2cb00921a9fb9d1be5f4363c45e3245362
|
@ -0,0 +1,15 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = deleteme
|
||||
build_property.ProjectDir = /home/chris/mnt/data/Projects/space-game-raylib/deleteme/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
8
space_game/obj/Debug/net9.0/deleteme.GlobalUsings.g.cs
Normal file
8
space_game/obj/Debug/net9.0/deleteme.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
space_game/obj/Debug/net9.0/deleteme.assets.cache
Normal file
BIN
space_game/obj/Debug/net9.0/deleteme.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
BIN
space_game/obj/Debug/net9.0/ref/space_game.dll
Normal file
BIN
space_game/obj/Debug/net9.0/ref/space_game.dll
Normal file
Binary file not shown.
BIN
space_game/obj/Debug/net9.0/refint/space_game.dll
Normal file
BIN
space_game/obj/Debug/net9.0/refint/space_game.dll
Normal file
Binary file not shown.
22
space_game/obj/Debug/net9.0/space_game.AssemblyInfo.cs
Normal file
22
space_game/obj/Debug/net9.0/space_game.AssemblyInfo.cs
Normal file
@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("space_game")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+00fc14559e46b0e0eaa19ed6b380e7e0c3f4f0ba")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("space_game")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("space_game")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
@ -0,0 +1 @@
|
||||
e2c635a47aa764048b613f1a67fd6bf51143937865e51dcbdf95f4c1a43d8dc1
|
@ -0,0 +1,15 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = space_game
|
||||
build_property.ProjectDir = /home/chris/mnt/data/Projects/space-game-raylib/space_game/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
8
space_game/obj/Debug/net9.0/space_game.GlobalUsings.g.cs
Normal file
8
space_game/obj/Debug/net9.0/space_game.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
space_game/obj/Debug/net9.0/space_game.assets.cache
Normal file
BIN
space_game/obj/Debug/net9.0/space_game.assets.cache
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
30075559ea7b727ed5047f762aa8a3eb69000945831ef8b003f7cac7c4a4aa26
|
@ -0,0 +1,23 @@
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/space_game
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/space_game.deps.json
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/space_game.runtimeconfig.json
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/space_game.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/space_game.pdb
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/Raylib-cs.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/runtimes/linux-x64/native/libraylib.so
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/runtimes/osx-arm64/native/libraylib.dylib
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/runtimes/osx-x64/native/libraylib.dylib
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/runtimes/win-x64/native/raylib.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/runtimes/win-x86/native/raylib.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.csproj.AssemblyReference.cache
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.AssemblyInfoInputs.cache
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.AssemblyInfo.cs
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.csproj.CoreCompileInputs.cache
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.csproj.Up2Date
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/refint/space_game.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.pdb
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/space_game.genruntimeconfig.cache
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/Debug/net9.0/ref/space_game.dll
|
||||
/home/chris/mnt/data/Projects/space-game-raylib/space_game/bin/Debug/net9.0/data/images/ship.png
|
BIN
space_game/obj/Debug/net9.0/space_game.dll
Normal file
BIN
space_game/obj/Debug/net9.0/space_game.dll
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
90b00cb44f3dd33a5d86adb95a210eb4f4c84682c17ec76f947c750136acaf2b
|
BIN
space_game/obj/Debug/net9.0/space_game.pdb
Normal file
BIN
space_game/obj/Debug/net9.0/space_game.pdb
Normal file
Binary file not shown.
72
space_game/obj/deleteme.csproj.nuget.dgspec.json
Normal file
72
space_game/obj/deleteme.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,72 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/chris/mnt/data/Projects/space-game-raylib/deleteme/deleteme.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/chris/mnt/data/Projects/space-game-raylib/deleteme/deleteme.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/chris/mnt/data/Projects/space-game-raylib/deleteme/deleteme.csproj",
|
||||
"projectName": "deleteme",
|
||||
"projectPath": "/home/chris/mnt/data/Projects/space-game-raylib/deleteme/deleteme.csproj",
|
||||
"packagesPath": "/home/chris/.nuget/packages/",
|
||||
"outputPath": "/home/chris/mnt/data/Projects/space-game-raylib/deleteme/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/chris/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"dependencies": {
|
||||
"Raylib-cs": {
|
||||
"target": "Package",
|
||||
"version": "[6.1.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/home/chris/.dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
space_game/obj/deleteme.csproj.nuget.g.props
Normal file
15
space_game/obj/deleteme.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/chris/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/chris/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.10.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/chris/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
space_game/obj/deleteme.csproj.nuget.g.targets
Normal file
2
space_game/obj/deleteme.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
195
space_game/obj/project.assets.json
Normal file
195
space_game/obj/project.assets.json
Normal file
@ -0,0 +1,195 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net9.0": {
|
||||
"Raylib-cs/6.1.1": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Numerics.Vectors": "4.5.0"
|
||||
},
|
||||
"compile": {
|
||||
"lib/net6.0/Raylib-cs.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/Raylib-cs.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libraylib.so": {
|
||||
"assetType": "native",
|
||||
"rid": "linux-x64"
|
||||
},
|
||||
"runtimes/osx-arm64/native/libraylib.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx-arm64"
|
||||
},
|
||||
"runtimes/osx-x64/native/libraylib.dylib": {
|
||||
"assetType": "native",
|
||||
"rid": "osx-x64"
|
||||
},
|
||||
"runtimes/win-x64/native/raylib.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x64"
|
||||
},
|
||||
"runtimes/win-x86/native/raylib.dll": {
|
||||
"assetType": "native",
|
||||
"rid": "win-x86"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netcoreapp2.0/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp2.0/_._": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Raylib-cs/6.1.1": {
|
||||
"sha512": "ty5RQoFK7bW4mTogwMf55Zh73DMJMvFLLJTarhmL1g7loxeLYoHTFufN7JagObdLHo2zB3wVrtEHVCXFoZ9TMg==",
|
||||
"type": "package",
|
||||
"path": "raylib-cs/6.1.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"README.md",
|
||||
"lib/net6.0/Raylib-cs.dll",
|
||||
"lib/net6.0/Raylib-cs.xml",
|
||||
"raylib-cs.6.1.1.nupkg.sha512",
|
||||
"raylib-cs.nuspec",
|
||||
"raylib-cs_64x64.png",
|
||||
"runtimes/linux-x64/native/libraylib.so",
|
||||
"runtimes/osx-arm64/native/libraylib.dylib",
|
||||
"runtimes/osx-x64/native/libraylib.dylib",
|
||||
"runtimes/win-x64/native/raylib.dll",
|
||||
"runtimes/win-x86/native/raylib.dll"
|
||||
]
|
||||
},
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"sha512": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==",
|
||||
"type": "package",
|
||||
"path": "system.numerics.vectors/4.5.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/MonoAndroid10/_._",
|
||||
"lib/MonoTouch10/_._",
|
||||
"lib/net46/System.Numerics.Vectors.dll",
|
||||
"lib/net46/System.Numerics.Vectors.xml",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml",
|
||||
"lib/uap10.0.16299/_._",
|
||||
"lib/xamarinios10/_._",
|
||||
"lib/xamarinmac20/_._",
|
||||
"lib/xamarintvos10/_._",
|
||||
"lib/xamarinwatchos10/_._",
|
||||
"ref/MonoAndroid10/_._",
|
||||
"ref/MonoTouch10/_._",
|
||||
"ref/net45/System.Numerics.Vectors.dll",
|
||||
"ref/net45/System.Numerics.Vectors.xml",
|
||||
"ref/net46/System.Numerics.Vectors.dll",
|
||||
"ref/net46/System.Numerics.Vectors.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"ref/uap10.0.16299/_._",
|
||||
"ref/xamarinios10/_._",
|
||||
"ref/xamarinmac20/_._",
|
||||
"ref/xamarintvos10/_._",
|
||||
"ref/xamarinwatchos10/_._",
|
||||
"system.numerics.vectors.4.5.0.nupkg.sha512",
|
||||
"system.numerics.vectors.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net9.0": [
|
||||
"Raylib-cs >= 6.1.1"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/chris/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj",
|
||||
"projectName": "space_game",
|
||||
"projectPath": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj",
|
||||
"packagesPath": "/home/chris/.nuget/packages/",
|
||||
"outputPath": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/chris/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"dependencies": {
|
||||
"Raylib-cs": {
|
||||
"target": "Package",
|
||||
"version": "[6.1.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/home/chris/.dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
11
space_game/obj/project.nuget.cache
Normal file
11
space_game/obj/project.nuget.cache
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "jij3kTJLG8Y=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/chris/.nuget/packages/raylib-cs/6.1.1/raylib-cs.6.1.1.nupkg.sha512",
|
||||
"/home/chris/.nuget/packages/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
1
space_game/obj/project.packagespec.json
Normal file
1
space_game/obj/project.packagespec.json
Normal file
@ -0,0 +1 @@
|
||||
"restore":{"projectUniqueName":"/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj","projectName":"space_game","projectPath":"/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj","outputPath":"/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"all"}}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"Raylib-cs":{"target":"Package","version":"[6.1.1, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/home/chris/.dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"}}
|
1
space_game/obj/rider.project.model.nuget.info
Normal file
1
space_game/obj/rider.project.model.nuget.info
Normal file
@ -0,0 +1 @@
|
||||
17322487021516034
|
1
space_game/obj/rider.project.restore.info
Normal file
1
space_game/obj/rider.project.restore.info
Normal file
@ -0,0 +1 @@
|
||||
17322487021516034
|
72
space_game/obj/space_game.csproj.nuget.dgspec.json
Normal file
72
space_game/obj/space_game.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,72 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj",
|
||||
"projectName": "space_game",
|
||||
"projectPath": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/space_game.csproj",
|
||||
"packagesPath": "/home/chris/.nuget/packages/",
|
||||
"outputPath": "/home/chris/mnt/data/Projects/space-game-raylib/space_game/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/chris/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "all"
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"dependencies": {
|
||||
"Raylib-cs": {
|
||||
"target": "Package",
|
||||
"version": "[6.1.1, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/home/chris/.dotnet/sdk/9.0.100/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
space_game/obj/space_game.csproj.nuget.g.props
Normal file
15
space_game/obj/space_game.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/chris/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/chris/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.10.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/chris/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
space_game/obj/space_game.csproj.nuget.g.targets
Normal file
2
space_game/obj/space_game.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
@ -11,4 +11,8 @@
|
||||
<PackageReference Include="Raylib-cs" Version="6.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="data/**/*.*" CopyToOutputDirectory="Always" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user