Open source new-gen engine for calculator apps & games. Made by Thibyx.
The current codebase is the headless C# data model the rest of the engine (editor UI, 2D/3D
renderers, input runtime, scripting VM, per-calculator export) will build on: the
GameObject/Component hierarchy and the extensible Asset framework, with the five asset
types from the project brief (Sprite, Scene, Prefab, C# Script, Action Mapping).
src/
PocketAxes.Core/ GameObject, Component, built-in components, Scene, math converters
PocketAxes.Assets/ Asset base class, AssetTypeAttribute/Registry, polymorphic JSON converter
PocketAxes.Assets.BuiltIn/ The 5 concrete asset types + JSON composition root
tests/
PocketAxes.Core.Tests/
PocketAxes.Assets.Tests/
PocketAxes.Assets.BuiltIn.Tests/
PocketAxes.Core and PocketAxes.Assets have zero project references between them — this
is deliberate and load-bearing. PocketAxesSceneAsset/PocketAxesPrefabAsset need GameObject
(from Core), while Core's SpriteRenderer/ScriptBehaviour need to reference assets; this is
resolved by a tiny, asset-agnostic AssetReference (just a Guid) living in Core, so Core never
depends on the Asset type itself. Only PocketAxes.Assets.BuiltIn, the outermost layer,
depends on both.
Adding a new component type is just a new class deriving from Component (plus a
[ComponentType(...)] attribute for JSON polymorphism). Adding a new asset type is just a new
class deriving from Asset plus an [AssetType(...)] attribute — no central switch statement
anywhere needs to change. PocketAxes.Assets.Tests proves this for assets directly: it doesn't
even reference PocketAxes.Assets.BuiltIn.
dotnet build
dotnet testTargets .NET 10. Requires no NuGet packages beyond xUnit in the test projects — the engine's data model itself has zero external dependencies.