a Playdate particle system
- Lua 100%
|
PossiblyAxolotl
b66fb22d71
Merge pull request 'Added comments for LuaCATS syntax highlighting' ( #13 ) from Franchovy/pdParticles:main into main
Reviewed-on: #13 Reviewed-by: PossiblyAxolotl <possiblyaxolotl@noreply.codeberg.org> |
||
|---|---|---|
| .github | Create FUNDING.yml | |
| Examples | added avoider example | |
| LICENSE | Modify license | |
| pdParticles.lua | Added overload for metatable __call operator to handle initialization calls correctly | |
| README.md | Remove unnecessary begging for money, add note of future 2.0.0 update | |
pdParticles
Lua Version Toybox Compatible Latest Version
pdParticles is a free Playdate particle library created by PossiblyAxolotl. I am planning on completely rewriting this soon, pleaase keep that in mind!
You can use pdParticles to draw circles, basic shapes, and custom sprites.
Check out the wiki to see how to get started and use the library.
Installing using toybox.py
You can add it to your Playdate project by installing toybox.py, going to your project folder in a Terminal window and typing:
toybox add pdParticles
toybox update
Then, if your code is in the source folder, just import the following:
import '../toyboxes/toyboxes.lua'
Manual installation
Download the newest version of pdParticles from this repo.
Add pdParticles.lua to the same directory as your main.lua file.
In your main.lua file add:
import "CoreLibs/graphics"
import "coreLibs/object"
import "pdParticles"