legora's Forum Posts

  • Can you add a capx. how can we save time, example save only best times of the level.

    Thanks and your plugin is very good.

  • I finally did it, thanks to "wildmedia" idea.

    dl.dropbox.com/u/67937942/save%20best%20score.capx

    btw best way to help someone is with capx, cause until you try it you can`t be certain it will work.

    Thanks to all, problem is solved.

  • Ok, so i press play, finish the lvl in 7 seconds. In menu it says Score: 7, Highscore: 0, than i close the browser, and start the game from the beginning, finish the game in 9 seconds and in menu it shows Score: 9, Highscore: 0, i don`t see the problem solved here :), btw if you start directly in menu it shows Score:0, Hiscore: 0, so nothing is saved.

    Create 2 global variables,

    SCORE

    BESTSCORE

    when you run your game you will operate with the score(init with 0), and at the end of the game, compare score with bestscore, if score > bestscore then bestscore = score

    i`ve tried this few months ago, but no result, maybe i missed something, if you think you can do it, pls fix the capx.

  • Ok, no problem

  • If you can change the capx. it will be great. My brain can`t understand saving with construct 2...

  • There is a highscore, but need to be fixed, only to save best scores.

  • I`ve asked on the forum few times and no real answer. I want to save only best scores, in my case shorter time, better score.

    I tried many different ways to solve this problem, think i am quite close now, but i miss something.

    I add this capx. so you can help me and in some way i`ll help you if you need my idea on how to make flying helicopter, control with W,A,S and D.

    dl.dropbox.com/u/67937942/heli.capx

    Help pls... i have 3 finished games waiting only scores to be added all on the same base.

  • Yep the last level is with the purple bouncer :), and there are few mistakes in the levels, but will correct them, also i will add power bar and angle indicator, that's a good idea.

    Thanks guys

  • Here`s my new game:

    racing-flashgames.com/HTML5%20Games/Enter%20The%20Bucket/index.html

    Put the ball in to the bucket :), this is demo i plan to make at least 50, 60 levels. There will be some stars, diamonds, some objects to collect so you can achieve few different scores on every level.

    Soo, write whats on your mind, what you like, what you don`t, write even if you think the idea is stupid <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • "I have a timer set up which displays minutes:seconds:milliseconds. Each kind is its own variable. It's displaying it as a text box, and so I can not use it to compare best times, etc."

    AnD4D, have you managed to do this, are you able to save the best times, i am trying to do the same, but no result. Please send me capx. or a screenshot with the events, for more then 2 months i can`t finish my game because of this...

  • if highscore > webstorage.localvalue("highscore")

    set webstorage local value key "highscore' value highscore

    In my case i need it the other way, first method works, second doesn`t, i can`t understand why. I can`t understand many things in construct, maybe i am dumb.

    if highscore < webstorage.localvalue("highscore")

    set webstorage local value key "highscore' value highscore

  • Thx for the quick reply i`ll check this, its almost the same thing what i need.

  • Yes, the problem is that i don`t know how to do that. I know how to save global variables but cant make variable to go in minutes and seconds, also when the stage is finished in shorter time it need to be saved automatically, if the time is longer than the previ?us shortest should stay.

    Some capx. or screenshots would be nice.

  • Hi, my next new game is already finished and i`ve been fighting with the time line for the game quite long. So if i create variable "Time" it goes 1,2,3..60,61,124... i need to make it in minutes 1min:24sec and if possible milliseconds.

    I have 10 levels and time is running through every level, so in the end a highscore should appear, example 20m : 21s and 123 ms. Also i have problem saving the last best score.

    Please help this is the last thing for my game.

    Thanx

  • I want to make the same for my game, but i can`t even save the highscore at first place. I have 1 Global Variable called "Timelim" thats also the highscore. If i finish the game in 50 seconds for example, the highscore need to be 50, if i finish it in 48 the highscore will need to automatically update to 48. I do this and no result...so i have game event and menu event, in the meny event i have placed this.

    <img src="http://i48.tinypic.com/28s3t52.jpg" border="0" />

    Please help, after the main thing is done i think i can do the rest with this

    if highscore > webstorage.localvalue("highscore")

    set webstorage local value key "highscore' value highscore

    I really like construct 2 and learned everything, but i can`t understand this webstorage...

    Thanks