cesisco's Forum Posts

  • You don't need to change the exported HTML at all, you just need to change the window size in Project Properties and export again. In fact, there is no HTML generated when exporting to the arcade.

    Ashley ,yes i know but if i change the window size in Project Properties the the game layout doesn't fit in the center of the window.

  • Hi, i'm rescaling my game (960/640)to upload to Scirra Arcade in 800/533 resolution.Im doing this:

    -in start of layout: scale layout 0.84

    -then in the index file i change the canvas size to 800/533 and it works well, but to upload to Scirra Arcade, construct export a zip file, how can i do the same thing?

    If i change the window size before i export, the canvas doesn?t fit the window.Tks

  • Hi,after some tests with my ipad2 here's the result.

    Physic game with 20 physics objects some of them immovable.

    -Pc and firefox:60fps.

    -Ipad2 and safari, hosted in my site:25fps(pretty good i have to say)

    -Ipad2 through appMobi:5 fps!!!

    Ashley what should i expect with appmobi direct canvas?the same result as my test with ipad2(around 25fps)?

    tks

  • Ashley, A little bit unrelated, but do any of the native wrappers manage to hide the small black bar with time, battery, etc?

    This is a must for professional looking apps.

    It would be great if "appmobi object" had that action included.

  • Ashley, thanks now im tweaking my game and it's ok,in iphone 990x620 or 960x 602... etc.

  • rgros, what do you expect to appear in the left and right side of the image? Construct 2 will not change the aspect ratio and resize it wider, that would be terrible for many games. If you want the game to fill up the sides then you should draw it wider. But I think it does not matter because on an actual phone it will fit nicely.

    cesisco - I assume you have the same problem. Does the phone aspect ratio match the aspect ratio of you game window? If not, then you'll need to draw your backgrounds and images wider to compensate.

    For example, if you design your game for a square window at 400x400, then export it to a phone with a display twice as wide (800x400), what do you expect to appear? Stretching it twice as wide would look really ugly, so C2 scales it up and centers it. This means sometimes there's gaps at the side, and if you haven't adjusted your artwork to fit, the space will be empty.

    Ashley, as i said before my layout is 960-640 window 960-640 and background 960,640 aswell,all designed to fit iphone resolution, thats why im asking this.

  • cesisco

    Try setting unbound scrolling to yes, then if its the same thing i have you should have the image in the center of the screen and the unfilled space will be arround the image....

    Yes it?s true.

  • cesisco yes it should fit, what do you see though?

    Ashley, check here iphone test

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley, i don't have access to my pc now but i'll post a picture later.But there?s always an unfilled space(maybe 40 pix) in the right side, the same happens in my ipad2 version(1024-768) version.

  • Ashley, maybe i didn't understand this concept but, if i have a 960-640 window, 960-640 layout and 960-640 tilebackground, it was not supposed to fit in my iphone through appMobi?

  • The exact size of your layout does not matter if you use the 'fullscreen (scale mode)' option!

    Ashley, but if my window/layout size is 960,640, it is not supposed that the game fits perfectly in iphone even in scale mode?I'm testing with appmobi with iphone with game size 960,640 and ipad2 with 1024,768 game but the game does not fit the devices in any resolutions, i am missing something?

    tks

  • The sound is working in the appmobi xdk but not in the device...anyone with the same problem?Tks.

  • ohh i see and can u add html5 games in wordpress ? i mean i can always put a link to my game but it would be much more awesome to have it play on the website ..

    Hi,i have wordpress with godaddy, check here cesisco.com click the image to play the game in my site.If you have only wordpress without hosting you have to use iframe.

  • Tks, but i found the problem.It seems that the audio only plays if the sound is in the "Music" folder, the same sound(or any sounds) in "Sound" folder doesn't work with the same events.

  • Hi, i�m starting using appmobi and i don't get how to make sound works in xdk and in the device too.

    I'm testing this way:is touching sprite-play sound and also is touching sprite - create text.

    The text is created, but no sound, so the touching part is working.

    Do i have to use some appmobi Api?

    Thanks