frozenpeas's Forum Posts

  • 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?

  • Understood

    Thanks all

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the difference between "Go to layout" and "Go to layout by name" and is one quicker than the other?

  • Long shot try putting the sound in the music folder or the sound folder under files and export.

    I had a problem with delay and moved it from the music folder to the sound folder which seemed to fix it.

    Not sure why it worked though.

    Worth a punt.

    P.S. I am using Intel XDK and admob plugin

  • Just been playing Gate. Nice game. Simple yet addictive.

    If I may make a couple of suggestions:

    1. You may want to use the browser object to allow the user to exit the game using the back button

    2. Also whilst playing the game it would be nice to go back to the menu using the back button

    3. The score should be +1 as this is how many gates you have cleared

    4. You could add in random bonus objects to collect +10 like fruit or gate keys

    Good luck

  • Thanks looks awesome will give it a try.

  • I have:

    On tap gesture - Take snapshot of canvas PNG quality 75

    On canvas snapshot - Invoke download of Canvassapshot with filename "whatever.png"

    In Chrome on PC the file downloads into the downloads folder

    In IE 11 on PC a new window opens and displays:

    data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB4AAAAPZCAYAAADwbDfqAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6SURBVHhe7P0HgOTGeeaNP0Cjc/fkmc2ZOVOJytkKliXZki0HyflsWU7y2Rdsn8/57nz23fl/9/mzz5/DnYNkK9iycqBEUSJFUsx5mZabdyenzuiA//sUGjM9sw30zOyS3Nl9f2QtunuAKlShqgDUU....etc etc...

    On android, nothing happens.

    I was hoping to be able to get the file to download on android. Hopefully, to the gallery folder.

    Is this possible?