Skip to navigation

Aviator on the BBC Micro

The Theme: distanceFromHit

Name: distanceFromHit [Show more] Type: Variable Category: The Theme Summary: The distance from the alien we just hit, so we can work out whether we get hit by turbulence Deep dive: Explosions and turbulence
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyFlightModel (Part 3 of 7) calls distanceFromHit * ExplodeAlien calls distanceFromHit * MainLoop (Part 6 of 15) calls distanceFromHit
.distanceFromHit EQUB &48