The World of Spheres

What happens when there is 21 spheres, loaded into a world, each with their own unique code assigned to them? Chaos.

We were given each our own task, to create our own sphere code, which could do anything we wanted. I decided that upon every collision my sphere makes, the roblox death sound plays. Originally this was all that was going to happen, but i ended up taking it even further.

Picture1.png

The sphere had a rigidbody on, which i used at add some basic starter code to keep the sphere moving. then, upon every collision the sound file attached to Source is played.

Spheres.png

Afterwards i realised that i could actually change the pitch of the noise, so I made it so that the noise randomly changes pitch every time. It ended up great! Each sphere went well, but it crashed a lot. however i always knew mine was their due to the occasional “oo”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a website or blog at WordPress.com

Up ↑

%d bloggers like this: