A classic Snake game with a retro twist, built using Love2D
This project is developed for Love2D 11.5. Make sure you have it installed.
Download Love2D from the official website: love2d.org
-
Download or Clone the Project:
git clone https://github.com/mersaadh/LOVE2d-Retro-Snake-Game.git cd LOVE2d-Retro-Snake-Game -
Run with Love2D: Open the Love2D application and drag and drop the project folder onto it.
-
(Optional) Using VS Code:
Install the Love2D extension. Open the project in VS Code. Press
Alt + Lto launch the game directly from the editor.
-
To create an
.exefor the game:Refer to the Love2D Build Documentation for detailed instructions.
- Download and install
Tiled Map Editorfrom mapeditor.org
- Open Tiled and create a new map with your desired dimensions.
- Use Tile Layers to design the visual aspects of your map.
- Create a new
Object Layerfor collisions. - Enable Snap to Grid from the menu:
- Go to View > Snapping > Snap to Grid.
- Use the grid to add collision boxes to each cell of the map that should act as a wall.
After completing your map, you can start the game with your custom map by using its unique ID.
Happy map-making! :)
All source code hosted on this repository is licensed under the MIT license. See the LICENSE file for more details.