What went wrong here?

https://playcanvas.com/editor/project/1329946

For some reason, when I test it, the obstacles don’t show up at all and when I click play to see the user view, it’s only a black screen.

Hi @Aryan_Gutla!

The obstacles don’t receive the StartGame event. It looks like you’re only sending it to Player, not to Obstacles. I haven’t used events much myself, but maybe you don’t need to bind the event to a specific variable like Player if you want everything to listen to it?

Your fire code:
image

Your recieve code:
image

1 Like