lionz's Forum Posts

  • You can put the objects on their own layer and set it visible/invisible

  • Hiya it's star.count

  • You can store the player X,Y in 2 variables as you enter the shop. Then on start of layout when you return to the level you can set the player X,Y to the variable values.

  • The picking condition here would be 'player is overlapping object' so it only drops on the instance you are on top of when you press E.

  • You would store that as another variable. Var A that is set at the start of the level and Var B in the level that increases during gameplay. When you die you set Var B to Var A value.

  • You must have an event to set it to 0 on start of layout, or to reset global variables.

  • It's an instance variable on the object? You can either make the object global so it continues to the next layout with the same stats, or the norm is to use a global variable for things like Score.

  • If object 1 has line of sight of any enemy, change a variable on them. Then you can say object 1 pick nearest enemy where this variable is set, find path to enemy.

  • I can think of 2 approaches I could take. When you touch the screen, take the touchID and don't allow any other touch until that touchID has been released (on touch end check the ID), or more simply you could say don't allow any swiping if 'is in touch' meaning you already touched the screen once.

  • You need another variable, such as a global variable boolean (true/false). By default the bool would be set to false. Then when you click the button you set it to true. Under the gold every 3 seconds condition, you add 'if bool = true'. This means it will only start adding gold when the button is clicked, right now it does it all the time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you mean to combine state run condition with the X condition (11 & 12)? Because they are separate at the moment. Run does nothing. So right now they will just move for the X comparison.

  • Whether they are in another layout or the current layout the real issue is that you would be using 5000+ objects, what type of game is it? There is probably a more efficient way to do what you are doing. Maybe you can use variables and there is no need for objects.

  • linking event sheets to a layout is the standard, or there is this way

  • What are you trying to do? You've made the run state but not used it.

  • Yes lol, should've tried it before posting really