11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

cTHETARGETS ARE HEARTSAdd these lines:30GOSUB400400 REM HEARTS405 FOR L=1 TO 20410J=1024 + INT(RND(1)*23+1)*4O420IHNT(RND(1)*36+1]430 POKE I+J.83450 NEXT L499 RETURNSave and then run it.The arrows hit the hearts and erase them.POPPING THE TARGETSAdd this line:325 IF PEEK(X)=83 THEN S=0:POKE X.91 :RETURNPEEK to see if the arrow is about to hit a target.PEEK(X) tells the number of the character at the spot the arrow is about to move on to.If the spot has number 83, it is a heart. Then pop it by poking a cross there. Set S equalto zero because that arrow is finished moving.Assignment 28B:1. You can change the CUPID program in many ways. Change which characters areused. Change colors. Change the column in which the diamond moves.2. Add a "laser" sound which starts when the arrow is shot and stops when the arrowends its flight.3. Why does the diamond dodge around while the arrow flies? It only makes sense if thehearts are shooting back at the the diamond! Add missiles which try to hitthe diamond.163

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!