lionz's Forum Posts

  • Toggle sets it to the opposite of what it currently is. If it's true it changes to false. If it's false it changes to true, each time you click the button.

  • Did you check what I said? Construct will only read your events if the event sheet is linked to the layout, did you try this? If you do not have an event sheet linked then it doesn't matter what you put in it.

  • Nice yes destroying it would also work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes, Construct is good for platformer.

  • Have a variable set to 0 for example and if you click the sprite then it shows the thing if the variable is 0 (condition). Start a timer for 10 seconds, using 'on timer' finished set the variable to 1. Then when you click the sprite nothing will happen because the variable changed.

  • What pause button?

  • No somehow that got worse. First condition - animation frame=item.id, add amount. (this means it already exists). second condition - Else, pick nearest to 0,0 where animation frame=0 and set the item id and add the amount.

  • On the back and end conditions you are setting inchat to 0 twice, one of those should be a chatpos variable. That might cause it. Yes on my example open up the 'on touched NPC' event you will see it has sub events.

  • Does the touched NPC event have the sub events ? I would try and understand the file so you can suit it to your game. Copy and paste you will get lost later on if bugs occur.

  • Also I just noticed you are settin the fps to a text object every 0.2s which might not give good results so I hope you're not using that, again in the debug preview it shows the FPS.

  • Well I had a good look at it and I don't see any potential performance issues.

  • Is that all nested under the every 0.2 seconds? I can't really help with this it looks convoluted and I don't know what's going on. Maybe there is a simpler way to do what you want though.

  • Not sure what the screenshot is showing but this could be a common error where you forget to link an event sheet. Layout 2 should have an assigned event sheet, check in layout properties.

  • We would need to see all the events to give an idea, this event looks like its indented a lot of times as a sub event. For example calling a function is not going to resolve anything if those events are running every tick.

  • That's great then, 7mb is very low. Your objects must be using the same graphics.