Nintendo Entertainment System >> FCEUX >> LUA

Hello world!


參考資訊:
1. http://www.fceux.com/web/help/fceux.html?LuaGettingStarted.html

hello.lua

while (true) do
  gui.text(50,50,"Hello world!");
  emu.frameadvance();
end;

接著執行任意一個遊戲並帶入LUA

$ fceux --loadlua test.lua xxx.nes

完成


返回上一頁