Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meenbeese/love2d-demo

Basic demonstration of a Love2D game built with Lua
https://github.com/meenbeese/love2d-demo

2d-game game love2d lua

Last synced: about 21 hours ago
JSON representation

Basic demonstration of a Love2D game built with Lua

Awesome Lists containing this project

README

        

# Love2D Demo

This is a Love2D simulation where a ball bounces inside a spinning hexagon. The ball is affected by gravity and friction, and it interacts realistically with the rotating walls.

## Demo

https://github.com/user-attachments/assets/7b9d9fd8-f83a-43df-8065-a5a98e62c6c3

## Features
- Physics-based ball movement with gravity and friction.
- A hexagon that rotates at a constant speed.
- Realistic collision handling with moving walls.
- Implemented using Love2D and Lua.

## Requirements
- [Love2D](https://love2d.org/) (0.10+ recommended)

## Installation and Running
1. Install Love2D from [love2d.org](https://love2d.org/).
2. Clone or download this repository.
```sh
git clone https://github.com/meenbeese/Love2D-Demo.git
cd Love2D-Demo
```
3. Run the project using Love2D:
```sh
love .
```

## Controls
- **Escape** - Exit the program

## Customization
You can modify parameters like gravity, friction, and hexagon rotation speed in `main.lua`.

## License
This project is released under the MIT License.