Game Development Reference
In-Depth Information
GameState
.
switch(pause)
end
# ...
end
# ...
def
leave
StereoSample
.
stop_all
@hud
.
active
=
false
end
def
enter
@hud
.
active
=
true
end
# ...
end
Time for a test drive.
Pausing the game to see the score
For now, scoring most kills is relatively simple. This should change when we will tell
enemy AI to collect powerups when appropriate.