Last modified on 6 January 2013, at 17:51

PCN May 1985

Revision as of 17:51, 6 January 2013 by Border 7 (Talk | contribs)

Creating Amstrad Games with a Bang

When writing games for the Amstrad CPC464, with explosions, it is sometimes an enhancement to make the screen shudder during the bang. The first two OUTS turn it out; the second two turn it off.
OUT &BC00,8:OUT &BD00,1
OUT &BC00,8:OUT &BD00,0 The following routine is a simple, but flashy way to clear the screen:
LOCATE 1,1:SOUND 130,0,50,3,0,0,1:PRINTSTRING$(25,11);