packages/library/DC_Hackathon
d

DC_Hackathon

v51a0486library

No description provided.

0 stars0 forksUnknownupdated 11 months ago
Open repo

2D Physics Sandbox (Odin + Raylib)

This project is a simple 2D physics engine demo written in Odin using Raylib for rendering. It demonstrates basic physics interactions between circles and rectangles, including gravity, collision detection, and momentum transfer.

Features

  • Circle-circle, rect-rect, and circle-rect collision detection and response
  • Gravity and boundary checks
  • Mouse dragging for both circles and rectangles (bonus feature)
  • Momentum and friction

Requirements

How to Run

  1. Clone this repository (or copy the files to your machine).
  2. Build the project:
    odin run hello.odin
  3. Controls:
    • Left Mouse Button: Click and drag circles or rectangles.
    • Objects will bounce and interact with each other and the window boundaries.

File Structure

DC_Hackathon/
├── hello.odin      # Main source code

License

This project is for educational/demo

Package Info
Version
v51a0486
License
Unknown
Author
@divyesh-singh-gehlot
Type
library
Forks
0
Created
11 months ago
Updated
11 months ago
Health
maintained
has releases
has readme
has license
Activity
last 56 weeks