the screen wherever desired. ButPUT and GET create slow, flickeryanimation in BASIC. Instead ofPUT and GET, this program makeseach puzzle piece into a bob andanimates it with OBJECT commands. The result is much smoother animation. You can still noticeslight jerkiness in the piece's motion when you carry it with thepointer, but this is due to delayscreated by background routines activated by ON TIMER.The process of creating a bobinvolves several steps. First, GET isused to capture all the graphic datafor each shape in an integer array.This integer array is then convertedinto a string array. The string array,in turn, is concatenated into a general string array that holds the bob'sfeatures and is used to animate thebob with OBJECT.DRAW commands. This simple method of creating bobs and sprites has not, tomy knowledge, been documentedwidely.Amiga JigsawFor instructions on entering this program,please refer to "COMPUTEI's Guide to TypingIn Programs" in this issue of compute!.FOR irow=0 TO rLast *FOR icoL=0 TO cLast*WINDOW OUTPUT 3*x=FNXYfmRC{icoL+1,xwidth):y=FNXYfmRC(irow+1,ywidth}*GET (x,y)-(x+xwidth-l,y+ywidth-l),a(0,0Hs $ ( i coL, i row ) = " " *iLast=getsize-l-«FOR i=3 TO iLast:3$(icoL,irow)=s$(icoL,irow)+MKI?(a(i,0)):NEXT*WINDOW OUTPUT 2*i=icoL+ncoLs.pzL*irow*X=FNXYfmRC(coLs(i),xwidth):y=FNXYfmRC(rows(i) .ywidth)*PUT (x,y),a(0,0)*pcoL(icoL,irow)=coLs(i):prow{icoL,irow)=rows(i)*NEXT: NEXT-*WINDOW 2*1 Shuffle the pieces-*FOR i=0 TO 20*Pick.RC:-*FOR j = l TO 2*coL(j)=INT(ncoLs.pzL*RND):row(j)=INT(nrows .pzL*RND)*NEXT j*IF coL(l)=coL{2) AND row{l)=row(2) THEN GOTO Pick.RC-*FOR j=l TO 2 *x(j)=FNXYfmRC(pcoL(coL{j),row(j)) , xwidth)*y(j)=FNXYfraRC(prow(coL(j),row{j)) , ywidth )■*GET (x(j),y(j))-(x(j)+xwidth-l,y(j)+ywidth-l),a(0,j-1)*LINE (x(j),y{j))-(x(j)+xwidth-l,y( j)+ywidth-l) ,0,bf*NEXT j*PUT (x(l),y(l)),a(0,l):PUT (x(2),y(2)),a(0,0)*SWAP pcoL(coL(l),row(1)),pcoL{coL(2) ,row(2) )*SWAP prow{coL(1),row(l)),prow(coL(2),row(2))-
END**Beap:*SOUND <strong>80</strong>0,1,100,0:SOUND 1000,1,100,0-*RETURN**Fit2Scn:*IF xxmax THEN x=xmax-*IF yymax THEN y=ymax*RETURN*■cWhatsThere:*piece=faLse:cLast=ncoLs.pzL-1:rLast=nrows .pzL-1-*FOR c=0 TO cLast*FOR r=0 TO rLast*IF pcoL(c,r)=coL THEN-*IF prow(c,r)=row THEN piece=true:cp=c:rp=r:RETURN*ENDIF*NEXT:NEXT*RETURN-**Hake.PuzzLe:*FOR i=0 TO 1*x(i)=xmax.pzL*RND:y(i)=Move.piece*RND*v:*vx(i)=2*vmax*RND-vmaxivy(i)=2*vmax*RND-vmax*IF vx(i)=0 OR vy(i)=0 THEN GOTOv*NEXT*coLr=coLrmin*WHILE INKEY$=""*FOR i=0 TO 1-4x{i)=x(i)+vx(i)4y{i)=y(i)+vy(i)*IF x(i)=xmax.pzL THEN-*vx(i)=-SGN(vx(i))*(RND(vmax)+vmin)*END IF*IF y(i)=Move.piece THEN*vy(i)=-SGN(vy{i))*(RND(vraax)+vmin)*ENDNEXT*IF*coLr=coLr+l:IF coLr>coLrmax THENcoLr=coLrmin*LINE (x(0),y(0))-(x(l),y(l)),coLr*WEND *RETURN-**Show.Time:*T2i=TIMEIWLOCATE 23,1:PRINT "Time:";CINT{T21-tl);*GOSUBRETURN*4Nu.CoLors:*CoLr.Shift*DATA .99,.05,.03*DATA .99,.70,.03*DATA .59,.99,.03*DATA .03,.99,.11*DATA .03,.99,.81*DATA .03,.51,.99*DATA .22,.03,.99*DATA .89,-03,.99*DATA .99,.03,.40**CoLs.Rowsi*DATA 1,1,2,2,1,3,2,4,1,5,2,6,1,7*DATA 9,1,10,2,9,3,10,4,9,5,10,6,9,7*DATA 3,1,4,2,5,1,6,2,7,1,8,2*9AtariSpeedScriptCustomizerThis short utility allows Atari users toeasily personalize SpeedScript 3.0.This menu-driven program makesit possible to customize Atari Speed-Script 3.0 for your personal use.Using a convenient, onscreenmenu, you can choose new screencolors or change the default diskdrive, a feature that's very usefulfor 130XE owners. Type in the program and save it to disk. When youtype RUN, an introduction screenappears. Press the space bar to continue to the first menu. Select one ofthe four choices by pressing thecorrect numeric key. Press 1 forscreen changes, 2 for both changes,or 3 for the RAMdisk change alone.Press 4 to return to BASIC.If you choose options 1 or 2,the program displays screens describing the method for selectingcolors. To change the border color,enter a number from 0 to 127. Following is a list of possible valuesand their colors:BlackRustRedCobaltGreenOrange08324888120David S. BryantYou will also be prompted toenter a number from 0-7 for thetext luminance value. A 0 represents the lowest luminance value(dark text), and 7 the highest value(bright text). The screen changes toshow your choices. If no text isvisible, you have set both text andborder luminance at the same values. Press Y to confirm the choiceswhen you are satisfied with thecolors.To change the default diskdrive, make sure that the file RAM-DISK.COM is on the current disk.The available drives in the diskcommand menu are changed to 1,2, 3, and 8 (drive 8 has been exchanged with drive 4). You may notuse the F option to format drive 8;however, all other features work asusual.After you make your selections, insert the disk which containsa copy of SpeedScript 3.0. (Youshould make the changes on a copyof SpeedScript, not the original program.) Enter the filename underwhich SpeedScript was saved(AUTORUN.SYS or SCRIPT-30.COM) and press RETURN. Theprogram reads the file into memory, then prompts you to insert aFebruary 1987 COMPUTB 49
- Page 2 and 3: We just did something only the best
- Page 4 and 5: icate Maker!Because accomplishments
- Page 6 and 7: Editor'sNotesThis is the 81st issue
- Page 8 and 9: PublisherFounder/Editor in ChlelSen
- Page 10 and 11: Selby BatemanFeatures Editor....
- Page 12 and 13: , ■■-■■'■ ;-.-..■■■
- Page 14 and 15: The new Compaq Deskpro 386 is among
- Page 16 and 17: Selby Bateman, Features Editoricrop
- Page 18 and 19: 68030 chip, which should be readyfo
- Page 20 and 21: computer are often called proprieta
- Page 22 and 23: Tom R. Halfhill, Staff Editorore By
- Page 24 and 25: Selby Bateman, Features Editorasers
- Page 26 and 27: MicroscopeSheldonLeemonThe new Appl
- Page 29 and 30: Fly to Florida!Scenery Disk # 7 cov
- Page 31 and 32: contains twice as many vertical pix
- Page 33 and 34: And you don't even have toleave you
- Page 35 and 36: Increase your knowledge about all a
- Page 37 and 38: BEST SERVICE IN THE USA • ONEDAY
- Page 39 and 40: BATTERIES Sg? INCLUDEDTHE FOUR LETT
- Page 41 and 42: LYCOCOMPUTERMARKETING & CONSULTANTS
- Page 43 and 44: ATARIJKLYCOCOMPUTERMARKETING & CONS
- Page 45 and 46: QuickProDOSCatalog For AppleLarrySh
- Page 47 and 48: Behaved Batch FilesCOPY CON: YESNO.
- Page 49: ASC II ExpressBalance of PowerBally
- Page 53 and 54: COMMODOREAPPLEC64 COMPUTER C-128COM
- Page 55 and 56: FileCompressorChrisRogersThis Commo
- Page 57 and 58: character n. Whenever File Compress
- Page 59 and 60: \Make Your ChoiceC-64 or C-128BASIC
- Page 61 and 62: RP0A71i4C0A79:1B0A81:0A0A89:1F0A91i
- Page 63 and 64: ACCOLADEHardball 24.95Mean 18 31.95
- Page 65 and 66: Ibefore a move is made. Each compar
- Page 67 and 68: PH 1390 IF P$="C" AND T0>=7 THEN .1
- Page 69 and 70: 5D 2310 DATA 30,34,34,30,2,2,2,0FE
- Page 71 and 72: I10 630 P$="C"BC 640 REM tt PICK BE
- Page 73 and 74: ,——■———U-J>G>Player■p
- Page 75 and 76: INSIGHT:AtariBillWilkinsonNumber-Ba
- Page 77 and 78: EMPX,TEMPY,MASKBH 9140 TEMPX-X1TEMP
- Page 79 and 80: AmigaViewSheldonLeemonThe Latest Am
- Page 81 and 82: Computers and SocietyDavid D. Thorn
- Page 83 and 84: RUSH POSTAGE-PAID CARDFOR YOUR FREE
- Page 85 and 86: Train with NRI for a high payingcar
- Page 87 and 88: PersonalComputingDonald B. irivette
- Page 89 and 90: 3M DiskettesICEI has an outstanding
- Page 91 and 92: key (Atari logo key on 400/800 mode
- Page 93 and 94: MLXMachine Language Entry ProgramFo
- Page 95 and 96: THEN PRINT IN?iPRINTM{UP][5 RIGHT}"
- Page 97 and 98: When you want to talk price.AmdekMO
- Page 99 and 100: THE LOWESTTHE BESTPRICESSERVICEELEC
- Page 101 and 102:
fNOWAVAILABLE AT24$O>!00The Mew Car
- Page 103 and 104:
COMPUTERSFREE Reader Information Se
- Page 105 and 106:
STARGLIDERJJtarglider — is an all