amaebi_jp's Forum Posts

  • 8 posts
  • dop2000 Thank you. I will report this.

  • Hi, Recently I changed my smart phone to Pixel3aXL.

    Then, I found portrait photos that taken by Pixel3aXL can't load correctly using "Sprite.LoadImage".

    (It happen just portrait photos, not happen landscape photos)

    Here is an example project.

    drive.google.com/file/d/1ED5rN0GlVuLKAtgrzrK55g7J_Z47DKU-/view

    These are photos(Landscape/Portrait) taken by Pixel3aXL.

    When I load portrait photo on Android(Chrome), sprite image seems broken.

    When I load portrait photo on Mac(Chrome), the web application is shutting down!

    ===========================

    I can't understand why this problem cause.

    Anyone know how do I load portrait image correctly?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dop2000

    Yes, black sprite is on HUD layer, and green box is on "Layer1".

    If I put green box to "Layer0", it work correctly.

    In this project, I set HUD layer as a global layer.

    And HUD layer's priority num is not match another layout.

    I think it is reason why green box shows above black sprite.

    However, it will not work with the Text Input. Form control objects are shown above everything else

    That's shocking... But very helpful info for me.

    I will hide Form control objects before fade out and show them after fade in.

    Thanks a lot.

  • I tried to create transition system that fade in/out between layout transitions.

    In HUD layer, there is a black large sprite which has Fade behavior. And I set HUD layer as Global.

    In Layer1, there is Text input field and green border square to test transition.

    In Layer0, there is a red text that show "Layout2".

    So I think when fade out, I can see only black display because HUD layer is top priority.

    But when fade out, objects on Layer1 are shown over HUD layer.

    This layout's event sheet is like below.

    How do I set fader layer always on top priority?

    Tagged:

  • eka Thank you for your advice.

    But as Ashley said, it didn't work. Because "Multiplayer" is not object just an Expression.

    Ashley Thank you.

    I will access to Multiplayer property via eventsheet.

  • I want to access "MultiPlayer.MyID" from my script.

    Then I tested like below image.

    Console said "MyPeerID=undefind".

    But in eventsheet, I can access to "MultiPlayer.MyID" from some events without script.

    Is there some rules to access a gameobject that not belongs to layout?

    Tagged:

  • Thank you Ashley! now I can run my script from event sheet.

  • Hi, I'm new to contstruct3.

    I want to run javascript code from event sheet like beginning of this video.

    youtube.com/watch

    But When I Pressed a button in preview mode, It didn't work.

    Chrome developer tool shows there is an error like below.

    Yeah, I did not define "alert" or include some libraries, but in tutorial video, it can work just write "alert(***);" in action.

    Is there setting or something I am missing?

  • 8 posts