RobertMKD's Recent Forum Activity

  • Hmm, so the problem is: You want to change the highscore if it is higher than the previous value.

    Well, that's quite simple.

    I don't know how does your game work, but let's say at the end of the run you calculate the Highscore. Simply add a condition to check if the current score is higher than the last one.

    I can see you already have this event but it needs to be at the end of the run when you calculate the highscore. In the same event, save the Highscore value in LocalStorage.

  • Oh sorry, I forgot to mention that.

    I have built it using Intel XDK and tested it on Android..

  • I have installed my app on my phone and sending a mail does not seem to work..

    What am I doing wrong?

  • I have installed my game on my phone in order to test it out, but I have noticed that my progress does not save.

    I am sure I have set my events properly.

    Like:

    Check item exists> On item exists>Get item>On item get.............

    What may the problem be?

  • Hi, I am trying to build my app with Intel XDK, however in order to build I need a certificate. I have tried to create my certificate but I get the following error:

    "An error occurred creating your certificate."

    I have no idea what's wrong and to be honest, I am a noob at this building procedure, so can anyone more experienced explain it a bit?

  • Okay, then this explains why does my other layout (with even less CPU) also has poor performance.

    So, I should reduce the size of images? I have already rescaled them to a minimum. Or I should reduce the number of objects maybe?

  • My Engine and Draw calls CPU usage is pretty high, so how do I know what is it I need to work on into improving them?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am using intel xdk as well.

    By the way, I have found a mistake in cjbruce's formula. 'cpuutilisation' has to be 'cpuutilisation*100' since it returns from 0 to 1.

    Therefore, my fps now ranges from 25 to 50 while the CPU is over 50-60.

    I guess it means that I need to work on improving my events..

  • I have made my own movement system, it is better now, but not perfect. Also, my fps sometimes drops bellow 30 (that's the minimum fps) and it causes the player to glitch and move through blocks..

    Also, the blinking on the screen is still there and I have no idea how to stop it :/

  • I am testing on multiple mobiles like samsung and xperia. The problem occurs on each one of them

  • No. My game is something similar to the bomberman game. There are blocks placed in a grid and the player moves between these blocks. The only transparent thing in the layout are the shadows of these blocks, so I have disabled the shadows just to test if they are the source of the problem, but the problem with the movement was still there.

    Yet this problem occurs in other layouts as well, but there's also no transparent sprites..

  • Hi, thanks for the reply.

    I have already done step 1 (my CPU ranges from 12-30%, I've done everything I could to make it better, but that's all I can do, my events simply require this much CPU usage...)

    As for step 2 I have done this as well, but without the CPU, so, now I did just like you told me to and the CPU percentage is 0%, and occasionally becomes 1%, never more than that..

    Also, the fps seems to be even higher on my mobile device, it ranges from over 30 to 60. On my laptop the max is 40, but movement doesn't go into slow-motion as in mobile..

    Weird..

RobertMKD's avatar

RobertMKD

Member since 15 Apr, 2016

None one is following RobertMKD yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies