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.
#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 106 5/10/2025
1.0.55-beta 42 5/10/2025
1.0.51-beta 116 5/8/2025
1.0.50-beta 118 5/7/2025
1.0.46-beta 119 5/7/2025
1.0.45-beta 119 5/4/2025
1.0.44-beta 124 4/20/2025
1.0.43-beta 149 4/17/2025
1.0.42-beta 154 4/17/2025
1.0.41-beta 159 4/15/2025
1.0.40-beta 68 3/29/2025
1.0.38-beta 101 3/28/2025
1.0.37-beta 105 3/27/2025
1.0.36-beta 440 3/26/2025
1.0.34-beta 441 3/26/2025
1.0.33-beta 440 3/25/2025
1.0.32-beta 440 3/25/2025
1.0.30-beta 431 3/24/2025
1.0.26-beta 61 2/28/2025
1.0.25-beta 67 2/27/2025
1.0.23-beta 55 1/15/2025
1.0.22-beta 31 1/15/2025
1.0.20-beta 56 1/12/2025
1.0.18-alpha 56 1/12/2025
1.0.16-alpha 65 1/5/2025
1.0.15-alpha 71 12/7/2024
1.0.14-alpha 64 12/7/2024
1.0.13-alpha 65 11/29/2024
1.0.11-alpha 64 11/18/2024
1.0.10-alpha 79 8/9/2024
1.0.9-alpha 76 7/27/2024
1.0.8-alpha 78 7/6/2024
1.0.7-alpha 80 7/1/2024
1.0.6-alpha 78 6/30/2024
1.0.5-alpha 87 6/29/2024
1.0.4-alpha 79 6/28/2024
1.0.3-alpha 73 6/28/2024
1.0.2-alpha 78 6/25/2024
1.0.1-alpha 103 6/25/2024
1.0.0-alpha 80 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.