Giter Site home page Giter Site logo

love-minor-mode's Introduction

love-minor-mode

This project adds a minor mode for GNU Emacs that adds tools to help developing games using the LÖVE engine. This minor mode works in conjunction with and requires lua-mode.

Features

LÖVE minor mode provides the following features:

Note: All key sequences have the format C-c C-o <key> to avoid conflicts with lua-mode.

Creating New Projects

The command C-c C-o p will help create a new project by creating a conf.lua file in a given directory. The mode will automatically create the love.conf() function the LÖVE engine uses. It will also fill in the name and identity, important attributes that LÖVE uses for things such as determining where to save game data.

Browsing Documentation

Pressing C-c C-o d will open up your browser with LÖVE documentation. Two customizable variables determine what page the command opens:

  1. love-local-documentation-path: A path to a local copy of the LÖVE documentation which is available for download from the LÖVE website.

  2. love-wiki-url: The URL to the official LÖVE wiki.

C-c C-o d will first attempt to open any local documentation if you have it. Failing that, it will browse to the online wiki.

Search the Forums

By pressing C-c C-o f you can search the LÖVE forums for any topics. The variable love-forum-url contains the URL for the forums. You can change it if you want, but you should never need to do so.

Playtesting

Playtest your game-in-progress by pressing M-p. It will launch the LÖVE executable defined in the love-exe variable with the directory of the file you are currently editing. Output will be recorded in the *love-output* buffer for easy inspection.

You can also launch the game from the drop-down menu.

Note that the file you are editing must be in the top level of the game directory for this to work.

Command Menu

The features above are available through a menu by clicking on LÖVE on the mode line.

Reporting Bugs

When reporting bugs for LÖVE minor mode please include the value of love-minor-mode-version-number in your bug report.

Contributors

  1. Peter Vasil
  2. JF

License

GNU General Public License 3

love-minor-mode's People

Contributors

ejmr avatar oofoe avatar ptrv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.