hello all,
just wanted to share this latest creation i have made to simplify the creation of new LÖVE2D projects.
this uses the ultra cool alfred, with powerpack. so this is just for mac users, sorry.
all you do, is choose a folder to save to in the finder window, call up alfred, type in 'makelove' then give your project a name. and hey-presto, it create a brand new named project, with pre-programmed main.lua and conf.lua files, plus some blank folders for item storage.
here is a quick screencast to show exactly how it work
https://vimeo.com/96413339
but im going to build on this a little further as well. see how it goes
have phün
makeLÖVE - LÖVE2D project generator
- smoking bunny
- Citizen
- Posts: 67
- Joined: Wed May 07, 2014 9:04 am
- Contact:
makeLÖVE - LÖVE2D project generator
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Re: makeLÖVE - LÖVE2D project generator
This is actually pretty neat! Any thoughts on a Windows or Linux version in the future?
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
- smoking bunny
- Citizen
- Posts: 67
- Joined: Wed May 07, 2014 9:04 am
- Contact:
Re: makeLÖVE - LÖVE2D project generator
cheers, it was a bitch to figure out at first. but then came away for a minute can then came up with the most basic, but straight forward way, which works. which is always handy
ill have a look. problem with alfred, is that its just mac only. i do know of other quick launchers, also free ones that are multiplatform, but they are crap in comparison in my experience. but i will look at making something for all platforms. why not
ill see which ones people prefer and if they can execute shell scripts from within
ill have a look. problem with alfred, is that its just mac only. i do know of other quick launchers, also free ones that are multiplatform, but they are crap in comparison in my experience. but i will look at making something for all platforms. why not
ill see which ones people prefer and if they can execute shell scripts from within
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
- CrackedP0t
- Citizen
- Posts: 69
- Joined: Wed May 07, 2014 4:01 am
- Contact:
Re: makeLÖVE - LÖVE2D project generator
After seeing this thread, I decided to make a shell script to do the same thing on Linux, which I use.
I just copied the stuff I saw in your video -- it's exactly identical.
To use, from a terminal:
I just copied the stuff I saw in your video -- it's exactly identical.
To use, from a terminal:
Code: Select all
./makelove newproject
- Attachments
-
- makelove.txt
- Rename it to makelove.sh or just makelove and run it from the terminal
- (3.49 KiB) Downloaded 199 times
Last edited by CrackedP0t on Sun May 25, 2014 9:54 pm, edited 1 time in total.
/人 ◕‿‿◕ 人\
Here, have an umlaut. Ö
Here, have an umlaut. Ö
- smoking bunny
- Citizen
- Posts: 67
- Joined: Wed May 07, 2014 9:04 am
- Contact:
Re: makeLÖVE - LÖVE2D project generator
aye, that cool. i think you can unzip my file and take the code, which is just a shell script.
thanks for sharing. i was thinking of doing that, but got caught doing other things
thanks for sharing. i was thinking of doing that, but got caught doing other things
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Re: makeLÖVE - LÖVE2D project generator
Mine's a bit less user-friendly, but it's for Windows, so you'll just have to deal with it.
Usage:
1. Run makelove.bat
2. Enter the desired name of your project next to the prompt that says, "Project Name." This will be the name that is at the top of the window when you run the game.
3. Actually READ the instructions:
3.1. You can use "~" to step back a level. It defaults at the directory of the folder the .bat file is placed inside.
3.2. The ~'s must be at the start.
3.3. If you escape more times than there are \s, you lose.
3.4. Type in the name of the folder.
4. Indicate whether you're happy or not with the file directory. n if not, anything else if you're okay with it.
4.1. If "n", See step 3
4.2. If "y" (or anything else for that matter, except "n" then you're done! Double-click the play.bat to test out the file!
Please not that I did NOT include any libraries, for the sake of flexibility for all users. I tried to document it, though, so read the comments (:: lines). At the very bottom there is instructions for how to add new files.
See GitHub
https://github.com/davisdude/MakeLOVE/b ... keLOVE.bat
Usage:
1. Run makelove.bat
2. Enter the desired name of your project next to the prompt that says, "Project Name." This will be the name that is at the top of the window when you run the game.
3. Actually READ the instructions:
3.1. You can use "~" to step back a level. It defaults at the directory of the folder the .bat file is placed inside.
3.2. The ~'s must be at the start.
3.3. If you escape more times than there are \s, you lose.
3.4. Type in the name of the folder.
4. Indicate whether you're happy or not with the file directory. n if not, anything else if you're okay with it.
4.1. If "n", See step 3
4.2. If "y" (or anything else for that matter, except "n" then you're done! Double-click the play.bat to test out the file!
Please not that I did NOT include any libraries, for the sake of flexibility for all users. I tried to document it, though, so read the comments (:: lines). At the very bottom there is instructions for how to add new files.
See GitHub
https://github.com/davisdude/MakeLOVE/b ... keLOVE.bat
Last edited by davisdude on Mon May 26, 2014 2:33 pm, edited 1 time in total.
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
Re: makeLÖVE - LÖVE2D project generator
I wonder if there would be a way to write a love app that generates a love file ;D
Alternatively, a Sublime plugin?
Alternatively, a Sublime plugin?
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
- smoking bunny
- Citizen
- Posts: 67
- Joined: Wed May 07, 2014 9:04 am
- Contact:
Re: makeLÖVE - LÖVE2D project generator
i was just looking at the LÖVE for makeLÖVE
also sublime, since its awesome
did think that you could simply have the files already embedded in the LOVE application, then once started it pops up with 'where to save & name'
that was where i was thinking to go
also sublime, since its awesome
did think that you could simply have the files already embedded in the LOVE application, then once started it pops up with 'where to save & name'
that was where i was thinking to go
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Re: makeLÖVE - LÖVE2D project generator
Yeah, embed a project in the love file and use io.open to break out of love's sandbox to access the filesystem directly. Use a recursive function to dig through the project and pull out files, etc.
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
- smoking bunny
- Citizen
- Posts: 67
- Joined: Wed May 07, 2014 9:04 am
- Contact:
Re: makeLÖVE - LÖVE2D project generator
im thinking of making something like openFrameworks' projectGenerator. which is super awesome, you can add libraries/add-ons when making the file.
so that what im looking for in the end
so that what im looking for in the end
lewis lepton
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
------
composer | sound designer | tinkerer
smoking bunny | bandcamp | twitter | gitHub | vimeo
Who is online
Users browsing this forum: Google [Bot] and 2 guests