Difference between revisions of "PCN May 1985"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(Created page with "'''Creating Amstrad Games with a Bang'''<br /> <br /> When writing games for the Amstrad CPC464, with explosions, it is sometimes an enhancement to make the screen shudder dur...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
'''Creating Amstrad Games with a Bang'''<br />
 
'''Creating Amstrad Games with a Bang'''<br />
 
<br />
 
<br />
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,0The 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);
+
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.
 +
<br />OUT &BC00,8:OUT &BD00,1  
 +
<br />OUT &BC00,8:OUT &BD00,0
 +
The following routine is a simple, but flashy way to clear the screen:
 +
<br />
 +
LOCATE 1,1:SOUND 130,0,50,3,0,0,1:PRINTSTRING$(25,11);
 +
 
 +
 
 +
May 1985 issue of [[Personal Computer News]]
 +
 
 +
[[Category:Magazines]][[Category:CPC_Press]][[Category:Personal_Computer_News]]

Latest revision as of 09:59, 19 July 2020

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);


May 1985 issue of Personal Computer News