Help quick

Discussion in 'Programming' started by SpaceKill, Oct 12, 2019 at 3:47 PM.

  1. SpaceKill

    SpaceKill Member

    Joined:
    Apr 3, 2019
    Posts:
    18
  2. Yal

    Yal GMC Memer GMC Elder

    Joined:
    Jun 20, 2016
    Posts:
    3,703
    Change this line

    Code:
    draw_text (menu_x, menu_y + button_h * i, button[i]);



    to be like this instead
    Code:
    draw_text (menu_x+ button_h * i, menu_y, button[i]);
     
  3. SpaceKill

    SpaceKill Member

    Joined:
    Apr 3, 2019
    Posts:
    18
    It works but the words are stuck together. How do I distance them ? [​IMG]
     
  4. nacho_chicken

    nacho_chicken Member

    Joined:
    Jun 21, 2016
    Posts:
    377
    They're "stuck together" because they're being drawn at the same position. Change menu_x depending on which option is being drawn.
     
  5. SpaceKill

    SpaceKill Member

    Joined:
    Apr 3, 2019
    Posts:
    18
    So far I've only gotten them like this.What else do I need to do. I'm only a beginner and English is not my first language and i'd appreciate some more in-depth answers please [​IMG][​IMG]
     
  6. Yal

    Yal GMC Memer GMC Elder

    Joined:
    Jun 20, 2016
    Posts:
    3,703
    Use menu_x for the x position (set it to room_width*0.25) and make button_h bigger (room_width*0.5).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice