I've read the wiki and searched online but I can't figure out how to run my love2d stuff. Could somebody give me a step by step tut or something? When I run love2d.exe, all I get is a spinning thing with stars.
Thanks if you can!
Head throbbing issue.
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Head throbbing issue.
Have you already read Getting Started on the wiki?
When I write def I mean function.
Re: Head throbbing issue.
Yes, is it saying that I can only run it through the console?
Also, how do I prepare my files? Do I zip them like it says. It doesn't make any sense to me.
Also, how do I prepare my files? Do I zip them like it says. It doesn't make any sense to me.
Re: Head throbbing issue.
You can run it through the console, or by dragging and dropping a folder or .love file onto love.exe. And a .love file is just a renamed zip file, like you say.Havemeat wrote:Yes, is it saying that I can only run it through the console?
Also, how do I prepare my files? Do I zip them like it says. It doesn't make any sense to me.
Re: Head throbbing issue.
Ok, I'll try it in a bit, thanks
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Head throbbing issue.
You can drag two kinds of things over love.exeHavemeat wrote:Yes, is it saying that I can only run it through the console?
- Any correctly-built .love file
- Any regular folder with a main.lua file inside it
If you have installed LÖVE using the installer, then probably double-clicking on a .love file will also launch it using LÖVE.
The console is the preferred and recommended method to use while you are developing a game. Drag-and-dropping gets very tiresome, and double-clicking only works on .love files, not on folders. With the console, if your main.lua file is inside c:\mygame, you just have to do:
Code: Select all
cd c:\mygame
love .
You have to select all the fields and compress them using winzip (or other zip compressor). Then just change the extension to .love . You just have to be careful not to simply zip the "parent folder" (c:\mygame). That will not work. Instead, you have to go inside c:\mygame, select all the files and subfolders there, and compress them (probably with the right-click menu)Havemeat wrote:Also, how do I prepare my files? Do I zip them like it says. It doesn't make any sense to me.
If you are developing a new game, you don't need to create a .love file every time you make a change, you can execute love directly on the folder with the files (see above).
When I write def I mean function.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 5 guests