Dealing with math in gamedev can be a hard task for beginners, so this library provides some code to make your life easier with strong focus on gamedev. Some tools for collision detection (but not physics) are provided too. The library is not strictly about math, so some helpfull 2d gamedev relevant abstractions (like chains) are included too. Key features:
* Easy dealing with ranges, intervals
* Timers and callbacks
* Chains (for making chains of enemies, snakes, centipedes etc.)
* Some collision detection relevant stuff like SAT, Sweep and Prune, QuadTree-management, AABB computations, OBB computations, Point rotations, Braking convex polys in concav subpolies etc.

Project Activity

See All Activity >

License

Public Domain

Follow math4gd2d

math4gd2d Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of math4gd2d!

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Game Development Frameworks

Registered

2012-07-27