Results 1 to 2 of 2

Thread: LÖVE2D having issues running code/packaging

  1. #1
    Join Date
    Aug 2012
    Location
    Ireland
    Beans
    28
    Distro
    Ubuntu

    LÖVE2D having issues running code/packaging

    Hi,

    I'm keen to get into the Love:
    http://love2d.org/

    But I'm having issues with launching/running code - I'm just not feeling the 'love'

    I've followed the tuts here and there online, but I'm unable to launch a home-made program.

    I'm using ubuntu 13.04 and installed Love through the Software Centre (so I haven't done anything weird) - if I launch 'Love' through the menu (unity) the piggy with hearts appears in a window. If I run the supplied 'examples' with the love extension i.e. "examples.love", they launch and work fine.

    But if I create my own "Hello World" I always get the same error:

    boot.lua:335: No code to run
    Your game might be packaged wrong
    .... etc.

    Now I know all noobs probably get the same issue because they package the external folder when they shouldn't - in this case I haven't, 'main.lua' is in the root of the archive and should run, but it doesn't.

    I've tried two methods to run, one, by double clicking on the file, up pops the error above in a nice blue window.
    I've also tried launching from the Terminal in the directory i.e. 'love myapp.love', but the same error.

    Any ideas what to do guys?

  2. #2
    Join Date
    Aug 2012
    Location
    Ireland
    Beans
    28
    Distro
    Ubuntu

    Re: LÖVE2D having issues running code/packaging

    Solved, it was a stupid typo .lau, when it should have been .lua - anyho

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •