Djordhan's Forum Posts

  • It seems to work fine.

    Tips: Don't forget to set the objects' position to windowWidth / 2 and windowHeight / 2 otherwise sprites will stretch outside the screen.

    It solves most problems but I don't think the same game would look good on iPhone 3 at 320x480 and on iPhone4 at 640x920, everything will look quite stretched, specially if you have pixel art.

  • I dont know much about the iPhone, you mean that you had to save the link as a shortcut on the homescreen to be able to see it fullscreen ?

    When in fullscreen mode, do you still have a bar at the top of the screen ? Like an address bar or something. If not, I know iPhone resolution are more like 640x920.

    So I guess to support both 480x800 (most android powered phone) and iPhone, we would have to make to version with a script that links to the proper build depending on the running OS.

    Thanks a lot iRoNgHosT!

  • Could anybody with a smartphone try please ?

    chambre2.host22.com

    Its supposed to be fullscreen (layout is 480x800) green and white clouds background with a red border and a square that you can place anywhere by touching the background.

    If you try it please specify which phone you have

    Thank yoooouuuuuu!

  • Yeah actually, I missed them. I though I just downloaded the latest release 41 but it seems that it never remains the latest more than 1 or 2 days haha

    I'll give it a try Thx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi there,

    I'm pretty sure the answer is easy for a html/JS programmer but, after trying to modify my C2 project to fit iPhone on appMobi, I noticed that I couldn't handle mobile with different resolution.

    I tried something I found on this forum about using the window.Widht/Height values instead of absolute canvas size but, it only stretch the canvas.

    I checked an example and all sprite were using position values relative to the window.Width/Height.. that's cool but isn't it a bit overkill to include that value in all your calculation within the game just to make sure it will show up correctly on any device ?

    Thanks for your help!

  • Hope to see you both fighting til death for my dollar! Naaah. I'll just enjoy trying your stuff

  • Yeah I guess I should post reminder more regularly but I don't want to Spam.. Having 1 month let people take time when they can, if I make it shorter people may not "have" the time in the contest time frame. But I'll consider the idea

  • Well thanks cow!!! _trix

    Seriously, someone should really create a search engine that checks for synonym as well... I really searched for Resizing layout for mobile phone and things like that and it never found that awesome "Scaling C2 apps for mobile screens".

    Shame on the search engine!! And on me..

  • I just tried a 1024x1536 canvas on a Galaxy who's supposed to have a 480x800 pixel screen and it didn't fill the screen. I think I had to use 1280x1920 to make it fullscreen. Exactly 4 times the mobile's display.

    I guess webpage are kinda zoomed out automatically on mobile or something.

  • Hi there!!

    I tried putting a site online for my band, and I want to be able to check it from a iPhone or a Nexus S or a Galaxy S, I know they probably have different screen resolution, 480x800 or 640x960, or else.. I dunno.

    Whats the correct Layout resolution I should use to make the game fullscreen on most smartphone ?

    I tried a layout of 480x800 and it filled only about 60% of the screen on a Nexus S.

    Thanks!

  • I just added a new sprite and I can't see it on the layout. I can see it at runtime though.

  • Sure! Since this one probably won't have any entry

    The next challenge will include its own 1 buck prize PLUS the buck of this one if it's not won

  • For a buck it doesn't have to be that awesome

  • Only 10 days before the end of this first edition of the One Buck Challenge!!

    Are you working on something yet ?!

  • Woah nice thanks! You made my day, twice!