eka's Recent Forum Activity

  • Thanks! Yeah I found that just after I wrote this post... changed all the Layout coordinates to Viewport.

  • Hi,

    I'm having problems with different screen sizes on mobile.

    My game is made as

    16:9 Landscape 854 x 480

    Viewport Fit Auto (also tried cover)

    Full Screen Mode Scale Outer

    The problem is that I have objects that I'm spawning at the border of the layout to the left towards the right... but when facing a non standard screen ration like the Pixel 3a 1080x2220 The game covers the whole screen BUT the when creating objects at the border of the layout the layout don't start at the beginning of the screen.

    In the screenshots you can see a checkered pattern that's the size of the layout.

    Here are some screenshots:

    And here is a video:

    Subscribe to Construct videos now

    So my question is how to be able to always create objects at the border of the screen?

    Sorry if I missed something really obvious.

    Regards

    E

  • Try Construct 3

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

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

    I have this project with some layouts and a preloader, that would be the first layout, and I find that most of the time when I want to debug I have to go to the Preloader layout and run Debug Layout. If there were a Debug Project button also, that would save me to look at all the open tabs.

    Thanks.

    Tagged:

  • Not sure why you're asking to clear local storage if you're not using it

    Who says I'm not using it? I want to clear the storage to test some features... thing is that I didn't want to have something "in" the game to do that, that's why I was asking if there was something to do that from outside the game so I don't have to be remembering to remove whatever I added to just clear the whole storage.

  • There is a clear storage action on local storage plugin

    Yes, but for that I would have to integrate it in the game. I was asking if there was a way to do it from Construct itself.

    I can add a button or something into the game.

  • Hi,

    How I delete the local storage when testing a game? Can be done from Construct IDE or should I add a button on the game to do that?

    Thanks.

  • I would give each TextInput a unique name so you don't have to pick them individually.

    then you should be able to bypass the need for local variables and just reference the relevant fields...

    Email.Text, Password.Text, etc...

    Why I didn't thought about that!

    Thanks!

    Edit:

    For doing this I would need a different Object for each TextInput right? Not only different instances.

  • Hi

    I'm working to integrate some login/registration form, the login is done this way.

    As you can see I have to pick each Input object to get the text, put the value in a local variable and pass it to the JS function.

    Now I have to work with the Registration Form that has more fields. Is there a better way to do this?

    Thanks.

    Tagged:

  • Thanks for the tip...

    I tried the Outline effect but it's applied to all the instances... Seems that I either create a new Sprite Font with outline or another instance of some font and put the effect there.

    Is there any way to apply the effect on only 1 instance?

    Thanks!

  • Hi

    Is there a way to add an outline to an sprite font?

    Thanks

    Tagged:

  • Thanks.

    I ended using Silent and then re starting the looping music.

  • Maybe tag all sounds with the same tag and mute all?

    This doesn't work as I want due to the mute works for the duration of the play, for small sfx sounds they will be muted when playing but they will sound again on the next play.

eka's avatar

eka

Member since 11 Jun, 2015

Twitter
eka has 1 followers

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies