lionz's Forum Posts

  • Check in debug preview to see the number of instances and if they are spawning. Also to note If you didn't set positions or anything then each object will spawn on top of each other. If you mean none of the objects are spawning then check the layer you are spawning them, but start with debugger and you can see if they actually spawned.

  • Ah ok looks like maybe picking issue. If a skeleton dies, you need to spawn the item on a skeleton (the one you picked on death), not 'family enemy'.

    If you called the function on family enemy 'death animation finished', then using family enemy again in the function is fine and makes sense.

    The function also needs to have 'copy picked' enabled in its setting so that it keeps the picked instance between the original call and inside the function.

  • You didn't share where the function is being called. Use Browser log action to log the values, it will help you determine if they are as expected.

  • Oh you switched to using the array instead of system conditions now. Instead of loopindex you can use the array condition 'compare current value' of X.

  • Are the empty cells 0 or just empty. If empty you need to use "". Also you removed the stop loop action but you will need that or it will fill all empty cells with the variable instead of the first one found.

  • There is no condition to check if it's empty. if array.at(loopindex) = "" or something like this

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • Have you tried set layer or layout scale under system actions? This might help zoom in.