BoxEngine 1.0.15-alpha

This is a prerelease version of BoxEngine.
dotnet add package BoxEngine --version 1.0.15-alpha                
NuGet\Install-Package BoxEngine -Version 1.0.15-alpha                
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.15-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BoxEngine --version 1.0.15-alpha                
#r "nuget: BoxEngine, 1.0.15-alpha"                
#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.
// Install BoxEngine as a Cake Addin
#addin nuget:?package=BoxEngine&version=1.0.15-alpha&prerelease

// Install BoxEngine as a Cake Tool
#tool nuget:?package=BoxEngine&version=1.0.15-alpha&prerelease                

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()],
            ChunkSize = 320 * 2,
            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. 
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.15-alpha 46 12/7/2024
1.0.14-alpha 41 12/7/2024
1.0.13-alpha 44 11/29/2024
1.0.11-alpha 44 11/18/2024
1.0.10-alpha 67 8/9/2024
1.0.9-alpha 61 7/27/2024
1.0.8-alpha 66 7/6/2024
1.0.7-alpha 66 7/1/2024
1.0.6-alpha 62 6/30/2024
1.0.5-alpha 75 6/29/2024
1.0.4-alpha 66 6/28/2024
1.0.3-alpha 59 6/28/2024
1.0.2-alpha 66 6/25/2024
1.0.1-alpha 83 6/25/2024
1.0.0-alpha 68 6/25/2024 1.0.0-alpha is deprecated because it is no longer maintained.

- Entity Center Property: Added a new Center property to entities, simplifying access to their central position.
   - Viewport Property for Screens: Introduced a Viewport property in the Screen class, eliminating the need to access the renderer directly for viewport data.
   - Screen Dimensions: Added Width and Height properties to the Screen class, allowing for easier retrieval of the viewport's dimensions.