Using and Drawing With Views in GameMaker Studio 2 Tutorial

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 16

  • @andrewfilipek4144
    @andrewfilipek4144 3 роки тому +2

    I have been working on this for 4 hours before I found your video! THANK YOU!

  • @vela7358
    @vela7358 2 роки тому

    Thanks it actually worked!

  • @miguelzamora3725
    @miguelzamora3725 4 роки тому +1

    Thank you!! so usefull!

  • @aaronwise1089
    @aaronwise1089 4 роки тому +1

    Ahhh really helpful thank you

  • @remdem622
    @remdem622 7 років тому +2

    this video really helped me on my room editing, but i still don't know how to use collision tiles yet, could you please make a video on collision tiles? thanks!

  • @kevinkoch4637
    @kevinkoch4637 7 років тому +1

    Hey so I'm still having trouble getting my inventory to do what you got your drawn sprites and text to do in this tutorial. I have a feeling it's because the GUI is created through a instance_create_function instead of a draw function however I don't think there is any way to draw objects. I moved the moved the press "i" to create inventory to the step event and draw event and I've change any "room_height/width" to the "get_view_y/x" function we make with a script. right now I have my inventory popping up where I want it but never moving with the camera, I have my inventory description popping up where I want it and moving on the y axis with the camera, and my button only pop up where I want them on the x axis but don't move and don't pop up correctly on the y axis. Any help from anybody who be great, thanks!

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  7 років тому

      +Kevin Koch Are you calling them as functions with the () on the end of your scripts? Do you have any code left in your draw GUI? Can you try to replicate just drawing text and having it move with your view correctly?

    • @kevinkoch4637
      @kevinkoch4637 7 років тому

      yes I have all my (). I'm not sure what your last two questions are referring to, I'm not using a draw GUI event (should I?) and are you suggesting rewriting the instance_create_depth functions changing them to draw functions? cause I can try but I might be out of my depth.

    • @LetsLearnThisTogether
      @LetsLearnThisTogether  7 років тому

      +Kevin Koch Hmm, I think we both might be confused. In the object you create, can you have that object update the draw event and put things where they should be on the screen?

    • @kevinkoch4637
      @kevinkoch4637 7 років тому

      Hey so I'm getting it to work but my method means cutting out some short cuts, the most unexpected thing I had to do was get rid of draw self in the draw event for obj_inventory_gui and instead I use a draw_sprite function, but this causes every use of bbox_left/right/top to not work so I have to mess around with some numbers and replace it with (get_view_x/y + "______"). its a little tedious but, it's coming along.

    • @kevinkoch4637
      @kevinkoch4637 7 років тому

      ya the only thing now that I gotta figure out is my alarm0 buttons