Shop OBEX P1 Docs P2 Docs Learn Events
Demo Board arrived - one questions on PIX sprite — Parallax Forums

Demo Board arrived - one questions on PIX sprite

mike101videomike101video Posts: 43
edited 2006-06-13 02:42 in Propeller 1
The demo board arrived today - earler that predicted ( Parallax seems to be doing a great job at shipping early....smile.gif

Modified the video demo, to remove everything except the mouse pix sprite, the number count, and the text box with propeller. I noticed that the prite moves BEHIND the other graphics on the screen, rather than on top. ( The cross hairs go behind the text/graphics box...)

I make a good user interface, I need the sprite to be at the "front" on top of all the other graphics on the screen.

Is there a way to make this happen???

Mike

( Code attached )

Comments

  • CJCJ Posts: 470
    edited 2006-06-13 01:08
    I moved the mouse draw to the last step to make it appear on top

    attached

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Who says you have to have knowledge to use it?

    I've killed a fly with my bare mind.
  • mike101videomike101video Posts: 43
    edited 2006-06-13 02:03
    Thanks,
    I had just come up with the same answer - I guess the order of mapping graphics into the bitmap is significant.

    Mike
  • cgraceycgracey Posts: 14,206
    edited 2006-06-13 02:42
    Yeah, as you draw onto the bitmap, the last thing drawn is always on top.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔


    Chip Gracey
    Parallax, Inc.
Sign In or Register to comment.