Skip to content

JetBox2D contains both a lightweight 2D engine for creating C# games, based on the Monogame framework, and a game sample called JetBoxer that showcases its usage.

License

Notifications You must be signed in to change notification settings

Rossakis/JetBoxer2D

Repository files navigation

JetBoxer2D

JetBox2D contains both a lightweight 2D engine for creating C# games, based on the Monogame framework (https://github.com/MonoGame/MonoGame), and a game sample called JetBoxer that showcases its usage.

The JetBox2D engine contains the following:

  • Dynamic Input System that supports concurrent input from both gamepad, keyboard, and mouse, via a single InputManager with methods such as GetButtonDown(InputAction). Each InputAction (e.g. ShootRight) is created in such a way that you can map to it Gamepad-Right Trigger, Gamepad-A Button, Keyboard-Space Key, and Mouse-Right Click at the same time, meaning that any one of those input types will trigger the ShootRight InputAction.

  • Animation System, which can turn a single sprite sheet into loopable (or not) animation, with adjustable speed, size, and methods to retrieve useful information about the current animation, such as its NormalizedTime and whether it ended.

  • Particle System, which you can use to create custom game effects such as explosions or fire trails.

  • Physics Colliders, for detecting the collisions between the game objects in the game.

  • Objects and States, which are necessary for creating the game's underlying systems (e.g. transition from SplashState to GameplayState).

  • Custom Extensions, which can be used to ease the development hassle during the production of the game engine. For example, a wrapper class for Monogame's mouse input, called MouseInput, is used by the Input System to help in mouse input handling.

JetBox2D.-.Showcase.mp4

SAST Tools

PVS-Studio - static analyzer for C, C++, C#, and Java code.

About

JetBox2D contains both a lightweight 2D engine for creating C# games, based on the Monogame framework, and a game sample called JetBoxer that showcases its usage.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages