Skip to content
项目

关于

Box2D.NET - a C# port of Box2D, is a 2D physics engine for games, .NET, Unity3D, servers

科学与工程

这些数字如何统计

可以做什么

  • 🌿 Purity - Fully implemented in pure C#.
  • 💻 Compatibility - Ensuring seamless integration with the .NET platform and Unity3D.
  • 🌍 Cross-Platform Support - Easily integrates with all major platforms, including Linux, Windows, macOS
  • Box2D.NET : A C# port of the Box2D physics engine for 2D physics simulations.

实测星标增长

24小时
0
7天
+1
15天
-1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Box2D Logo

Box2D.NET

Box2D.NET is a C# port of the Box2D physics engine.
If you'd like to support the project, we'd appreciate starring(⭐) our repos on Github for more visibility.


GitHub License Languages GitHub repo size GitHub Repo stars GitHub Actions Workflow Status CodeQL Advanced GitHub commit activity GitHub issues GitHub closed issues NuGet Version NuGet Downloads GitHub Sponsors


demo


✨ Features

  • 🌿 Purity - Fully implemented in pure C#.
  • 💻 Compatibility - Ensuring seamless integration with the .NET platform and Unity3D.
  • 🌍 Cross-Platform Support - Easily integrates with all major platforms, including Linux, Windows, macOS

Box2D.NET is divided into multiple modules, each contained in its own folder:

  • Box2D.NET : A C# port of the Box2D physics engine for 2D physics simulations.
  • Box2D.NET.Shared : Shared code and utilities for Box2D.NET, for use in sample projects and by library users.
  • Box2D.NET.Samples : Sample projects to showcase the features of Box2D.NET
  • Box2D.NET.Test : Unit tests for Box2D.NET.

🚀 Getting Started

▶️ Running With Command Prompt

dotnet run --project src/Box2D.NET.Samples --framework net10.0 -c Release

🛠️ Integration

  • There are a few ways to integrate Box2D.NET into your project.
  • Source integration is the most popular and most flexible. Additionally, NuGet installation will also be supported in the future.

📚 Documentation & Links

Box2D.NET Links

Original Box2D Links

You can use the original Box2D documentation as a reference, since the Box2D.NET API closely mirrors the original implementation. If you are new to Box2D, we recommend starting with the original documentation to learn the basics and core concepts.

Key Naming Conventions:

  • Properties and methods: Start with lowercase (matches original Box2D)
  • Classes and structs: Start with Uppercase (differs from original Box2D)

探索相关项目

加载中…