How do I keep Highscores at qml app.



  • I'm developing puzzle game, Begum's Zoo. In the game, there are a 6 by 8 grid and 24 different animal photos( 2 same photos). You try find the same animals in gageds. Maybe it is boring but my goal is to leaaring qt and qml. There are different grid sizes for diff level. The game counts the time. If time on, gives high points. But while time off, it gives lower points.
    Everything's okay, I wrote all code I need. It is running well. But I want to keep high scores, how can I do it? I need to keep a string "name", two int "score", and "time. Meybe I add a int "level" too. I tried js functions for date base, :C I didnt understand it very well. How will keep that values? Could you help me? THANKSSS...

    Note: my english is not very good, i'm sorry for mistakes.. And last thing, I need qt coder friends. Maybe connect me... akrap16@gmail.com





  • Yep, I already saw that, I trying that, but it isnt runnig, maybe saving scores but it doesnt show them later. Please help me...



  • thanks very muxh. I got it :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.