Sslaxx Posted February 22, 2009 Report Share Posted February 22, 2009 Website: http://love2d.org/ I'm wondering if anyone else here has had any experience with LÖVE? I've only just started out myself, making the tiniest of baby steps. But what I've played with so far, I like. For those who don't know what it is, it's a tool for building games with. You write all the code in Lua. It can support physics (with Box2D). It's also cross-platform. All the games it creates are stored in ZIP files (given the .love extension); you can create self-executable games by attaching the .love file to the LÖVE executable. Lua is a scripting language, but you can use luac to make bytecode (ala Java) if you want to make it harder for people to use your code. At 0.5.0 it's still fairly new and has a way to go, but it looks promising! Link to comment Share on other sites More sharing options...
Ollie Posted February 22, 2009 Report Share Posted February 22, 2009 Ah, this is actually pretty useful for me, since I'm a lua "coder" for the PSP, in fact my current project my game is coded in Lua. This would be useful for my PC Port of the game, since it would mean optimizations in the PC Port instead of just running it through a bog-standard Lua Player for Windows. Thanks for showing this! Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 I hope it helps then in some way! Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 I don't know how to start making a game. Can someone tell me that? I open up the Love.exe file but what next? Link to comment Share on other sites More sharing options...
Ollie Posted February 22, 2009 Report Share Posted February 22, 2009 ZFG, read here: Getting Started Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 LÖVE has some surprisingly good documentation for an open source project (although it could still do with being improved). http://love2d.org/documentation Might be a good idea to download it and read through it at your leisure, ZFG. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 Thank you Ojdon. Also: ZPG? Haha! EDIT: Drag it? Dragging it into the Exe doesn't seem to work for me. Link to comment Share on other sites More sharing options...
Ollie Posted February 22, 2009 Report Share Posted February 22, 2009 Whoops sorry about that ZFG. Also, are you dragging your Lua folder into the love.exe? I misread the tutorial the first time and thought it meant to drag the .lua file, itself. >.< Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 I'm dragging my Lua file map into the EXE, but it doesn't do anything. Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 If you're creating .love files, make sure it's the contents of the directory (and its sub-directories), not the directory itself. And as has been pointed out by ojdon - drag the folder containing main.lua and game.conf over to the LÖVE icon to run it if you don't want to create a ZIP/.love file. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 I dont' have any Sub-directories, just the main map itself. Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 OK, to be sure... your directory structure should look like this: <directory name> +main.lua +game.conf +anything else You want to drag <directory name> over the LOVE icon to run it. Alternatively, you can zip up the contents of <directory name> - not the directory itself, the difference is important! - and rename it from .zip to .love. Double-clicking on it (or, again, dragging it on to the LOVE executable icon) will run it. http://sslaxx.twu.net/EggTester.love is an example. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 GAH! Still not working. Is this because of Vista? I've tried to ZIP it to a .love file, but still. GAH! Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 What is it (not) doing? Is it giving any errors or is nothing happening? If you can upload a .love file I can take a look and see if there's anything up. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 Nothing! Nothing is happening. The Hourglass is showing up(for Xp users) and then stops and nothing happens. Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 Upload a .love file somewhere and I can take a look at it. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 Here you go: http://www.mediafire.com/?tzuu5ymwhyv Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 Ah ha. You've zipped up the directory. You don't zip up the directory, you zip it's contents up instead. Compare what you've uploaded with http://sslaxx.twu.net/FixedLoveGame.love this version. Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 You know what, Still not working. Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 Have you tried to run the version I've uploaded? What did it do? Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 Abseloutely Nothing. Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 Well, what happens if you try to run LÖVE on its own? Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 This: Link to comment Share on other sites More sharing options...
Sslaxx Posted February 22, 2009 Author Report Share Posted February 22, 2009 Then that works. How're you trying to run the .love files? Double clicking on them or drag and drop? Link to comment Share on other sites More sharing options...
ZFG Posted February 22, 2009 Report Share Posted February 22, 2009 Double click like a normal exe. Link to comment Share on other sites More sharing options...
Recommended Posts