Shop OBEX P1 Docs P2 Docs Learn Events
Spin Tools IDE - Page 22 — Parallax Forums

Spin Tools IDE

1161718192022»

Comments

  • @Wuerfel_21 said:
    @macca
    I think there's something not quite right

    {Spin2_v50}
    DAT
            orgh
            namesp a
    bar     long @glbl
            namesp b
    foo     long @a.bar
            namesp a
            long @foo
            namesp
    glbl    long 1,2,3
            
    

    Why is foo still in scope after going back to namesp a? (bar is not in scope!)

    Yes, there is something wrong in the scope handling, will look at it.

    Also am I right in assuming that namesp without parameter returns to global mode?

    Yes.

  • JonnyMacJonnyMac Posts: 9,229
    edited 2025-02-25 17:24

    Thank you, Marco!

    I noticed a small difference in the crop feature when opacity is not $FF: in PNut, it seems only to apply to manual drawing, but in Spin Tools it seems like it's applied to crops, too. In the attached screen shots you can see what I mean. In the analog meter demo the needle is drawn first and then partially hidden by crop commands. When the needle is set to translucent, the lower portion shows up through the crops.

    I got around this by reducing opacity just before the needle draw, then putting it back to $FF before the crop that hides the bottom of the needle.

    1920 x 1030 - 317K
    1920 x 1030 - 152K
  • @JonnyMac said:
    Thank you, Marco!

    I noticed a small difference in the crop feature: in PNut, it seems only to apply to manual drawing, but in Spin Tools it seems like it's applied to crops, too. In the attached screen shots you can see what I mean. In the analog meter demo the needle is drawn first and then partially hidden by crop commands. When the needle is set to transparent, the lower portion shows up through the crops.

    Ahah... it is the bitmap draw, I forgot to reset the opacity before drawing the bitmaps.... will fix soon.

Sign In or Register to comment.