robothousegames's Forum Posts

  • imothep85 ah ok, will give it a go!

    It does beg the question what difference is there between Cordova export and Html5 export in Construct2 then...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • imothep85 thank you for the suggestion - don't I need to use the Cordova export option in order to use plugins in XDK though?

  • Hi Everyone,

    I've been paining over this for days - I'm very close to be able to submit my app for approval (A Skyrocket Story http://johnwilliamevelyn.tumblr.com/askyrocketstory) but one thing is niggling at me:

    How do I remove the clock/battery status from the top of my game on IOS using XDK?

    The fullscreen tickbox results in true full screen on Android.

    But on iOS, despite the game filling the screen, the time and battery status etc still sit over the top of the screen, albeit with no backing.

    I've followed countless threads on here but there doesn't seem to be a definitive fix - at my wits end here

    has anyone managed to remove all status info from the top of their game in iOS using XDK?

    (please don't say tick full-screen in xdk as I've tried that )

    • sorry to bug you

      imaffett, but any ideas?

  • Superb post, as a result I've entered the final stages of testing my game ('A Skyrocket Story') on iOS.

    cheers!

    http://johnwilliamevelyn.tumblr.com/askyrocketstory

  • Hi, I have added functionality to my game to take screenshots and share them to social networks.

    It uses the canvas snapshot functionality then feeds that data to the mobiles native sharing functionality using

    "window.plugins.socialsharing.share('game name',

    '" & Screenshotlink & "',

    '" & GameDownloadLink &"')"

    as explained in this tutorial by here https://www.scirra.com/tutorials/1457/s ... oid/page-4

    It works...but there is a problem.

    It seems to keep adding to the programs 'data' with every new screenshot taken. After maybe around 6-8 times of the user sharing screenshots eventually the functionality stops working. I presume this is to do with the data cached reaching some kind of limit possibly?

    Has anyone come across this problem, or have an alternative more robust way of doing this functionality?

    thank you!

    John

  • Pandy , wow thank you, that's a comprehensive reply! I'll try these asap

  • ludei I've tried compiling my game twice but all I get is a black screen after the splash.

    I'm not using any additional plugins, it's just a vanilla plain old construct2 exported game.

    I tried once with the default cocoon settings and once with the white list plugin removed.

    Both tests were on my Android galaxy s5, with canvas+ targeted.

    What do I need to do to get a working compile? It works without any tweaking using Intel xdk & crosswalk but I'd love to try cocoon to see if I can get any extra performance

  • Seems that it could be a problem with certain sprites consuming too much VRAM on the device. I'm not convinced anymore that it's an XDK problem as it happens when using CocoonJS as well.

    I've found with my current WIP game that occasionally after playing for a while some graphics occasionally turn to black squares. I'm pretty sure this is a memory issue...things not getting cleaned up once their not in use most likely.

    I'm not sure technically whether Crosswalk or Construct2 is the party to blame...in reality I've just had to be more sensible with memory usage, trimming all graphics where possible etc.

    not a great answer but these limitations rear their head regardless of the platform, memory management is always tricky but worth the effort!

  • Iolva

    of course, project download is around 57mb, and memory use is 115mb.

    Been testing on Samsung Galaxy S5

  • This is absolutely outstanding, and just saved me a ridiculous amount of time and tears!

  • Hi,

    I'm developing a mobile game and am experiencing a disconcerting problem.

    My game runs fine on PC - as expected really.

    On my mobile, as I play, the further into the game I get, the more art is replaced by black boxes.

    So for example, on game over a tips panel pops up. As you get further into the game, when this appears it's a black box.

    The memory usage is really not particularly high - and it seems odd that this problem worsens as the game goes on.

    Is Construct not freeing up memory effectively between layouts?

    Is there any workaround or general advice here?

    anybody else experience this? Any help very much appreciated!

    thank you

  • I see what you mean, that won't really work with my setup unfortunately...

    the player cycles through the pages using the buttons on the right

    does anyone have any ideas how best to load in/or cycle through these?

  • Hi Everyone,

    this is my first post, since this is the first time Construct2 has really stumped me!

    I'm creating a game whereby along the way you 'unlock' pages of a picture book I wrote/illustrated.

    The problem is each is a full-screen image so loading them into a sprite sheet at 1080p (there's 45 pages) would presumably crash pretty much any phone on the market...! The images are black and white so hopefully aren't in and of themselves going to make the filesize too big...I think this is more a ram issue?

    I considered loading from URL but I can't guarantee someone will have internet access at the time of viewing and don't want it to bug out.

    What is the best approach memory-wise? This really is an integral feature of my game so dropping it isn't an option unfortunately.

    Is it a question of creating 45 separate layouts with 1 page in it's own dedicated sprite per layout?

    any help or advice very much appreciated,

    thank you!

    John