PixelFX Desinger *NEW VERSION*

Showcase your libraries, tools and other projects that help your fellow love users.
Post Reply
nickelodeon0077
Prole
Posts: 22
Joined: Mon Feb 04, 2019 2:38 pm
Location: Curitiba, PR, Brazil

PixelFX Desinger *NEW VERSION*

Post by nickelodeon0077 »

A PREVIEW OF XML EXPORT!!!for anyone who like the theme, it is: rocket dark syntax on atom
Image

Image

new in 1.1.0
-xml export
-bug correction
-more bugs to correct
-and just!!!

FUTURE UPDATE:
-bug correction
-update of lua i/o and os.execute to loveFilesystem

HOW TO IMPLEMENT:

Code: Select all

yourFX = require("FX")
foo = yourFX()

SOME EXPLAINS:
-THE DONTREMOVE/DEFAULT.PNG IS THE EXPORT IMAGE
-THE INSIDE OF .LOVE DONTREMOVE/DEFAULT.PNG IS THE IMAGE WHAT THE EDITOR WILL SHOW

dont turn into .love, just extract it!!!
any sugestion for the xml or other type of export leave a REPLY!!!

for Download directly:
Attachments
LovePixelFx 110.rar
(3.47 MiB) Downloaded 317 times
LovePixelFx 105.rar
(3.47 MiB) Downloaded 323 times
Last edited by nickelodeon0077 on Wed Feb 13, 2019 1:20 am, edited 18 times in total.
nickelodeon0077
Prole
Posts: 22
Joined: Mon Feb 04, 2019 2:38 pm
Location: Curitiba, PR, Brazil

Re: PixelFX Desinger *NEW VERSION*

Post by nickelodeon0077 »

please someone what use linux can run and press f1 for test
and acces the effects/created folder and see if have 2 archives
janglee
Prole
Posts: 19
Joined: Wed Jun 27, 2018 8:53 am

Re: PixelFX Desinger *NEW VERSION*

Post by janglee »

Sure, I will try it on Linux and leave a reply to post.
nickelodeon0077
Prole
Posts: 22
Joined: Mon Feb 04, 2019 2:38 pm
Location: Curitiba, PR, Brazil

Re: PixelFX Desinger *NEW VERSION*

Post by nickelodeon0077 »

janglee wrote: Wed Feb 06, 2019 8:51 pm Sure, I will try it on Linux and leave a reply to post.
thank you!!! ;)
janglee
Prole
Posts: 19
Joined: Wed Jun 27, 2018 8:53 am

Re: PixelFX Desinger *NEW VERSION*

Post by janglee »

I tried on Linux and got error because file is not created due to wrong path. here is changes i made in fileCreator.lua for Linux.

Code: Select all

osStr = love.system.getOS()
  if osStr == "Windows" then
    os.execute("copy effects\\DontRemove\\default.png effects\\created")
    os.execute("rename effects\\created\\default.png "..tostring(_name)..".png")
  elseif osStr == "Linux" then
    os.execute("mkdir -p effects/created/")
    os.execute("cp effects/DontRemove/default.png effects/created/default.png")
    -- below command not only change the name it also change path to root folder of project
    -- if want to just rename .png file then use 'mv effects/created/default.png effects/created/"..tostring(_name)..".png'
    os.execute("mv effects/created/default.png "..tostring(_name)..".png")
  end

  file_ = io.open("effects/created/"..tostring(_name)..".lua", "w")
  file_:write(a)
  file_:close()
feel free to ping me if there is issue regarding Linux.
nickelodeon0077
Prole
Posts: 22
Joined: Mon Feb 04, 2019 2:38 pm
Location: Curitiba, PR, Brazil

Re: PixelFX Desinger *NEW VERSION*

Post by nickelodeon0077 »

janglee wrote: Thu Feb 07, 2019 5:17 am I tried on Linux and got error because file is not created due to wrong path. here is changes i made in fileCreator.lua for Linux.

Code: Select all

osStr = love.system.getOS()
  if osStr == "Windows" then
    os.execute("copy effects\\DontRemove\\default.png effects\\created")
    os.execute("rename effects\\created\\default.png "..tostring(_name)..".png")
  elseif osStr == "Linux" then
    os.execute("mkdir -p effects/created/")
    os.execute("cp effects/DontRemove/default.png effects/created/default.png")
    -- below command not only change the name it also change path to root folder of project
    -- if want to just rename .png file then use 'mv effects/created/default.png effects/created/"..tostring(_name)..".png'
    os.execute("mv effects/created/default.png "..tostring(_name)..".png")
  end

  file_ = io.open("effects/created/"..tostring(_name)..".lua", "w")
  file_:write(a)
  file_:close()
feel free to ping me if there is issue regarding Linux.
thank you so much i'll go put and upload
i put credits in this part for you :ultraglee:
janglee
Prole
Posts: 19
Joined: Wed Jun 27, 2018 8:53 am

Re: PixelFX Desinger *NEW VERSION*

Post by janglee »

It is so humbleness of you.
But one more thing is that os.execute not able to get archive files. You have to put dontRemove folder inside effects folder in rar file you published. I take look at LOVE.zip.
by the way I am thinking about how i gonna use it for love game jam submission.
Attachments
LOVE.zip
(3.97 MiB) Downloaded 307 times
nickelodeon0077
Prole
Posts: 22
Joined: Mon Feb 04, 2019 2:38 pm
Location: Curitiba, PR, Brazil

Re: PixelFX Desinger *NEW VERSION*

Post by nickelodeon0077 »

janglee wrote: Sun Feb 10, 2019 7:22 pm It is so humbleness of you.
But one more thing is that os.execute not able to get archive files. You have to put dontRemove folder inside effects folder in rar file you published. I take look at LOVE.zip.
by the way I am thinking about how i gonna use it for love game jam submission.
i'll take a look in this
Thank you, for the message i'l correct this
good lucky in the game jam ;)
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests