Ok, so I am seeing from Ghosts vs Monsters, that you post these two codes. But how does it know to like see all the images and stuff? DO i need to have another lua file for OpenFeint or what? I’m confused.
I know I put this code in the main.lua
-- Uncomment below code and replace init() arguments with valid ones to enable openfeint
--[[
openfeint = require ("openfeint")
openfeint.init( "App Key Here", "App Secret Here", "Ghosts vs. Monsters", "App ID Here" )
]]--
And then on the menu page I put this for the open feint button
-- Will display OpenFeint dashboard when uncommented (if OpenFeint was properly initialized in main.lua)
--openfeint.launchDashboard()
And then on the levels, if I get a win function, I want it to show,
openfeint.unlockAchievement ( achievementID )
But how does all of that like work? I mean from what I see it has to call an Openfeint thing. And does that mean I need an openfeint document? I mean help me out please. [import]uid: 19768 topic_id: 7006 reply_id: 307006[/import]