

                               Box85 levels
                               ------------

  I will explain here the way to create new levels for Box85.



  First, there's no level editor. You make your levels with a simple text
  editor.

  The size of the levels is 14*8. To make your levels, you have 4 different
  sprites:

                     Nothing    ->  Code: 0
                     Wall       ->  Code: 1
                     Box        ->  Code: 2   
                     Place      ->  Code: 3   

  So, your level looks like this:

       MyLevel  .DB 1,1,1,1,1,1,1,1,1,1,1,1,1,1
                .DB 1,0,0,0,0,0,1,1,0,0,0,0,1,1
                .DB 1,0,0,0,0,0,1,1,0,0,0,2,0,1
                .DB 1,0,0,2,0,0,0,1,0,1,0,0,0,1
                .DB 1,0,0,0,0,0,0,0,0,1,0,0,0,1
                .DB 1,0,0,0,3,3,3,0,0,0,0,2,0,1
                .DB 1,1,0,0,0,0,0,0,0,1,0,0,0,1
                .DB 0,1,1,1,1,1,1,1,1,1,1,1,1,1
   

  But, to play, we need more informations: the number of boxes in the level
  and where the guy starts. In this case, we use two more bytes:



       MyLevel  .DB 4           ;Number of boxes

                .DB 16          ;Where the guy starts. Relative position
                                ; in the level.

                .DB 1,1,1,1,1,1,1,1,1,1,1,1,1,1
                .DB 1,0,0,0,0,0,1,1,0,0,0,0,1,1
                .DB 1,0,0,0,0,0,1,1,0,0,0,2,0,1
                .DB 1,0,0,2,0,0,0,1,0,1,0,0,0,1
                .DB 1,0,0,0,0,0,0,0,0,1,0,0,0,1
                .DB 1,0,0,0,3,3,3,0,0,0,0,2,0,1
                .DB 1,1,0,0,0,0,0,0,0,1,0,0,0,1
                .DB 0,1,1,1,1,1,1,1,1,1,1,1,1,1

  Then, create more levels on the same way. 


  Put the .END directive on the last line and save your file as MyFile.INC
  (don't change the extention).

  Now, we'll pack our levels. For that, we need TASM.
  Just run PACK.BAT. For example, type 'PACK MyFile'. 

  Finaly, we had to make two changes in Box85.ASM:

        Update the number of levels: NB_LVL             (Start of source)
        Include the new levels: #INCBIN MyFile.PAK      (End of source)

  And then, re-compile Box85.

  I hope it's not too difficult :)
