Photon
A downloadable tool for Windows and macOS
Particle Editor for LÖVE.
Simple visual editor to setup particle system for your project.
Help
1. You can export particle system as single file with "pht.png" extension.
Before use you need to decode this file.
Function "decode" returns ready to use particle system.
local function decode(path)
local file = love.filesystem.newFile(path, 'r')
local all = file:read()
file:close()
local indcode, _ = all:find('--lua')
local cd = all:sub(indcode, #all)
local indimg, _ = all:find('PNG', 8)
local chars = all:sub(indimg-1, indcode-1)
local result = {}
for i=1, #chars do
result[#result+1] = tostring(string.byte(chars:sub(i, i)))
end
return load(cd)(result)
end
local particleSystem = decode('example.pht.png')
2. Drag&Drop image and it automatically attached to the current system.
3. Read more about Photon in GitHub.
Credits
Design/Code: Aliaksandr Veledzimovich
Status | Released |
Category | Tool |
Platforms | Windows, macOS |
Author | schwarzbox |
Made with | LÖVE |
Tags | Creative, LÖVE, Visualization |
Code license | MIT License |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse |
Links | Patreon |
Download
Click download now to get access to the following files:
Development log
- New formsJun 04, 2020
- Windows executablesMay 31, 2020
Comments
Log in with itch.io to leave a comment.
Photon 1.5 available.
Fix some bugs and and new default shapes.
Hello !
I got this error on loading (tested on El Capitan and Mojave)
Thank you very much. I found a bug in the build system.
It fixed. Hope that it enough.
I update bundle.
I am sorry for inconvinience.
Hello !
Well, I downloaded the new version (1.4) and gave it a try but i still have the same message
I spend more time to understand problem. App use nuklear.so library which compile for specific system.
Now I rebuild bundle and it works on my systems.
I use 10.12 (Sierra) and 10.15.4 (Catalina)
If you have experience with love2d you can try to build app, but you it not easy way.
https://github.com/schwarzbox/Photon
Thank you !! It now seems to be working well. Have to learn how to use it now :)
Thank you for your comments and tests.
Some tips.
1. Press "New"
2. If you need more maximum particles increase Buffer and press "Reset".
3. Use Emit to produce some particles (Emit < Buffer)
4. Set Emission Rate to automatically produce particles (Emission Rate < Buffer)
5. Maybe you like Spread. Try to set 6.28.