PS3 LuaPlayer

STLcardsWS

Administrator
PIC1.PNG
PS3 LuaPlayer

v5.2.3 (update by 3141card)
Download / Mirror



Create Homebrew Games for the PS3 with PS3 LuaPlayer, this player has been drastically improved by the updates by 3141card


Release Quote from 3141card
For info, the LuaPlayer is updated from Lua 5.1 to the last Lua version 5.2.3.

The used library for sound is Estwald's (aka Hermes) nice spu sound library.

The other great library from Hermes, tiny3d for 2D and 3D grafics is also added.

Here are the player + some tiny3d samples by Hermes, ported to Lua scripts.

Readme
Code:
The libraries "spu_sound" and "tiny3d", used by the LuaPlayer, are coded
by Estwald(aka Hermes)

app.lua must be in root of any usb stick,
also the folders audio and png.

for the sound sample, copy a mp3 file to /dev_usb/audio/
an add the file name to app.lua script line 181:

snd.SetBGMusic("/dev_usb/audio/myMP3.mp3")

Games Created with PS3 LuaPlayer (v5.2.3)
 
Any LUA tutorial suggestion's?


Source of Post: [Released] LuaPlayer v5.2.3 - PS3 Homebrew - PlayStationHaX



aries2k said:
Since there´s no ps3 Lua tutorials, I´ll put up some sample code for beginners to look at.

Basicly everything you need to get started can be found in one of these programs.

PS3_Lua523_Programs.rar

almost all of the programs are PSP lua ports.

1. HelloWorld button input example.
This was the example included with the 1st Lua build.
I added the buttons that were missing and through in a sound sample.
Everything you need to get started(text, images, button input and sound).

2.Ps3 smileys
just a basic animation example.

3.Bruce animation.
Just another simple animation example using sprites from the Bruce Lua game.

4. Ps3 Magic8ball
a basic program which generates random answers.
this gives and example for generating random numbers

5.Ps3 Petty beta
a simple program. basicly the beginning of an interactive screen saver.

6.Lua Chase
a simple program demonstrating some CPU AI.
the basis for many chase games that were made.

7. Chase the Cheese
basicly Lua chase made into a small game.

8. Chase the penguin
another very basic chase game but for 2 players.
you must have the second controller on or the game won´t work.
unfortunately theres a bug in Lua right now for multiplayer.

9. Ps3 Lua Pong.

not much to say it´s Pong :)
Taken straight from the Evilmana.com psp tutorials
and tweaked the code for the ps3. also added a little sound.

10. Block attack
a simple game. get the colored block and avoid the black blocks.
gives an example of how to simulate gravity.

11.Lua Ironman 0.3

this was something I had been working on for the psp a long time ago.
Lost most of the code so i started over again.
It´s just a demo/game of a single shot side shooter.
I´ve updated it to 0.3

That´s it for now. Check the readme´s.
I´ll port over more PSP code as I have time.
 
Hi everyone.
Glad to see some interest in Lua.
Sandroron had also put a basic guide to getting started with Lua on a thread over at psx-scene. the site is down for me at the moment though. seems to happen alot lately.

I´m still hoping some experienced Lua programmer will make use of the 3D and 2D libraries. I could sure use some sample code to look at because I just can´t figure it out.:confused:
They seem like great libraries with more options but I just don´t know how to use them. at least the sound library is understandable and that´s the function I was really waiting for.

Glad to be a part of forum and a Merry Christmas to everyone.:carols:
 
How far can you work with this version of Lua?
Like could I try to create rough 3d games?
Or Try to port an emulator on the ps3?
Or just create my own.
 

Similar threads

Back
Top