1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Vertical Scroll with fixed timer [Solved]

Discussion in 'Programming' started by jigglesthepuff, Jan 4, 2017.

  1. jigglesthepuff

    jigglesthepuff Member

    Joined:
    Jun 22, 2016
    Posts:
    58
    Hey ya'll,
    I'm making a platformer that scrolls up and down, and I was wondering if there is an easy way to get it so that the timer at the top scrolls with the rest of the screen.
    Thanks in advance!
     
  2. obscene

    obscene Member

    Joined:
    Jun 21, 2016
    Posts:
    2,511
    You can draw it with the draw GUI event and it will draw on screen where you tell it no matter the view.

    You can also add the view_xview and view_yview to the timer's drawing coordinates to make it follow the view.
     
    jigglesthepuff likes this.
  3. jigglesthepuff

    jigglesthepuff Member

    Joined:
    Jun 22, 2016
    Posts:
    58

Share This Page