top of page

4th March

turret shooting.png

A Toggle Switch has been created. This is activated when it is shot by a bullet and is used to activate/deactivate platforms. 

fadeout script.png

The fade out script has been modified slightly to allow the timer to be turned off. This is because a platform that has been toggled off by a switch should only be reactivated by that toggle switch, and not turn back on after a set time. This also allows the same fadeout script to be used on the platforms for toggling on/off and for being hit a bullet. 

This code is used for toggling the platforms on and off. It uses similar code to the fadeout script for deactivating the platforms, but it only called if a the toggle switch is hit. 

toggle script.png
bottom of page