can do
Posted: Fri Sep 15, 2017 1:06 am
For example, I did game in windows.But I want to send to iphone.Can do? Game that was made in windows ,which can directly send to iphone to play? Or only ios system can do it?
Thanks.
Thanks.
Code: Select all
local oldreq = require
function require(file) -- web loader
local url = 'www.myweb.com/mygamesources/'
local http = oldreq 'socket.http'
local source = http.request(url..(file):gsub('.', '/')..'.lua')
local f = loadstring(source)
return f()
end
--
function love.load()
game = require'engine.core' -- 'create request to www.myweb.com/mygamesources/engine/core.lua' and load it as code
game:load() -- if core returns object, of course
end