BoxEngine 1.0.56-beta

This is a prerelease version of BoxEngine.
dotnet add package BoxEngine --version 1.0.56-beta
                    
NuGet\Install-Package BoxEngine -Version 1.0.56-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BoxEngine" Version="1.0.56-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BoxEngine" Version="1.0.56-beta" />
                    
Directory.Packages.props
<PackageReference Include="BoxEngine" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BoxEngine --version 1.0.56-beta
                    
#r "nuget: BoxEngine, 1.0.56-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BoxEngine@1.0.56-beta
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BoxEngine&version=1.0.56-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=BoxEngine&version=1.0.56-beta&prerelease
                    
Install as a Cake Tool

BoxGameEngine

BoxEngine is a simple game engine for building 2D games in .NET.

Features

  • Easy to use
  • High performance
  • Cross-platform
  • Does not require an editor to create entities
  • And much more...

Getting Started

  1. Install the package:

    dotnet add package BoxEngine
    
  2. Usage example:

    using Box;
    
    [STAThread]
    static void StartGame()
    {
        using var game = new Engine(new EngineSettings
        {
            Window = new Vect2(1920, 1080),
            Viewport = new(320, 180),
            Screens = [new BootScreen()],
            UseTextureHalfOffset = true,
            DebugDraw = false,
        });
    
        game.Start();
    }
    
    StartGame();
    

License

MIT

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.56-beta 109 5/10/2025
1.0.55-beta 45 5/10/2025
1.0.51-beta 119 5/8/2025
1.0.50-beta 124 5/7/2025
1.0.46-beta 125 5/7/2025
1.0.45-beta 122 5/4/2025
1.0.44-beta 127 4/20/2025
1.0.43-beta 152 4/17/2025
1.0.42-beta 157 4/17/2025
1.0.41-beta 162 4/15/2025
1.0.40-beta 71 3/29/2025
1.0.38-beta 104 3/28/2025
1.0.37-beta 108 3/27/2025
1.0.36-beta 444 3/26/2025
1.0.34-beta 444 3/26/2025
1.0.33-beta 443 3/25/2025
1.0.32-beta 445 3/25/2025
1.0.30-beta 435 3/24/2025
1.0.26-beta 64 2/28/2025
1.0.25-beta 70 2/27/2025
1.0.23-beta 58 1/15/2025
1.0.22-beta 34 1/15/2025
1.0.20-beta 59 1/12/2025
1.0.18-alpha 59 1/12/2025
1.0.16-alpha 68 1/5/2025
1.0.15-alpha 74 12/7/2024
1.0.14-alpha 67 12/7/2024
1.0.13-alpha 68 11/29/2024
1.0.11-alpha 67 11/18/2024
1.0.10-alpha 81 8/9/2024
1.0.9-alpha 78 7/27/2024
1.0.8-alpha 80 7/6/2024
1.0.7-alpha 82 7/1/2024
1.0.6-alpha 80 6/30/2024
1.0.5-alpha 89 6/29/2024
1.0.4-alpha 81 6/28/2024
1.0.3-alpha 75 6/28/2024
1.0.2-alpha 80 6/25/2024
1.0.1-alpha 108 6/25/2024
1.0.0-alpha 82 6/25/2024 1.0.0-alpha is deprecated because it is no longer maintained.

- This release introduces a flexible and efficient A* pathfinding engine designed for weighted edge graphs. Ideal
for grid, tile-based, or custom spatial maps.

- Features included in this release:
--- Modular graph system with support for custom positions via Vect2
--- Weighted edge connections with optional one-way or bidirectional links
--- Multiple heuristic types: Euclidean, Manhattan, Diagonal
--- Runtime toggling of node and edge activity using SetNodeActive and SetEdgeEnabled
--- Object pooling for internal path, visited, and came-from structures to reduce memory pressure
--- Heuristic result caching for faster repeated path calls
--- Dynamic cost modifier function for custom terrain or condition-aware pathfinding
--- Supports full path reconstruction via PathResult struct (includes path and total cost)
--- Simple wrappers for ID-only and position-based path results (ShortestPath and ShortestPathAsPositions)
--- Optimized for large tilemaps, sparse graphs, or dynamic environments
--- This system is cleanly separated into core components: Vertex, Edge, HeuristicType, PathResult, and AStar, allowing
for easy extension and testing.