zoukankan      html  css  js  c++  java
  • 第12月第30天 love2d

    1.

    Linux

    On Linux, you can use one of these command lines:

    love /home/path/to/gamedir/
    love /home/path/to/packagedgame.love

    If you installed LÖVE system-wide, you can double click on .love files in your file manager as well.


    Mac OS X

    On Mac OS X, a folder or .love file can be dropped onto the love application bundle. On the Mac Terminal (command line), you can use love like this (assuming it's installed to the Applications directory):

    open -n -a love "~/path/to/mygame"

    However, the above method will not output printed text to the terminal window. To do that, you will need to execute the love binary inside the application bundle directly:

    /Applications/love.app/Contents/MacOS/love ~/path/to/mygame

    You can set up an alias in your Terminal session to call the binary when you use love by adding an alias to your ~/.bash_profile.

    Open the file with

    open -a TextEdit ~/.bash_profile

    You may have to run

    touch ~/.bash_profile

    first if the file does not yet exist.

    Then paste in the following code and save the file:

    # alias to love
    alias love="/Applications/love.app/Contents/MacOS/love"



    http://love2d.org/wiki/Getting_Started
  • 相关阅读:
    迁移
    zendframework 2 链接数据库
    zendframework 2
    merge sort and quick sort 自己去理解吧
    ubuntu git 使用
    resumablejs 分块上传 断点续传
    video.js html5 视频播放器
    swfupload 例子
    php 润年 星期 天数
    ubuntu 安装 axel
  • 原文地址:https://www.cnblogs.com/javastart/p/7614028.html
Copyright © 2011-2022 走看看