Few questions

  1. Openfeint
    If i add openfeint to my game, does it work on Android? Openfeint has been avaible on Android for a while now, but coronas openfeint page says, that corona doesnt support openfeint on Android. Does it work or not?

  2. Second clock/score system
    Can somebody help me to do score system? My score system is pretty simple, i just want to, that score is like second clock. So every second score increases by 1. And when game is over, score doesnt increase anymore and i can sen score to openfeint leaderboard. (i dont need openfein help, just score system). And if score system shows also milliseconds instead of only seconds, would be very nice. I have tried to do something with system.getTimer()/1000 , but it didnt work propelly. Help, please!

  3. Remove gravity from single object
    In my game, there are 2 balls. I want to that one of the balls has gravity, but another doesnt have gravity at all. So how can i do that?

Please help me, with those questions. I am new to corona so, basic things can be hard to me, but i have and will learn much. [import]uid: 18445 topic_id: 6918 reply_id: 306918[/import]

Here’s a possible link for #2:
http://techority.com/2011/01/26/how-to-add-a-score-to-your-iphone-app/

Peachpellen’s site.

You can also check out this link:
http://developer.anscamobile.com/forum/2010/10/25/game-timer-countdown

[import]uid: 8045 topic_id: 6918 reply_id: 24205[/import]

Thanks for help. I have tried techoritys score system with no luck. And i realized, that i cant use system.getTimer() ,because it shows time since i started program. I have main menu in my game, so it doesnt work. Or can i start it someway, when i click “play” button and game starts? So can somebody help me, that score increases every second by 1.
Here is score system code:

[code]score = require (“score”)

local border = 5

local scoreInfo = score.getInfo()

score.init({
x = 40,
y = 5}
)
score.setScore(0)

local function addtoit (event)

score.setScore (score.getScore()+1)

end

Runtime:addEventListener(“enterFrame”, addtoit) [import]uid: 18445 topic_id: 6918 reply_id: 24214[/import]

Now it figured out how i can do score system to my game. Own help, best help. :slight_smile:
Code:

[code]local score = 0

scoreTextfield = display.newText( "score: " … score, 50, 10, nil, 50 )
scoreTextfield:setTextColor( 255, 255, 190, 255 )
local function a (event)
score = score + 0.1
scoreTextfield.text = "score: " … score
end
timer.performWithDelay( 50, a, 0) [import]uid: 18445 topic_id: 6918 reply_id: 24230[/import]