Hello gamers and programmers!
I’ve seen Asteroys (http://twolivesleft.com/Codea/Talk/discussion/669), but instead of loading it on to my iPad I thought it may be a good idea to get it running on the desktop.
I’ve taken the loveCodify wrapper, adapted it for LÖVE 0.8.0 and added some functionality until I got Asteroyds running. Like loveCodify, I did enough to get this game running so it isn’t a complete wrapper either. I hope that I can revive interest in it, however.
I’m not a githubber (yet?), so find the new Lua file on pastebin (for one month) and the original luaCodify on github (see file header):
Detailed instructions to get Asteroyds running:
Copy “Asteroyds.spritepack” as “Asteroyds” into the source code directory.
Copy “Tyrian Remastered.spritepack” (extract it from the Codea app) as “Tyrian Remastered” into the source code directory.
Copy “loveCodea.lua” and “vector.lua” (from the original github repo) into the source code directory.
Make a “conf.lua” like this:
function love.conf(t)
t.title = "Asteroyds"
t.author = "Hyro Vitaly Protago"
t.screen.width = 1024
t.screen.height = 768
end
Add this to the top of “Main.lua”:
if require ~= nil then
require("loveCodea")
require("Interface")
require("Menu")
require("Rules")
require("Plateau")
require("Pilote")
require("Vaisseaux")
require("Chrono")
require("Des")
require("Asteroyds")
require("OrientationAsteroyds")
require("Move")
require("AnotherMove")
require("MoveA")
end
Run it!
– Stephan