A downloadable tool for Windows and macOS

Download NowName your own price

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

StatusReleased
CategoryTool
PlatformsWindows, macOS
Authorschwarzbox
Made withLÖVE
TagsCreative, LÖVE, Visualization
Code licenseMIT License
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse
LinksPatreon

Download

Download NowName your own price

Click download now to get access to the following files:

[MacOS-x86]Photon 6.6 MB
[Windows-32]Photon 3.9 MB
[Windows-64]Photon 4.4 MB

Development log

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)


(1 edit)

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

Deleted 4 years ago
Deleted 4 years ago
(1 edit)

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.