Header

Header

Tuesday, 21 October 2014

ACSS InfoTech 2014-15 Day: 19

Today, I worked with making a clickable mute button. The first thing that I had to do was create two different sprites (one for the "on" button and one for the "off" button):














To do this, I needed to create a sprite and place both .png files into them by using the "add from file" option. After that, I created an object (using these two .png files) and used a script that controlled the sound volume when left-clicked with the mouse.


After testing out the button, I still come across a significant problem in which the volume icon switches on its own. This only really tells me that there is something wrong with the scripting in "Left Click Pressed" area of the project. 


No comments:

Post a Comment