Lua Player

Lua Player

Infobox Software
name = Lua Player



caption = Lua Player for PSP
developer = Frank Buß, Joachim Bengtsson and "InsertWittyName"
released = ?
frequently_updated = yes
programming language = C++
operating system = PlayStation Portable
language = ?
genre = Programming tools
license = Open source
website = [http://www.luaplayer.org/ LuaPlayer.org]

Lua for the PlayStation Portable is interpreted with Lua Player. Lua Player can run lua scripts and display them on the Sony PSP. The current version is 0.20, however v0.17DK2 and Lua Player Mod, which are unofficial versions are still used by people on v2.00+. Most versions can be downloaded from the [http://luaplayer.org LuaPlayer.org] website.

Programing

The programing language for Lua Player is almost identical to that of Lua programming language.Below is an example of a basic hello world program.

green = Color.new(0, 255, 0) screen:print(200, 130, "Hello World!", green) screen.flip() while true do screen.waitVblankStart() end

Authors

Lua Player is an open source project, and was originally maintained by Frank Buß (Shine) and Joachim Bengtsson (Nevyn), before being passed on to "InsertWittyName".

Lua Player Version History

"Only the changes in the latest version are shown here."
*V 0.20
#Updated for gcc 4.1 and Lua 5.1.
#Sound.load doesn't crash any more on invalid filenames.
#Fixed problems with daylight saving time.
#Font:getTextSize fixed.
#Blit operation from screen to image works now.
#TTF font plotting to images now sets the alpha value to opaque.
#new function Image.loadFromMemory for loading images from memory.
#Image-to-image blitting now uses alpha full blending.
#System.rename(oldName, newName) for renaming files and directories.

Libraries

To load a library in lua just add a "dofile("libname.lua")".

Some common libraries are:
*"netlib" which allows you to make a game online capable, send emails and send an sms "made by youresam"
*"BMPlib" which allows you to load bitmap images into lua "made by youresam"
*"wavlib" which allows you to easily integrate visual for audio data in a program "made by youresam"
*"Animation Lib 4" which allows you to easily create animations in lua "made by Grimfate126"

Lowser

Lowser is the official PSP based browser for lua scripts. It is written in Lua Language itself however is quite basic. Lowser is what is set to autoload when LuaPlayer is started, however this can be changed.
*"LuaOS" created by "Youresam" is a shell for the PSP designed to replace Lowser. This is now in the process of being replaced (by him) with:
*"LuaOS2" currently in development stages, with just the mainframe (LuaX) in a usable state so far.
*"Ys-OS" This is a shell created by "Yossi-Starz" that was not designed to replace Lowser as it is not currently full speed, and is too "RAM hungry" for everyday use.
*"LuaMainframe" created by "Alex Glynn (Glynnder)" currently in beta stages, is what is most likely to replace Lowser for most people, it looks pretty similar but hosts a whole range of features. This has now been replaced (by him) with:
*"interfaceLua" which looks completely different from Lowser, and has all features of LuaMainframe and more. Work has temporarily stopped on it.

ee also

* Lua programming language
* PlayStation Portable
* Hello World

External links

* [http://www.luaplayer.org LuaPlayer.org] - official homepage
* [http://psplua.com/ PSPLua.com] - development team and community
* [http://psp-programming.com/ PSP-Programming.com] - PSP Programming Tutorial Website & Community
* [http://evilmana.com/ EvilMana.com] - PSP Lua Game Programming Beginner Tutorials & Community Forums
* [http://www.cools.biaklan.com/luamod.html Lua Player Mod 4] - Functions available in Mod 4
* [http://www.Xtreamlua.com Xtreamlua.com] - French - PSP Lua website (Tutorial and community)
* [http://teamlua.co.nr/ TeamLua] - International Lua Programmers
* [http://luaplayerhm.xtreemhost.com/] - LuaPlayerHM Mod of the Official LuaPlayer
* [http://conferences.oreillynet.com/cs/eurooscon/view/e_sess/7661 EuroOSCON sessions] - Presentation held at EuroOSCON in 2005 about LuaPlayer. [http://thirdcog.eu/luaplayer/EuroOSCON_presentation.pdf Presentation slides] , [http://thirdcog.eu/luaplayer/EuroOSCON_presentation_text.rtf notes]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • LUA — Apparu en 1993 Auteur Luiz Henrique de Figueiredo, Roberto Ierusalimschy et Waldemar Celes Implémentations Lua, LuaJIT, LLVM Lua, LuaCLR, Nua, Lua A …   Wikipédia en Français

  • Lua (langage) — Lua Apparu en 1993 Auteur Luiz Henrique de Figueiredo, Roberto Ierusalimschy et Waldemar Celes Implémentations Lua, LuaJIT, LLVM Lua, LuaCLR, Nua, Lua A …   Wikipédia en Français

  • Lua (langage de programmation) — Lua Apparu en 1993 Auteur Luiz Henrique de Figueiredo, Roberto Ierusalimschy et Waldemar Celes Implémentations Lua, LuaJIT, LLVM Lua, LuaCLR, Nua, Lua A …   Wikipédia en Français

  • Lua — Pour les articles homonymes, voir Lua (homonymie). Lua Apparu en 1993 …   Wikipédia en Français

  • Lua (programming language) — Infobox programming language name = Lua paradigm = Multi paradigm: scripting, imperative, functional year = 1993 designer = Roberto Ierusalimschy Waldemar Celes Luiz Henrique de Figueiredo developer = latest release version = 5.1.4 latest release …   Wikipedia

  • Lua — У этого термина существуют и другие значения, см. LUA. Lua Класс языка …   Википедия

  • Lua — Logo Basisdaten Paradigmen: Skriptsprache, imperativ, funktional, objektorientiert …   Deutsch Wikipedia

  • Lua (song) — Single infobox | Name = Lua Artist = Bright Eyes from Album = I m Wide Awake, It s Morning Released = October 26, 2004 Format = CD Recorded = February 2004 Genre = Folk music Length = 16:05 Label = Saddle Creek LBJ 68 Producer = Mike Mogis Chart… …   Wikipedia

  • Micro Lua DS — est une implémentation aujourd hui open source pour la Nintendo DS du langage de programmation Lua de la même manière que celle qui existe pour la PSP avec Lua Player. Elle se base sur la bibliothèque de dessin conçue par Brunni, la µLibrary,… …   Wikipédia en Français

  • Oscar Lua — No.       Retired Linebacker Personal information Date of birth …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”