Shop OBEX P1 Docs P2 Docs Learn Events
Graphics Settings — Parallax Forums

Graphics Settings

Harry1Harry1 Posts: 29
edited 2007-02-07 22:16 in Propeller 1
Hello,

I am currently working on a lcd:·http://www.parallax.com/detail.asp?product_id=603-32000

and i am also using the Graphics class and so i am wondering what would be good values to put for the setup method

PUB setup(x_tiles, y_tiles, x_origin, y_origin, base_ptr) | bases_ptr, slices_ptr
'' Set bitmap parameters
''
''·· x_tiles······· - number of x tiles (tiles are 16x16 pixels each)
''·· y_tiles······· - number of y tiles
''·· x_origin······ - relative-x center pixel
''·· y_origin······ - relative-y center pixel
''·· base_ptr······ - base address of bitmap

Comments

  • inserviinservi Posts: 113
    edited 2007-02-04 17:34
    Hello,

    Are you looked in the Graphics_Demo.spin in the library furnished with the Propeller tool ?

    dro

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    in medio virtus
  • AndreLAndreL Posts: 1,004
    edited 2007-02-04 21:52
    Also, this is covered in detail with demos in the "Game programming for propeller powered hydra", I show use of many of the graphics commands in real demos. But, as noted the parms are described in the code itself, they just take a little research to figure out what's what with some experiments.

    Andre'
    ·
  • Harry1Harry1 Posts: 29
    edited 2007-02-06 19:39
    inservi said...
    Hello,

    Are you looked in the Graphics_Demo.spin in the library furnished with the Propeller tool ?

    dro

    yes, i am
  • Harry1Harry1 Posts: 29
    edited 2007-02-07 22:16
    so does anyone know what i should put for those values?
Sign In or Register to comment.