mjj1990's Forum Posts

  • Burvey thanks man that exactly what I was looking for.

  • Hi, I am using save and load slot action for my game but it also load the background music,

    which mean when I start the game the background music will play from the middle or from the last of the music depending on the moment I saved the game, so how I can save everything in the game except sound or audio object

  • I solve it,

    by creating a variable x, and if the first object touch the x is set to 1

    and if the other object touch the x is set to 2

    and if the x = 2, do the actions.

  • thanks ChesVCF I tried it but the same problem nothing happens,

    using your way or my way it only works if I checked if one object is overlapping with another, but when I check if two object are overlapping with another i doesn't work.

  • HI

    I am looking for a way to check if two object touching the same object but necessarily at the same time,

    so if object1 touch an object and then object2 touched the same object something should happen,

    I tried using overlapping offset for object 1 and added another condition for object 2 as below image but nothing happen when any of the objects touch the other object:

  • I solved it by adding loading music variable at the start of the layout

  • thanks mrtumbles but how can I resume the the music from the previous layout instead of playing new music.

  • I am working on a game that contains blocked levels except the first level, and you have to win to open the next level, and I need is to save the select level layout so that if I closed the game and run it, it should return to the same situation,

    it worked fine with me when I used this action if the global my_win = 1:

    but the problem is it also load the background music and play it from the last point it was played,

    and I am looking for a way to save everything except the background musing.

    any help will be appreciated

  • I want to know how do I reduce the sound in the next layout, I used this action in the next layout:

    set "my sound" volume to -50 dB

    it worked for me in the browser, but when I tried it in the android it didn't work,

    is there any other method that may work with android or ios.

  • I solved it y using 'trigger once' condition

  • HI, I am trying to play sound if global variable value equals one, but it didn't work.

    even if the initial value is 1 the sound doesn't play.

  • HI, I am looking for away to check if any of two buttons is clicked or touched,

    for example, I want to add action if button 1 or button 2 is clicked or touched.

    thanks in advance

  • I saved the global variable (level) using webstorge and load it in the level selection layout and

    I realized that value doesn't reset to zero but it increase to 48 instead of 1

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a global variable (level) which is increased by one if the global variable (win) equal 1, so that after the player win he can go to the level selection layout and find level 2 opened,

    and what I need is to make the global variable (level) keep the value 1 when I go to another layout

    it worked fine with me, the global variable (level) kept its value when I used the action go to layout_level_selection inside the win = 1 condition like this:

    but when I added the action go to layout_level_selection inside inside a button which will show when the player wins, the global variable (level) value reset to zero, like this:

  • thanks linkman2004 it worked fine you are the best