-
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.
* refactor: components migration * refactor: entities migration * chore: ref replace * feat(tests): player entity * refactor: base entities & di structure migration * chore(git): imguinet added as a submodule * chore: imguinet is ran only on debug * feat: imguinet entities list debug menu * feat: animated movement system * refactor: systems, movement, impl & render * refactor: camera system & impls * feat: ui - FPS counter - UI Debugging - refactor & things to cleanup yet, but still improving * refactor: feature abstract class for code maintaining * refactor: feature handling with morpeh & systems - Grouping for rendering, fixed, late, etc systems update * chore: update pkgs * refactor: recursive features handled correctly * refactor: imgui debug & code maintenance * chore(e2e): integration test example * refactor: basic di for root feature * refactor(test): moq & input scanner * refactor: ui factory * chore(workflow): submodule recursive checkout & secret - Removed Jenny generation for Entitas * fix: Scellecs.Morpeh.Extended.csproj depended on MG - Removed local paths * chore(.net): targeting 8.0, 7.0, 6.0 * chore(workflow): .net version specified * chore: deleted dotnet-tools.json from game project * chore: targeting net6.0 * chore: targeting net8.0 * chore: added badge * chore(workflow): spacing in yml * fix(workflow): framework targeting & etc * refactor: targeting only 8.0 * refactor: game infra & debug ui * refactor: game entry class - Cleaned-up warnings on build * refactor: components & debug structure - ignore dirty submodule * refactor: updated imgui.net
- Loading branch information
Showing
141 changed files
with
2,038 additions
and
4,501 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule "src/Libs/External/MonoGame.ImGuiNet"] | ||
path = src/Libs/External/MonoGame.ImGuiNet | ||
url = [email protected]:Mezo-hx/MonoGame.ImGuiNet.git | ||
ignore = dirty |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.0", | ||
"rollForward": "latestMajor", | ||
"allowPrerelease": true | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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
29 changes: 9 additions & 20 deletions
29
src/Apps/GameDesktop/CompositionRoots/DebugFeatures/DebugRootFeatureCompositionRoot.cs
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,36 +1,25 @@ | ||
using System; | ||
using Entitas; | ||
using Features.Debugging; | ||
using GameDesktop.Resources.Internal; | ||
// using Features.Debugging; | ||
using LightInject; | ||
using Serilog; | ||
using Systems.Debugging; | ||
using MonoGame.ImGuiNet; | ||
|
||
namespace GameDesktop.CompositionRoots.DebugFeatures; | ||
|
||
internal class DebugRootFeatureCompositionRoot : ICompositionRoot | ||
{ | ||
private static readonly IMatcher<GameEntity>[] Matchers = { GameMatcher.RectangleCollision, GameMatcher.Transform }; | ||
|
||
public void Compose(IServiceRegistry serviceRegistry) | ||
{ | ||
RegisterSystems(serviceRegistry); | ||
RegisterFeature(serviceRegistry); | ||
// RegisterFeature(serviceRegistry); | ||
} | ||
|
||
private static void RegisterSystems(IServiceRegistry serviceRegistry) | ||
{ | ||
serviceRegistry.RegisterSingleton(factory => | ||
{ | ||
var getGroup = | ||
factory.GetInstance<Func<IMatcher<GameEntity>[], IGroup<GameEntity>>>(Matcher.AllOf); | ||
IGroup<GameEntity> group = getGroup(Matchers); | ||
|
||
return new DrawRectangleCollisionComponentsSystem(factory.GetInstance<Contexts>(), group, | ||
factory.GetInstance<ILogger>()); | ||
}); | ||
// serviceRegistry.RegisterSingleton(factory => | ||
// { | ||
// return new DrawRectangleCollisionComponentsSystem(factory.GetInstance<ILogger>()); | ||
// }); | ||
} | ||
|
||
private static void RegisterFeature(IServiceRegistry serviceRegistry) => | ||
serviceRegistry.RegisterSingleton<DebugRootFeature>(); | ||
// private static void RegisterFeature(IServiceRegistry serviceRegistry) => | ||
// serviceRegistry.RegisterSingleton<DebugRootFeature>(); | ||
} |
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
Oops, something went wrong.