Hey community)
I have an urgent need to set up OpenFeint support in a game and im quite confused in all this… I read Peach’s tutorial on Openfeint, but i dont know if i should use those functions, because of API changes recently
So, how should i call my leaderboard and achievements?
with this(for leaderboard):
[lua]function setOFScore(score)
gameNetwork.request( “setHighScore”, { leaderboardID=of_leaderboard, score=score, displayText="" } )
gameNetwork.show( “highscore”, of_leaderboard )
end[/lua]
or this:
[lua]function setHighScore( lbID, points )
if onDeviceGO then
gameNetwork.setHighScore( lbID, numScore)
else
print(“highscore called”)
end
end[/lua]
and for achievements should i use them like this?:
[lua] gameNetwork.unlockAchievement(121212)[/lua]
Any help will be appreciated [import]uid: 16142 topic_id: 20164 reply_id: 320164[/import]

