indy2005's Recent Forum Activity

  • My simple game runs like a dog with 3 legs on my Android. I have added some metrics including number of objects (80 ish) and CPU and GPU utilisation. CPU hits 60 on my phone but the GPU utilisation shows NaN. I checked Chrome://gpu on my phone, and Web GL and Web GL2 are hardware accelerated as is the canvas. Maybe my game runs like a dog because the APK somehow isnt targeting the GPU? My phone is a Doogee N20, it can play things like Modern Warfare (albeit badly), so I dont get why I get lag in my simple dagger throwing game. But maybe NaN is a clue? GPU utilisation is 3 on my laptop, and that has an integrated card.

  • Hi,

    I am having some weird logic errors when I come back from a reward ad. Do all actions and events continue to run in the background, or is Construct clever enough to pause everything while an ad is playing?

    Wondering if I need to handle it myself?

    Regards

    S

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi,

    What is the minimum Android version you target? I think I read Admob new SDK requires version 9.0, not sure what version of the SDK construct integrates with. I obviously dont want to alienate users because of aiming too high, but don't want any issues with the Admob service.

    Regards

    S

  • Will do. I notice there is a way to redeem tokens, but I never got an email from Scirra with a redeem code for the assets I bought, otherwise I could just log on with my Scirra account and redeem the code. All I got was PayPal confirmation, nothing from Scirra after my purchase.

  • I am testing my game on Android using a Debug APK. My game layout is "janky" on startup, and then seems to warm up. I have preloaded all audio, and have ensure all objects I am spawning are present in the layout and initially invisible. It isn't a complicate game, firing daggers at a rotating target....

    Any advice. I have also trimmed down any blocking sprites for scene transitions so they aer 10x10 sprites and scaled up to 2000 x 2000, as these were initially large sprites.

    I dont have to most powerful Adndroid phone, in fact I bought a crap one because I wanted to aim my game testing at lower end. But given the small complexity of the game - I am surprised the layout has to seem to "warm up" before the jankiness ends.

  • Not there. Worried now as I am not sure I was logged in when I bought it, and my PayPal email is not my Scirra email.

  • I just bought the 300 effects pack on the market place. Paypal completed, and that was it. I have had no instructions on how to download the pack.

    I just have a receipt from PayPal, but no link to download the asset pack.

    Regards

    S

  • Thanks!

  • I need to display an information page, where I give attribution to various people for art and music, and provide a hyperlink to my website and the privacy policy.

    Whats the best way to achieve this in Construct 3?

    Thanks

    S

  • Hi

    How (and do you need to in the EU) - provide these kind of options for your mobile game, I believe you need to also keep records of consent in an external database/system for GDPR.

  • I got quite a nice solution working.

    I spawn a load of objects randomly, then at the start of the next tick, a While loop runs until the overlap count is zero. In the while loop positions are randomised, and the overlap check is performed and overlaps counted. A|t the top of the While loop, the overlap count is reset to zero. When it hits zero, the loop is exited.

    To avoid having infinite loops when there are a lot of objects, I count the iterations in the While loop. Every 100 iterations of randomly placing objects, I randomly remove one Balloon sprite, reset the iteration counter and continue with the process. This way I start with a large number of objects, and degrade slowly to ensure an end condition. At any point I may get lucky and the randomisation avoids overlap and I keep a large number of objects.

    I did notice that you cannot destroy objects in a While loop it seems, and not process them on the next iteration. Instead I mark them as "dispose", and ensure my overlap check ignores anything marked "dispose" by reselecting the instances at the top of each While loop iteration, and when the While loop exits....I destroy any sprites marked for "dispose"....simples ;-)

  • Thank, got it working now. My issue was I am reading the high score into a global variable held in a separate event sheet which I am including in other layouts (not sure of this is necessary to have shared global variables across layouts). Because when I was testing I wasn't coming in via the home layout, I was testing the layout directly so skipping the read logic. Doh....

indy2005's avatar

indy2005

Member since 3 May, 2015

Twitter
indy2005 has 1 followers

Trophy Case

  • 9-Year Club
  • x2
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

11/44
How to earn trophies