shepherdgames's Forum Posts

  • On debug mode (inspect), im getting CPU usage of approx. 50 to 60% and game is running slow but when i did the same in watch and profile mode im getting CPU usage of not more than 10%.

  • Right...

    Phone: Htc desire 816

    Behaviors: sine and fade (for now).

    Objects: 47

    Events: Im using total 219 events for displaying score and time, storing score and time, using buttons like reload, menu, etc, determing gameover, moving an object on win, destroying an object on touching it.

    Test: Im exporting to crosswalk.

    CPU Usage: It's reaching nearly 60%. Not only on a particular stage but on all the stages.

  • Hi guys,

    I am developing a mobile game and just developed 11 stages out of 40. When I test it on my mobile, I noticed that it's running slow at first time and later runs normal when I go to next stage. Also my mobile is getting hot, while I'm playing it. I think it's because of extreme usage of ram.

    I want the game to run smoothly. Please help.

  • Thanx dude, it worked volkiller730

  • What's this cranberryplugin? I didn't get you matrixreal

  • Hi,

    I'm developing a mobile game for android. I just finished developing 5 levels out of 40. While testing, I noticed that my game is running slowly. How can I make it run as normal?

  • Yes, I using XDK. Where can I find that Fullscreen checkbox your talking about ? volkiller730

  • Thnx for the suggest but its not working. Do you have some other idea?

  • Dude, Thnx alot. Ur really great help to me. Now, i got what i wanted.

  • Ok tnx...i'll try that

  • Ok. The localstorage codes which u have provided are working, thanks for that.

    Now, whenever i'm playing a level its score is getting updated with the fresh score in the Menu i.e., for example, I played level one and my score is 4000 points and again I played the same level (Level one) for second time, my score is 3500. Now, the score 4000 is being replaced by 3500 which I made while playing second time. This shouldn't happen. The score should be replaced when the score is higher than the previous score (4000).

    I hope u understood what i'm trying to say.

  • Also tell me how to replace the existing score value with higher score value.

  • Wow, Thanks a lot. Its working.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'll tell you my scenario. I created a global variable called 'Score' to display score on each level. I want that score value to be saved and displayed in another layout (Menu) where user can see all his/her scores of all the levels.

    As soon as the user completes a level, the score value should be recorded and showed on Menu. So that whenever user goes to that menu he/she should able see their scores.

  • Ok, i just got mail from scirra regarding update of a new version. So i installed it. Now i'm not understanding how to use the new LocalStorage object.