rangerkazze's Forum Posts

  • the screenshot for my 2nd post

  • You are reading and writing to Local Storage on every tick, this is very wrong.

    You should write to local storage once at the end of the level/game, if CurrentScore>HighScore.

    And read from Local Storage also just once - On Start of Layout, and only if HighScore=0. When HighScore already contains a value, you don't need to retrieve it from local storage.

    I'm sorry for the late reply and thank you for trying to help me but I still don't understand. I try to change it a bit like in the picture bellow. But in the end of the game (player alive = 0) if the current score (TotalDistance) is greater than High Score, the high score number that showed in the end of game keep increasing for 3-5 seconds (there is no event for this increased number and for how many seconds. The higher the score is, the wait time for this number to settle is increased). But in the end it will set the new high score. For the score (TotalDistance) I still using scoring system at my first post (but I delete system > Add obj_player.Playform.Speed * dt to RECORD). I use this video for the high score tutorial wwwyoutubecom/watch?v=kfqNyZRaodg

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I need some help. In my game I have a high score system. But everytime I restart the layout (my player died), the current score is added to the high score. This is the event for scoring : (for the reset when my player died I just put Restart Layout and set TotalDistance to 0)

    Tagged:

  • int() expression means integer, it removes everything after decimal point.

    For example:

    int(3.14)=3

    int(5210/2000)=2

    thank you for the answer

  • Set bullet speed to 100+int(variable/2000)*50

    thank you, It works. If I can bother you more, can you explain it to me? How the script worked know when to added speed for every 2000 ? (0 skill at programming)

  • Hey I need a help to make increased speed of bullet everytime this certain of variable is reached. The logic is probably like this : every multiple of 2000 variable (ex : 2000,4000,6000), the bullet speed increased by 50 (it's start with 100 and when I reach 2000 the bullet's speed would be increased to 150. And when I reach 4000 the bullet's speed would be increased to 200 ). I'm sorry for my bad english. I hope someone would understand it and help me with it.

    Tagged: