) DELAAAC1% @ D:GRAFP.SAV&(>:A%,CLEAR SCREEN'AR@'TURN OFF CURSOR$ A$SIMPLIFIED PMG SETUP *-@@*(In this example,(we are NOT using(ANTIC or Direct( Memory Access (to fetch Players !( or Missiles.#- A -Wait for user to press a key.$(>:A%,CLEAR SCREEN()-@$@ )(Notice how easy*'-@$@'( it is to add ,#-@$@#( Color to .*-@$@*(Graphics Mode 0.2.6-A A.PAUSE FOR A MOMENT<:-@$@$( Like this!06-@P: A>?B2HAv'B2IAD?PUT PLAYERS ON SCREENA6-A AF(-@$@((It's also easyP(-@$@((to change thatQ7-@$@ !(color. -6-A7 AU{-AT@36-@#@?AKAO {X=53 is added here simply to add a pauseZ'A@'A@d Af"(>:A%,"-@@i(And it's easy toj(go back to the regulark(playfield color.l A nAB2H'B2IAMOVE PLAYERS OFF SCREENs Au((>:A%,(((-@@x(You can also fill}(the entire screen(with all 5 players.6-A A!((Like so:!6-#@. A.MOVE ALL 5 PLAYERS ONTO SCREEN, A(>:A%,,-@@##(The playfield is now hiding!(behind the players.(!(6-AP A (Now I'll put it in front(of the players.36-A A3A#@%@X6-A A&(>:A%,8-@@X(Next, when you press a key,!!(I'll shrink the playfield9(for a moment by poking 9(Location 559 with 33.d A (>:A%,4AY@%@2@6-AJ AdAY@%@2)( ()(Next, let's set each player(to a different color.' A 'AY@%@2A@'A@d9A@KAAD]AASET PLAYERS TO DIFFERENT COLORS(>:A%, A.-@@.(Notice that players $$(0-3 are behind the playfield(but Player 4 (at right)%%(is in front of the playfield. A  Q(>:A%,*A#@%@QSET PRIORITIES AND ENABLE 5TH PLAYER2-@@2(As you can see, Player 4%%((the one made up of missiles)##(always displays in front of@(all playfields.! A .(>:A%,@-@@v(Let's get rid of the 3(playfield again. = A J(>:A%,dA#@%@v-@@ (( Playfield now hiding.( A <(>:A%,*A#@%@<-@@ (In conclusion, here's an(example of how you can!!(overlap players to create(a multicolored object." A (>:A%,$x%A#@%@%@2xSET PRIORITY, ENABLE 5TH PLAYER, CREATE MULTICOLORED OBJECT WHEH PLAYERS OVERLAP+$$SET PLAYERS 0 AND 2 TO OVERLAP, B2H@H PLAYER 06'B2I@H%@'OVERLAP@'B2P'MOVE OFF SCREEN^B2QhB2RrB2S|B2TB2U*-@@*(The three colors'-@@'( at left were %-@@%( produced by(-@@((Players 0 & 1.)-@@)(You can use the&-@@&( same idea to'-@@'( make a multi-(-@@((colored flying%-@@%( spacecraft!(-@@"((END OF PROGRAM AXA#@%@XDISPLAY PLAYERS IN FRONT OF PLAYFIELD. ENABLE 5TH PLAYERpB2V@'B2W@9B2X@KB2Y@pSET ALL PLAYERS TO QUADRUPLE WIDTHR-B2`A%@H%@%@RSET ALL MISSILES TO QUARUPLE WIDTH*A@*SET PLAYER 0 COLOR&A@&PLAYER 2 COLOR&A@&PLAYER 2 COLOR&A@&PLAYER 3 COLOR&A@&PLAYER 4 COLOR/>>POKE DATA DIRECTLY INTO THE THE PLAYER GRAPHIC REGISTERS0)B2aAU)IMAGE FOR PLAYER0:B2bAUPLAYER1? B2cAU PLAYER 2D B2dAU PLAYER 3F!B2eAU!PLAYER 4!$-@ $ -F:Ad,AU*AdAU-$* A?-@@"%( TAP ANY KEY5( TO CONTINUE? A7-@@!'( 7( $ MOVE ALL PLAYERS ON SCREEN$B2H@H$HOR. POS. P0B2I@H%@2%%B2P@H%@$@2%%B2Q@H%@$@2%%B2R@H%@$@2//B2S@H%+@$@2,%@$//B2T@H%+@$@2,%@.//B2U@H%+@$@2,%@$8$ D:GRAFP.BAS