lionz's Recent Forum Activity

  • Someone would have to take a closer look at the file but the event you enabled is a trigger once event, it shouldn't be triggering all the overlap checks all of a sudden. I think the poly checks bit is the important one for performance, the field below the one you are mentioning in the video. I don't know how it jumped from 0 to such a higher number by enabling that event.

  • It's strange that you asked this question but you didn't use the toggle action hehe. There is a toggle boolean action you can trigger when you press escaped, that would work on its own.

    The reason why it's not working for you here is because in Construct it runs the events from top to bottom so by the time it triggers the second event the variable is set to true and sets it back to false. You can use a sub event with an Else to get this to work, where Xis Pause Else is Pause will trigger only one time, or as mentioned above the toggle action on Escape pressed.

  • It could be that the layout is not reading the event sheet. Each layout can be assigned an event sheet so make sure the events are on the one that is linked. If the layout properties don't show an assigned event sheet then you can set it.

  • No problem. If you have any more problem with global layers feel free to respond here, or there is the manual with some useful tips!

  • The map icon persists between layouts because it is set to global. You can use the global layer and untick the global option on the object itself. Global objects and global layers are different.

  • I'm interested to know the size of your game that is too big to go on an Xbox because that sounds huge.

  • Well the conditions are as expected, what did you use for the action? 'Go to layout' under system actions is what you need.

  • Didn't you pin them the opposite way on start of layout? It looks like it should be B pinned to A

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried set layer or layout scale under system actions? This might help zoom in.

  • 'Pick instance with UID Jaune.ID' this does nothing. Use a global variable instead of an instance variable to pick the object again in the second event. Set global variable to object.UID in the first event. Change to pick instance with UID - global variable in the second event.

  • It's not complicated if you use events but you've chosen to use scripting, an additional feature which is programming in javascript. I don't think you can even access the array object in the way that you're attempting but I could be wrong.

    You likely won't be able to use the usual methods like array.at(a,b) so probably it doesn't recognise MyArray at all, thought I've not tried this combination of events and javascript before. I assume you create the array yourself in code if you decide to go down the scripting method, something like const MyArray = [a,b,c]

    If you can use such methods as above in the scripting like array.at(a,b) from the array object then this looks like a separate coding issue to do with scope of variables and accessing the array.

  • Sorry I don't know, you can log the variable to see if it's as you expected. I would not use arrays like this though I would just call the function.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 72 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies