Gamem 1.3.0
See the version list below for details.
dotnet add package Gamem --version 1.3.0
NuGet\Install-Package Gamem -Version 1.3.0
<PackageReference Include="Gamem" Version="1.3.0" />
<PackageVersion Include="Gamem" Version="1.3.0" />
<PackageReference Include="Gamem" />
paket add Gamem --version 1.3.0
#r "nuget: Gamem, 1.3.0"
#:package Gamem@1.3.0
#addin nuget:?package=Gamem&version=1.3.0
#tool nuget:?package=Gamem&version=1.3.0
Gamem
🎮 Gamem is a C# library of Physics and Math helpers, created for you to type code in one line instead of huge formulas. It works everywhere! From Console to Unity, Godot and MonoGame! 👾
🌟 Features
- MathGamem:
RandomRange,SmoothStep,Lerp,InverseLerp,SmoothDampand more. - Physics:
ApplyGravity,ApplyFriction,AddForce,AddImpulse,ClampVelocity,Bounceand more. - Geometry:
Reflect,ToRadians,ToDegrees,GetDistance,CheckCircleVsCircle,CheckAABBVsAABBand more
🛍️ Installation
Type this command:
dotnet add package Gamem
⚙️ How to use
To use Gamem methods type this:
using Gamem;
🚀 Write code much faster
Without Gamem:
float min = 2.5f;
float max = 7.5f;
float speed = Random.Shared.NextDouble() * (max - min) + min;
With Gamem (1 line of code only):
float speed = MathGamem.RandomRange(2.5f, 7.5f);
✨ Why Gamem?
- 🍃 Zero Dependencies - C# only. Doesn't use other heavy libraries
- 🎮 Engine doesn't matter - You can use it everywhere. Unity, Godot, MonoGame, Console or custom Engines
- ⚡ Good performance - Optimized methods
❤️ Contributing
- ⭐ Liked the project? Leave a star for this repo, it motivates me to develop this project!
- 🗨️ Have any ideas or found a bug? Open an issue or send Pull Request!
⚖️ License
Gamem is licensed under the MIT license
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Gamem:
| Package | Downloads |
|---|---|
|
Gamem.Godot
Gamem extension for Godot (supports vectors) |
|
|
Gamem.MonoGame
Gamem extension for MonoGame (supports vectors) |
GitHub repositories
This package is not used by any popular GitHub repositories.
1.3.0 is out!
Check the full changelog on GitHub!
https://github.com/nicky-suss/Gamem/releases