StrangeyD's Forum Posts

  • I have resolved the problem, it was because set to angle was on in the tiled background properties, so it was displaying at angle which is why the gap was appearing.

    Thanks for your reply's.

    Mods feel free to close this thread.

  • wow I cant believe what was causing the problem was that set angle was on in the object properties so it was displaying on the side rather than straight...

    Thanks for all your help!

    Very much appreciated

  • I think I have set the tiled background to the wrong size after the new layout changes im going to see if that is the problem, thanks for your reply if I cant fix ill post the capx.

  • Ah didn't think of that, ill try now thanks.

  • I dont think it is possible at the moment with admob but i did read somewhere on here that leadbolt might work with crosswalk, im not too sure though

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I had the background working perfect but after a lot of problems arose with the layout size I was using I decided to increase my layout size to a 16:9 ratio of H:1024 & W:576, and adjusted all the graphics and sprites to match the new size.

    Now the background when the game begins leaves a gap at the top of the screen and because it is supposed to wrap to layout also leaves a gap when the background comes around again. I have tried to set the position of the background at the start of layout using set x y but it seems to override this and go to where it was before.

    The only bit of code I have referring to the background is bullet speed 200 and angle of motion 270 as I was it to scroll upwards constantly due to the game being an infinite faller.

    Any ideas or advice would be appreciated!

    StrangeyD

  • I have now tried to resize the whole game to the 16:9 ratio of 1024 - 576, in the hope that would be better after reading the supporting multiple screen sizes tutorial.

    After resizing the game I am now having trouble with the tiled background as when it starts, the background is nearly half way down the screen.

  • Thanks for your reply.

    My layout is:

    Width- 480

    Height- 640

    As its an infinite falling game I didn't think it would require a big screen as the idea is you cant see whats coming up ahead.

  • Thanks for your advice worked a treat, I managed to export and compile with crosswalk and the game runs well, my only problem is now that there are black bars across the top and bottom of the device screen. (Device being Galaxy tab 2)

    I selected letterbox scale for the project as during testing it seemed like the best to fit to most screen sizes, to make it weirder when I emulate using Intel XDK program for the Ipad the bars disappear.

    Any Advice or tips on this would be very appreciated!

  • ah ok ill try that now, much appreciated!

    Hope it works.

  • when I tried to export and compile with crosswalk I get a white screen after the app builds on my tablet, I followed the tutorial to the letter cant understand what went wrong.

  • Ok thanks for your reply.

    I will try that now!

  • I exported and compiled the game using cocoonjs, the resulting debug apk I tested on my tablet.

    The game worked perfectly when i was testing it in construct 2, but now once it was compiled certain features don't work anymore such as:

    Collisions for when the player is supposed to pick up an item he just goes straight through.

    The highscore feature has also stopped working although i am not sure if this is a result of the above.

    The game screen seemed fine when testing on construct but when on the tablet the game screen is there but appears wrong due to there being a big missing section at the bottom of the screen, like the game hasn't adjusted to the tablet resolution properly.

    Any suggestions?

    StrangeyD

  • I think I need to explain this a bit better..

    I exported and compiled the game using cocoonjs, the resulting debug apk I tested on my tablet.

    The game worked perfectly when i was testing it in construct 2, but now once it was compiled certain features don't work anymore such as:

    Collisions for when the player is supposed to pick up an item he just goes straight through.

    The highscore feature has also stopped working although i am not sure if this is a result of the above.

    The game screen seemed fine when testing on construct but when on the tablet the game screen is there but appears wrong due to there being a big missing section at the bottom of the screen, like the game hasn't adjusted to the tablet resolution properly.

    Any suggestions?

    StrangeyD

  • For some reason the collisions and highscore no longer works yet when I test in construct 2 works perfect?

    Also there is a big white block at the bottom of the screen, when I selected scale to fit.

    Thanks for your help!

    StrangeyD