Skip to navigation

Revs on the BBC Micro

Driving model: playerDrift

Name: playerDrift [Show more] Type: Variable Category: Driving model Summary: Records whether the player's car is moving sideways by a significant amount
Context: See this variable in context in the source code References: This variable is used as follows: * ApplyGrassOrTrack calls playerDrift * MovePlayerOnTrack calls playerDrift * SetPlayerDriftSup calls playerDrift
.playerDrift EQUB 0 \ If bit 7 is set, then the player's car is moving \ sideways by more than 22 in this iteration around the \ main driving loop (where the track width is 256)