Newly created objects not being displayed on first pass??

Get help using Construct 2

Post » Mon Mar 30, 2015 7:02 am

Hello all,

I come to you today with an issue I have repeatedly run into on my current project.
Mainly, that objects created in some of my triggered events, while reflected in the object count, don't seem to display until triggered a second time. I am not certain if I am failing to grasp something fundamental about the way events propagate in C2, or if this is a bug of some sort.

In the event pictured below, the circled action is triggered successfully by the loop and the objects created (according to the objectCount expression) however none of these objects will become visible until this same event is triggered a second time.

Image

Has anyone run into this issue in the past?

In some cases a work around is possible by using a global triggering variable that triggers the action in a separate function, but in this particular instance that solution would be cumbersome. Any advice would be greatly appreciated.
B
4
Posts: 4
Reputation: 210

Post » Mon Mar 30, 2015 7:51 am

Hello all, sorry for bumping this.

I seem to have resolved my problem. As usual, it was even stupider than I thought.
I was simply spawning these objects off screen and not realizing it. :roll:
B
4
Posts: 4
Reputation: 210


Return to How do I....?

Who is online

Users browsing this forum: KNTMartin, sebastiangohhy and 6 guests