Pyro 2 Layout Issues

About Monkey 2 Forums Monkey 2 Programming Help Pyro 2 Layout Issues

Tagged: ,

This topic contains 4 replies, has 3 voices, and was last updated by  APC 1 year, 2 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12872

    APC
    Participant

    Hello Playniax,

    I am having some issues aligning pyro2 Labels on the screen, for some reason it is behaving like the Handle of them is set to center (0.5, 0.5).

    I am using the latest Monkey2-v1.1.09

    On pyro it was just a matter to SetHandle to (0,0). On Pyro2 there is nos such seeting

    I tryed to play with diferrent layouts, Gravity and Resolution.

    The code below is a modification of the your cartoon template and I added keys to change the parameters of R-Resolution, L-Layout and G- Gravity.

    I sent you the project to your e-mail, because it exceed the limit here.

    Please let me know what I am doing wrong.

    #12900

    Abe _King_
    Participant

    Could you perhaps include a link to the project for us as well? I’m interested to see if I can help!

    Possibly upload the code to gist.github.com…

    #12903

    APC
    Participant

    Abe_King_,

    Here is the link to the project. https://github.com/aroldo/M2P2-MenuTemplate

    My issue is with the positioning of the gui components on the screen.

    #12918

    Playniax
    Participant

    You should be able to set the handles with Handle, HandleX and HandleY

    For example: Handle=New Vec2f( 0,0 )

    Or: HandleX=0

    Or HandleY=0

    Let me know if it helped!

    #13062

    APC
    Participant

    playniax thank you that worked !

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.