Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Whitebrim/Game-of-life-love2d-playdate
Implementing Game of Life using love2d for practice for playdate
https://github.com/Whitebrim/Game-of-life-love2d-playdate
love2d playdate
Last synced: about 1 month ago
JSON representation
Implementing Game of Life using love2d for practice for playdate
- Host: GitHub
- URL: https://github.com/Whitebrim/Game-of-life-love2d-playdate
- Owner: Whitebrim
- License: unlicense
- Archived: true
- Created: 2021-06-19T21:00:44.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-27T17:22:01.000Z (over 3 years ago)
- Last Synced: 2024-08-01T23:30:56.574Z (5 months ago)
- Topics: love2d, playdate
- Language: Lua
- Homepage:
- Size: 2.67 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-playdate - Game of Life - An implementation of Conway's Game of Life meant to provide a template for games to be built in Love2d and ported to Playdate. (Open Source Playdate Games & Example Code / Fonts)
README
# Game of Life
Controls:
* **N** - new world
* **S** - next step
* **P** - switch autoplay
* **D** - switch playdate view
* **1-5** - scale (if not in playdate view)
* **A** - switch screen clear after each frame![Preview](preview.png)
# [playdate-emulation](https://github.com/cadin/love-playdate-emulation)
A basic template for previewing games built with [LÖVE](https://love2d.org) in a [Playdate](https://play.date)-like environment.
This template creates an environment for running LÖVE games in a way that resembles how they might appear on the upcoming Playdate console. It creates a [Canvas](https://love2d.org/wiki/Canvas) on which to build your game, already set up as a 400x240 1-bit aliased grayscale environment. The Canvas runs a shader that converts all images to grey-on-grey. This way you can prepare black and white images for an actual Playdate game, and have them display here similar to how they might appear on device.
When running your game, choose to view it as a 1x or 2x Playdate-sized screen, or in context of the console itself.
⚠️ **This is an unofficial project, for experimentation only.**
This is not an actual Playdate emulator or simulator. I have no access to the actual Playdate SDK. Games made with this template will **not** run on the device when it's released.## Getting Started
### Requirements
1. [LÖVE](https://love2d.org)### Setup
Clone this repo, and start building your game in the `game.lua` file.This file has `loadGame`, `updateGame`, and `drawGame` functions that corresond to LÖVE's `load`, `update`, and `draw`.
### Usage
Your game should be built in the `game.lua` file. `main.lua` handles the basic setup and wraps your game in the simulated Playdate environment. `playdate-env.lua` contains the code for emulating the Playdate screen.When running your game, press `1` or `2` to toggle between 1x and 2x screen display.
Press `d` to toggle the device image.## License
This project is licensed under the Unlicense - see the [LICENSE](LICENSE) file for details.All Playdate imagery and trademarks are property of [Panic, Inc](https://panic.com). No copyright intended 😬.