PDA

View Full Version : Saturn Lua Player released!



RockinB
July 1st, 2008, 18:10
Finally, writing SEGA Saturn games in Lua becomes reality!

Lua is a powerful, fast, light-weight, embeddable scripting language. The Saturn Lua Player is a powerful runtime environment for homebrew Saturn games written in Lua. It provides access to hundreds of functions of popular Saturn programming libraries.

It's simple, it's fast, it's powerful and it makes fun! Making Saturn games is now as easy as opening up a text editor and writing:
slPrint("Hello World", 5, 5) while true do slSynch() end

The Saturn Lua Player has proved it's usefulness by running Police Officer Smith (http://www.policeofficersmith.de) and various complex 3d demos. It successfully handles multiple 2D scrolls, rotational scrolls, complex 3D scenery, realtime gouraud shading, textures, save files, CD reading, PCM playback and a lot more!

http://www.rockin-b.de/saturn/saturnluaplayer/SaturnLuaPlayerR1.jpg

Download the all-in-one Saturn Lua Player package as Zip (http://www.rockin-b.de/saturn/saturnluaplayer/SaturnLuaPlayer_080701_R1.zip) (15 MB) or 7-Zip (http://www.rockin-b.de/saturn/saturnluaplayer/SaturnLuaPlayer_080701_R1.7z) (8 MB) archive.
It includes 12 demos with prebuild ISOs, docs, tools and complete source code of the SLP runtime and all demos.

http://digg.com/gaming_news/Sega_Saturn_Lua_Player_Released

RockinB
July 1st, 2008, 18:20
To verify the Saturn Lua Player, 12 demos that are part of the SGL library have been ported from C to Lua, so far.

Most difficult were the walking Akira demo and the TORUS3 demo because of 3d animation and huge polygon count.

Here you see screenshots of some of them, recorded with SSF emulator.

The CHROME bump map effect demo:
http://www.rockin-b.de/saturn/saturnluaplayer/CHROME_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/CHROME_2.jpg

SGL DEMO_C: The walking akira demo, the virtua fighter character Akira is walking round and round.
http://www.rockin-b.de/saturn/saturnluaplayer/DEMO_C_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/DEMO_C_2.jpg

SGL design 3 demo: translate, scale and rotate a textured cube pyramid:
http://www.rockin-b.de/saturn/saturnluaplayer/DESIGN3_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/DESIGN3_2.jpg

SGL demo S_8_10_2 displaying two paralax scrolls with changing transparency setting:
http://www.rockin-b.de/saturn/saturnluaplayer/S_8_10_2_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/S_8_10_2_2.jpg

SGL demo S_8_11 displaying a normal and a rotational scroll:
http://www.rockin-b.de/saturn/saturnluaplayer/S_8_11_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/S_8_11_2.jpg

SGL demo Torus 3 displaying 3 high polygon count torus objects with realtime gouraud shading:
http://www.rockin-b.de/saturn/saturnluaplayer/TORUS3_1.jpg
http://www.rockin-b.de/saturn/saturnluaplayer/TORUS3_2.jpg

Darksaviour69
July 1st, 2008, 18:54
nice work RockinB

wraggster
July 1st, 2008, 20:02
wow bloody awesome work :)


ill send news to gizmodo, engadget, joystiq kotaku and others, def worthy of some serious news attention

RockinB
August 18th, 2008, 21:39
Lua Player , i have heard a lot on it.And i have even tried soem lines on that , it i slike just a simple saying of HELLO.


tRY THIS OUT.



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

It should be said that the Saturn Lua Player is not a port of the PSP Lua Player. It provides access to Saturn libraries. So a Lua Game written for PSP will not work on a Saturn, without modification.

Possibly it could be done to make it more compatible to the PSP one. As for now, it's been created in the intention to use existing sophisticated and well documented Saturn libraries on the one side, while taking profit of the extended language features of Lua. Coding for Saturn is much easier now, with Lua.