makeLÖVE - LÖVE2D project generator

Showcase your libraries, tools and other projects that help your fellow love users.
davisdude
Party member
Posts: 1154
Joined: Sun Apr 28, 2013 3:29 am
Location: North Carolina

Re: makeLÖVE - LÖVE2D project generator

Post by davisdude »

Just an update: added a GitHut for the Windows version. Fork it for the other versions if you want it included.
https://github.com/davisdude/MakeLOVE/b ... keLOVE.bat
Also added capability of automatically switching based on location of LÖVE.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

just an update. but ive started work on a generator for LÖVE2D projects. im going to try and work out a copy/paste for library files as well, so people can have the files already etc.
will see...
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

so im actually near done with this makeLÖVE generator, built with love.
the one problem is the saving of files. as ive seen, you can only really write files to the library/application support/LÖVE [mac] folder, which is a bit annoying.

so there is no way around this?
im guessing it will just have to be in actual lua. but wanted to use makeLÖVE with LÖVE. guess to show what LÖVE can do

any ideas, pass them along. cheers
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: makeLÖVE - LÖVE2D project generator

Post by Karai17 »

Use luas io module instead of loves fs module
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

aye, thats what im currently looking at now. its simple stuff. but just getting the saving is the main thing. lucky i bought the PiL book for these kind of measures, im still learning lua. though really, everyone is still learning new things no matter how long theyve been programming ;)

so ill do the main 'look with LÖVE and use lua for the rest ;)

i was doing a keypressed actions. so press 1 for main, press 2 for conf and so on. im also going to be looking at libraries and adding them. but people would have to have a centralised place they keep libraries so it can read the folder of add-ons/libraries

*edit*
i did get the files to write with just LÖVE, but as you said, the lua side would be best for this. but LÖVE did write, but only sadly in the library/etc/blahblah folder
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: makeLÖVE - LÖVE2D project generator

Post by Karai17 »

You could store a copy of the project in the save Dir and use is.execute to copy and past the project, edit conf file, etc. That would let people customize their projects
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

true. ill just try the simple option for now. which is:
• have copy of empty makeLÖVE files, which are main.lua & conf.lua
• save window pop up to where you can save them and what name.

later on, ill more than likely add more. but just get the first working one out firse that works much like what has been made already with the shell script
but ill have a look see and see what turns up.

*edit add*
i didnt know about is.execute
is that lua or LÖVE?
either way ill still look
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

aye its all coming together really nicely.
ill be working on it for a little bit more, but need to get some rest and will finish tomorrow and post it up. im just outlining the best method for people for saving. so i got it 'out' of the library LÖVE folder, so now just working on the 'where' selection save point
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
User avatar
Karai17
Party member
Posts: 930
Joined: Sun Sep 02, 2012 10:46 pm

Re: makeLÖVE - LÖVE2D project generator

Post by Karai17 »

Either let them type in a location, or auto save it to their home folder
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+

Dev Blog | GitHub | excessive ❤ moé
User avatar
smoking bunny
Citizen
Posts: 67
Joined: Wed May 07, 2014 9:04 am
Contact:

Re: makeLÖVE - LÖVE2D project generator

Post by smoking bunny »

im going for the save to desktop, [or wherever] option just now, more for testing and getting it done [for now], then see if i can find a 'text input' thing for LÖVE so people could just type in makeLÖVE to where they save. then just click save ;)

but should be done by tomorrow after some well needed sleep ;)
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Post Reply

Who is online

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