Derelict Station is the result of a four week long scripting assignment. The objective was to take the basic side-scrolling shooter framework provided by the professor and add functionality, including:
Production time: 4 weeks (approx. 20 hours per week)
Basic avoidance script for an enemy robot:
Every object includes a property that determines its layer. Below is an example of code using this property to determine if bullets should collide with the player.