[Game] Space Pirate - laser defender clone

I appreciate any feedback. Please use the Chrome browser for best performance.

https://gamebucket.io/game/25c13844-a9ea-40e4-b1b3-ddc985582ac6

Also, does anyone know how to deploy sounds after a certain amount of time has elapsed?

Thanks!
James

“You got pirated” hahaha I loled. To deploy delayed sound or do any kind of delayed processing you can do as follows.

Invoke(“DelayedMethod”,delay);

Then inside the method “DelayedMethod” use your AudioSource.Play() as follows

void DelayedMethod(){
audioSource.Play();
}

You can use this with any method. The name doesn’t need to be “DelayedMethod”.

1 Like

Ah this is very helpful.

I’m very excited to incorporate this method.

Thank you so much!

Best,
James

Privacy & Terms