eka's Forum Posts

  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Hi,

    Can I add more than 1 tag when playing audio?

    The Idea is to be able to mute all (not preventing play) and have separate tags for different actions.

    Thanks.

    Tagged:

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

  • Hi,

    I'm implementing a mute option on the pause menu but I found the following problem.

    Thing is that the game music only plays in the Game Layout.

    The player can open the pause menu and mute all sounds... continue playing.

    This is the user case:

    Player starts playing, puts pause and mute music.

    Then it goes to Main menu.

    Decides to play again, enters Game Layout, it triggers music play, but it's silent... the player opens pause menu and UN Mutes the sounds.

    Now the music is not playing.

    And then when reading the docs I found:

    ...In silent mode all currently playing sounds are muted and no new sounds will play. This is useful for quickly creating an audio toggle on a title screen.

    This doesn't help tho... because is like stopping all the sounds.

    Is this a something desired? Why not play any sound in silent mode, then when silent is lifted the sound can be heard? Playing the music after un-mute sounds strange since the music will start from the beginning.

    Any insight on this?

    Thanks.

    Tagged:

  • Hi,

    I have an animation with many frames, when I tried to change the collision polygon for all the frames it only changes for the first not all... Is there a way? I select all the animation frames.

    I want to make the collision the same for all the frames.

  • You could also add a "Wait 0" after the function call, before you add the width, and that will work as well (because that gives C3 a chance to finish creating the instance).

    Yes, this makes sense, waiting for the next frame. Thanks.

  • Hi.

    I spawn some Sprites every 2 seconds... and I spawn them in line, but the first time the Every x Seconds hit, the Width is 0

    There is 1 instance on the scene that I destroy at the start of the layout.

    Here is the screenshot of the log.

    What I'm doing wrong?

    Thanks.