Bl4ckSh33p's Forum Posts

  • Hi. I tried to change the language in the app manifest from x-generate to several variations of "en-US";"de-DE";"pt-BR" but it says there is an error when I try to open the manifest editor.

    Does anyone know how or where you can set the languages for UWP?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • It seems to work for the menu buttons with anchor. Thank you very much! :)

    But the slide in menu I created is still not inside the viewport and somewhere else.

    Its a tiled BG with text pinned to it and on Touch of menu button it slides in with Tween and out.

    Do I have to reposition it depending on viewport values? right now its in the upper left corner with -1400,-500. The parallax 0,0 layers have -420,420 as viewport in debug. The others 0,0.

    /update: after trying some things with anchor and viewport coords I just changed it to view/hide layer and removed the slide in/out animatino as workaround. But I hope someone can give me a hint how it works with changed canvas size and viewports.

  • Just tried it in debug and they are off screen. But only with parallax 0,0. If its 100,100 everything is aligned perfectly. Changing canvas size seems to change the viewport coords and 0,0 is not upper left corner anymore. But only a problem with parallax so far. :/

    I try if it works with anchor.

  • I'll try to make a new one on the wide layout. But why does the global layers not show up after resize canvas? They have 0,0 parallax and the editor shows them at the right place. 🤔

    /UPDATE: I created a new layout and global layers for the menu. It seemed to work fine but when I changed Parallax to 0,0 again the menu layers disappeared in landscape. Is this some kind of bug or why are they not visible after changing canvas size?

    I checked the position in debug and the parallax 0 layers are out of screen after changing canvas size.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi. I used the following code to swith to a landscape layout or portrait layout depending on the device orientation. I duplicated the layouts to rearrange the objects for different resolutions. Layouts have _port or _land attached at the end of their name.

    + Browser: Is Portrait

    + System: Trigger once

    ----+ System: right(LayoutName,4) = "land"

    -----> System: Set canvas size to 1080 x 1920

    -----> System: Go to layout mid(LayoutName,0,len(LayoutName)-5)&"_port"

    + Browser: Is Landscape

    + System: Trigger once

    ----+ System: right(LayoutName,4) = "port"

    -----> System: Set canvas size to 1920 x 1080

    -----> System: Go to layout mid(LayoutName,0,len(LayoutName)-5)&"_land"

    Switching works fine but the landscape version does not show my global UI layer with the navigation menu. The project has portrait resolution as default but when I change it to landscape the UI layer is shown in preview. But when I go back to portrait size the UI and menu layer is not visible in landscape layouts. The problem seems to affect GLOBAL layers. Any idea why this happens or how to fix this?

  • Hi. Does anyone else have this problem? When I open a website in the iframe sometimes its just white but scrollbars are visible and you can click on invisible links to navigate and then the page usually shows up. After that other pages on other layouts opening the page in iframe work as well. But why is it white/blank first?

    example of included site:

    ea.com/games/anthem/about

    First I thought it was a problem with the ?SetLocale link and I open it in a out of layout iframe to set the cookie which seems to work but sometimes the page is just white and a long scrollbar. Is this a bug in iframe or just a website problem?

  • Thank you very much.

    I found the google webfont helper after some searching. It downloads all formats in a .zip

    google-webfonts-helper.herokuapp.com/fonts

  • I found the download button (was hidden on tablet, had to zoom out) but I only got a .ttf everytime. But I need Woff/Woff2 for Construct?

  • In C2 you could use Google Fonts as web fonts but C3 does not support this and requires a file to import? Is there no way to download the google fonts? I could only find some CSS to load them on a website.

    /edit: Found download button but its only a .ttf file.

    Tagged:

  • Hi. Any chance to bring it to Construct 3?

  • Thanks. Its not implemented yet, just thinking about how to do it.

    In general a layout has multiple text objects and if you search it should jump to the first found word on the layout. Or show a result popup with buttons to jump to next/prev like most browsers have.

    But if it's so complicated I may skip the jump-to part and just implement full text search to find the layout where the word is on and jump to the layout. Marking words should be not so hard.

  • That's it! Thank you very much. :D

  • I meant the coords to scroll to it.

    But how can you get the x and y of a found word in a sprite font object?