[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[m8n] Love - How to make a Löve contribution

  1. Ensure Löve setup and installation is OK
  2. Create U8 Löve contribution
  3. Enter S8 expression in your U8 Löve contribution and save it
  4. Write the text below in your Löve project main.lua (replacing yourUserName and yourContributionID with actual contribution values)
  5. run it
main.lua:
local userName = yourUserName
local contribution = yourContributionID
local command = "startup" -- "cleanM8n"
local code = (require("socket.http")).request("http://u8.smalltalking.net/u8/profile/"..userName..
"/"..contribution.."/"..command..".lua")
load(code)()

or just include in your main.lua:
load((require("socket.http")).request("http://u8.smalltalking.net/u8/profile/yourUserName/yourContributionId/startup.lua"))()