mirror of
https://github.com/libretro/retroluxury.git
synced 2024-11-30 11:20:26 +00:00
21 lines
471 B
Lua
21 lines
471 B
Lua
rl.create( 400, 300 )
|
|
|
|
local tileset = rl.loadTileSet( 'city.tls' )
|
|
local imageset = rl.loadImageSet( 'city.ims' )
|
|
local map = rl.loadMap( 'city.map', tileset, imageset )
|
|
|
|
local music = rl.playMusic( 'sketch008.ogg', true, function( voice, reason ) print( reason ) end )
|
|
--local tick = rl.loadSound( 'tick.pcm', false )
|
|
--tick:play()
|
|
|
|
local pad = {}
|
|
|
|
return function()
|
|
rl.getInputState( 1, pad )
|
|
|
|
map:blit0( 0, 0 )
|
|
map:blitn( 1, 0, 0 )
|
|
|
|
rl.presentVideo()
|
|
end
|