lionz's Forum Posts

  • Looks ok but maybe remove the unnecessary global variable check? Can sound be set to anything other than "on"? Maybe that conflicts somewhere.

  • Where you post reply there is img button and you can upload local image file. Or you could upload the actual construct file somewhere and share that.

  • Interesting, are you able to screenshot the events and share? If you do 'platform is moving'(inverted) - stop sound, then that should work really. Check that you are not moving by some other logic, or there are multiple objects and one is moving.

  • Exciting, I love Construct games on Steam. Good luck with it!

  • Hey, need more information about what you are doing. Which logic are you using to play the sound in the first place?

  • You can use overlap check if that is relevant so 'is not overlapping' then stop music. Or you can do on button press stop music. Depends how the game works

  • It's asking you to repack the game as a bundle using android studio, but you can publish, it's just a recommendation.

  • You can but to be safe it's better to use a variable inside the function because global variables can change and might alter while the function is running or something like this. You can try it for now but you may come across some bugs in a bigger game.

    If the global variable didn't change when you tested it then you must not be calling the function or something else is changing the global variable so it looks like it is unchanged (already the kind of bug I was referring to).

  • lol Salman_Shh just make a full game already and take my monies.

  • The method MoveToObject("object") is just a shortcut to MoveTo(object.X, object.Y). They'll behave exactly the same way. That's what dop2000 meant.

    Cheers!

    Okay they meant move to position. That's only as redundant as 'set position' is to 'set position to object', but both have their uses!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • To me "Move to object" seems redundant, because it's the same as move to (object.x, object.y). I just think that it would probably be more useful if it could automatically follow the object.

    This is not a suggestion, just a thought. I can definitely live with how it works now, and use "move to object" on every tick if needed.

    When you say it's the same as move to(objectx,objecty), what is that?

  • Since you are not actually destroying I guess you can't use box on destroyed which would be useful here. Instead you can add 'for each box' to the hp less than 0 condition, so it will play sound for each box.

  • Yes tile movement is powerful. I love that behaviour been using it myself for a game.

  • The above makes sense, you didn't show us where you set the animation. If it's not that then share the file!

  • The logic looks okay so it's only guess work without the file. Two things spring to mind. Are you spawning the boss object at the time you set that animation because the fade will start automatically on object creation unless disabled. Another cause might be the picking and you are referencing another boss object that exists and is playing the death animation.