lionz's Forum Posts

  • I might do it with another instance variable on the ball so you know when it is or isn't overlapping the ground by offset. Then you can say if a ball overlaps the ground and variable isn't set, set it and add ball.amount to global. Then in the opposite way if a ball is not overlapping the ground but the variable is set, that means it was overlapping but is now moving away, you subtract ball.amount from global.

  • Instead of player instance variable use a global variable for lives, that is more common and it is global for all layouts.

  • for each sprite, add to global variable 'sprite.var', with a trigger once so it doesn't keep adding.

  • No probs. Scripting is something separate and allows you to use javascript to assist with the events. There are some tutorials about. In general just use add action.

  • That's not a normal action, you would use set basiccost to ceil(basiccost) under system like the other events, not sure why you opted for that change. Is that scripting?

  • That should work, are you using round then changing the value after in the events? Screenshot of the event could help someone work out where it's gone wrong.

  • If the player doesn't exist you need to create and place the player object in each level, or you can make the player object Global in its properties, this means it will continue to the next layout

  • You do not have permission to view this post

  • It should use the origin, maybe the origin is in a different place per frame or animation so I would check this.

  • Depends how you made the inventory. If it's a visual style one then probably making the sprites global will work, there is a global setting in the object properties

  • As mentioned above it's standard, you should make your own buttons with Sprites.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can combine as many conditions as you want, so it would be condition 1 : slot.used=false and condition 2 : pick nearest slot to (item?)

  • There is a 'pick nearest' condition

  • What is it doing instead of the expected outcome? Try picking the list with a different kind of condition, maybe it's picking the wrong one or can't find it if the instance variable is not set correctly.

  • Use 'Simulate Control' on the platform behaviour to make it walk automatically to the right, you could do this for a few seconds on a timer then stop and give control to the player.