Difference between revisions of "Getting Started with PÄSSION"

m (Link to GitHub wiki installation)
m (Linkification)
 
Line 1: Line 1:
This page intends to help friendly souls with exact instructions on how to get the LÖVE library PÄSSION started without having to dwell through its source code.
+
This page intends to help friendly souls with exact instructions on how to get the [[LÖVE]] [[library]] PÄSSION started without having to dwell through its source code.
  
 
== Downloading and Installing PÄSSION ==
 
== Downloading and Installing PÄSSION ==
The latest version of PÄSSION can be found at [http://github.com/kikito/passion GitHub]. You find the download button in the upper right. For more information on downloading PÄSSION, see [http://wiki.github.com/kikito/passion/installation the GitHub Wiki Instructions]
+
The latest version of [[PÄSSION]] can be found at [http://github.com/kikito/passion GitHub]. You find the download button in the upper right. For more information on downloading PÄSSION, see [http://wiki.github.com/kikito/passion/installation the GitHub Wiki Instructions]
  
The files should be unpacked to a subdirectory of your game called "passion". Make sure that you do not get two levels of directories such as "passion/kikito-passion-0ae4fdc/...". Other directory names will not work.
+
The files should be unpacked to a subdirectory of your [[game]] called "passion". Make sure that you do not get two levels of directories such as "passion/kikito-passion-0ae4fdc/...". Other directory names will not work.
  
 
When unextracting the files, you may be asked whether to overwrite "timer.lua" with "Timer.lua" or vice versa. These are two distinct files so answer "no".
 
When unextracting the files, you may be asked whether to overwrite "timer.lua" with "Timer.lua" or vice versa. These are two distinct files so answer "no".

Latest revision as of 09:10, 15 September 2010

This page intends to help friendly souls with exact instructions on how to get the LÖVE library PÄSSION started without having to dwell through its source code.

Downloading and Installing PÄSSION

The latest version of PÄSSION can be found at GitHub. You find the download button in the upper right. For more information on downloading PÄSSION, see the GitHub Wiki Instructions

The files should be unpacked to a subdirectory of your game called "passion". Make sure that you do not get two levels of directories such as "passion/kikito-passion-0ae4fdc/...". Other directory names will not work.

When unextracting the files, you may be asked whether to overwrite "timer.lua" with "Timer.lua" or vice versa. These are two distinct files so answer "no".

Initializing PÄSSION

To get PÄSSION running,

1. Include PÄSSION into your project with

require("passion/init.lua")

.

PÄSSION can now be accessed through the module "passion".

2. Update your love callbacks to call the corresponding passion callbacks.

function love.draw()
  passion.draw()
end

function love.update(dt)
  passion.update(dt)
end

-- other callbacks your project uses

3. Done!

Now someone should write a small tutorial on creating actors.