lcd issues


    Jan 04 2009 | 10:06 pm
    Three issues I found with lcd
    1. Content in sprites is not written to file with the writepict command
    2. Relative movement (using eg move and line) are affected by the location of the sprite they're in
    3. In some circumstances the paintrect command disables linesegment commands
    for the 3rd issue the list at the end of this message should be copied to a text file and used in the patch with [text].
    _ johan
    print: clear print: framerect 20 50 770 75 print: linesegment 20 56 769 56 print: linesegment 20 62 769 62 print: linesegment 20 68 769 68 print: moveto 23 45 print: write 156 print: moveto 40 100 print: write -6 0 0 0 0 0 print: paintrect 85 57 93 60 print: moveto 165 100 print: write 85 89 77 76 84 82 print: linesegment 174 44 185 44 print: linesegment 174 38 185 38 print: pensize 2 2 print: linesegment 170 36 173 34 print: linesegment 170 41 173 39 print: pensize 1 1 print: linesegment 171 32 171 45 print: linesegment 173 31 173 44 print: paintoval 177 35 184 41 print: paintoval 176 36 183 42 print: linesegment 190 44 201 44 print: linesegment 190 38 201 38 print: linesegment 190 32 201 32 print: paintoval 193 26 200 32 print: paintoval 192 27 199 33 print: paintoval 209 47 216 53 print: paintoval 208 48 215 54 print: paintoval 225 50 232 56 print: paintoval 224 51 231 57 print: linesegment 238 44 249 44 print: linesegment 238 38 249 38 print: paintoval 241 35 248 41 print: paintoval 240 36 247 42 print: linesegment 254 44 265 44 print: linesegment 249 45 249 34 print: framearc 249 39 253 43 -20 160 print: linesegment 252 42 250 44 print: framearc 250 38 254 42 -20 160 print: linesegment 253 41 251 43 print: paintoval 257 38 264 44 print: paintoval 256 39 263 45 print: moveto 290 100 print: write 83 89 77 84 82 83 print: linesegment 299 44 310 44 print: paintoval 302 38 309 44 print: paintoval 301 39 308 45 print: linesegment 315 44 326 44 print: linesegment 315 38 326 38 print: linesegment 315 32 326 32 print: paintoval 318 26 325 32 print: paintoval 317 27 324 33 print: paintoval 334 47 341 53 print: paintoval 333 48 340 54 print: linesegment 347 44 358 44 print: linesegment 347 38 358 38 print: paintoval 350 35 357 41 print: paintoval 349 36 356 42 print: linesegment 363 44 374 44 print: linesegment 358 45 358 34 print: framearc 358 39 362 43 -20 160 print: linesegment 361 42 359 44 print: framearc 359 38 363 42 -20 160 print: linesegment 362 41 360 43 print: paintoval 366 38 373 44 print: paintoval 365 39 372 45 print: linesegment 379 44 390 44 print: paintoval 382 38 389 44 print: paintoval 381 39 388 45 print: moveto 415 100 print: write 89 -1 -4 0 0 0 print: linesegment 424 44 435 44 print: linesegment 424 38 435 38 print: linesegment 424 32 435 32 print: paintoval 427 26 434 32 print: paintoval 426 27 433 33 print: linesegment 448 59 443 74 print: paintoval 440 64 444 68 print: linesegment 443 67 446 65 print: paintoval 442 58 446 62 print: linesegment 445 61 448 59 print: moveto 540 100 print: write -6 0 0 0 0 0 print: paintrect 585 57 593 60 print: moveto 665 100 print: write -1 77 84 83 -1 89 print: linesegment 682 59 677 74 print: paintoval 674 64 678 68 print: linesegment 677 67 680 65 print: paintoval 676 58 680 62 print: linesegment 679 61 682 59 print: paintoval 693 47 700 53 print: paintoval 692 48 699 54 print: linesegment 706 44 717 44 print: linesegment 706 38 717 38 print: paintoval 709 35 716 41 print: paintoval 708 36 715 42 print: linesegment 722 44 733 44 print: paintoval 725 38 732 44 print: paintoval 724 39 731 45 print: linesegment 746 59 741 74 print: paintoval 738 64 742 68 print: linesegment 741 67 744 65 print: paintoval 740 58 744 62 print: linesegment 743 61 746 59 print: linesegment 754 44 765 44 print: linesegment 754 38 765 38 print: linesegment 754 32 765 32 print: paintoval 757 26 764 32 print: paintoval 756 27 763 33

    • Jan 23 2009 | 9:02 pm
      Is there a fix for lcd not writing sprites to a file? I have a patch that depends on this feature.
    • Jan 23 2009 | 11:23 pm
      I'll write the writepict message issue up as a bug.
      -Ben