frozenpeas's Recent Forum Activity

  • Thanks I've tried most of those but will try points 2 and 3 and report back soon

  • Same here:

    Galaxy Tab 4 + Admob Banner ads + Crosswalk = Crash

    Frame rate drops from 57 - 60 to around 30 fps

    Remove banner ads (cranberry) and app runs at full pelt.

    https://www.scirra.com/forum/viewtopic.php?f=147&t=149045

  • Does this happen on other apps too?

    I had a similar problem on my S3. Took ages to figure out what it was.

    Turned out I had removed the memory card from my S2, put it straight into my S3 and there was some corrupt files on the memory card.

    Reformatted the memory card inside my S3 and the problem disappeared. Phone was a lot quicker too.

    Not sure why this worked but maybe worth a try. Backup your data on the card first of course.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Might it be an idea if SCIRRA, a Mod or User set up a Google group so that other construct users can be added as testers.

    We could all then test each others apps in Beta and Alpha mode.

    Would be a help to test our apps on as many devices as possible before launch.

    Or maybe such thing already exists?

  • When you export from Construct 2 select Hide Status Bar

    In Intel XDK click Projects (top left) and then Build Settings [+] and tick Fullscreen

    On the Intel XDK emulator there is also a checkbox (on the right) which lets you show/hide the status bar

  • I normally ignore row zero in my levels array

    My 100 level array is 100,5,1

    Basically just X,Y no Z

    key - val1, val2, val3, val4, val5

    You could do 50,6,1

    Key - lvl1, score1, lvl2, score2, lvl3, score3

    OR

    Key - lvl1, lvl2, LVL4, score1, score2 score3

    ++++++++++++++++++++++++++++++++++++

    Example

    Lookup scores of level 25

    Array Layout = Key - lvl1, score1, lvl2, score2, lvl3, score3

    Key 25 - Level 1 and Score = 0,0 and 0,1

    Key 25 - Level 2 and Score = 0,2 and 0,3

    Key 25 - Level 3 and Score = 0,4 and 0,5

    However, I would store the score separate from the Level array

    Lookup Level array and then lookup Scores array to get values

    If you put scores in the same array as the levels and then update the game (adding more levels) people could lose their progress

  • Turned off all banner and inter ads and now it doesn't crash.

    For reference:

    Unbounded scrolling: Yes

    Fullscreen in browser: Scale outer

    Fullscreen scaling: High Quality

    Use high DPI display: Yes

    Orientation: Portrait

    Enable WebGL: On

    Sampling: Linear

    Downscaling: Medium quality

    INTEL XDK

    Crosswalk version 11

    Cranberry admob plugin

    Left Cranberry admob plugin in build (just in case I use in later)

    Deleted all references to admob within app (no calls)

    Exported app now runs without crashes

    With admob test ads set at image only was getting less than 30 fps

    Without admob getting between 50 and 60 fps

    Layout size 768 x1366

    Window size 768 x 1024

    Very frustrating day

  • Thanks, no just the one app is causing problems.

    Profiler Shows

    14 objects 60fps 5% CPU 66.4mb images webgl

    Fan keeps kicking in though

  • Actually just realised that my computer has restarted 3 times when running the app preview in Chrome.

    That's a complete shut down and restart.

    Very strange behaviour.

  • Is there a way to track app crashes on device?

    I have an app that I'm testing. Usual story. Runs fine locally, but crashes on an Android device.

    Seems to be ok on Samsung S3, but lasts 5 minutes on my Galaxy Tab 4. No error, simply quits.

    Runs fine in Intel XDK emulator and on the debugger.

    Timed it and it crashes nearly exactly every 5 minutes after launch, which is strange as there is no function that is called every 5 minutes.

    No error is reported on crash. So is there a log file stored on the device that I can access or is there an app which can log the error?

  • Wicked

    Thanks for that and have a great weekend.

  • I currently use

    Every tick

    Set angle to angle + RAINBOWSPEED

    But of course the speed this happens varies due to fps

    Is there a better way to rotate the object that is independent of fps?

frozenpeas's avatar

frozenpeas

Member since 14 Apr, 2015

None one is following frozenpeas yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies