How to use RenderTarget2D in MonoGame

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ย. 2024

ความคิดเห็น • 30

  • @prideneverdies1001
    @prideneverdies1001 9 หลายเดือนก่อน

    hey I thought you were gonna do a movie recap when video started
    on a serious note, great video thank you so much

  • @jstek911
    @jstek911 ปีที่แล้ว

    Very nice. Simple and straight to the point. Love it and the method of doing this keep it up.

  • @JoeyG-o8r
    @JoeyG-o8r ปีที่แล้ว

    THANK YOU SO MUCH I've spent hours in the past on convoluted solutions to do exactly this.

  • @AardaerimusDAritonyss
    @AardaerimusDAritonyss 10 หลายเดือนก่อน

    Excellent video - thank you!

  • @rahaancrao2492
    @rahaancrao2492 10 หลายเดือนก่อน

    Thanks !! super interesting. I just discovered your channel, a new subscriber 😉

  • @EdwardPerkins-x8r
    @EdwardPerkins-x8r ปีที่แล้ว

    Excellent tutorial, Thank you

  • @Oyyou
    @Oyyou ปีที่แล้ว +2

    Good job!

  • @dmitriyshepetyuk1824
    @dmitriyshepetyuk1824 ปีที่แล้ว

    Cool, maybe in one of the next videos you can tell more about the effects or how to make lighting

  • @Slickpic1
    @Slickpic1 7 หลายเดือนก่อน

    Great video! Just a quick question, how did you manage to work with MonoGame in VSCode? Everything I found online uses Visual Studio. Do you know if theres any difference? Cheers!

    • @GameDevQuickie
      @GameDevQuickie  7 หลายเดือนก่อน

      Thanks! Using VSCode is very easy. You can watch Quickie 7 - it says Linux, but it is pretty much the same:
      th-cam.com/video/hP1brtwy_qI/w-d-xo.html

  • @Zaidguess
    @Zaidguess 7 หลายเดือนก่อน

    Thank you 👍

  • @jackiedaytona1017
    @jackiedaytona1017 ปีที่แล้ว

    Obligatory comment to appease The Great Algorithm. Good stuff!

  • @cyra9544
    @cyra9544 6 หลายเดือนก่อน

    Can i set Rectangle bounds wider than the screen, so i can get a camera zoom effect?

  • @samg5183
    @samg5183 ปีที่แล้ว

    maybe monogame collision detection player soon?

  • @samg5183
    @samg5183 ปีที่แล้ว

    you best the changle for monogame can you make Tile map game platformer with Tiled or TiledSharp.. thank you

  • @TheGreatProphecy
    @TheGreatProphecy ปีที่แล้ว

    So how does this work for multiple resolutions and dealing with people with different screen sizes and whag not? Or if the player has a camera attached to it that moves around, its offset oddly now from the render target.

    • @GameDevQuickie
      @GameDevQuickie  ปีที่แล้ว +1

      Hey, this works for "any" resolution, that's the point. If you need ie. mouse input you have to translate the coordinates from screen space to game space (simply multiply by a constant).

    • @JoeyG-o8r
      @JoeyG-o8r ปีที่แล้ว

      ​@@GameDevQuickie How does one determine that constant? I am having a similar issue, I see mouse position is slightly different depending on my resolution, even if I don't actually move the cursor.

    • @GameDevQuickie
      @GameDevQuickie  ปีที่แล้ว +2

      @@JoeyG-o8r You can explore this project where I use it:
      Calculating the values for Scaling and Shift - github.com/LubiiiCZ/DevQuickie/blob/master/Project003-TowerDefense/_Core/Canvas.cs
      And using those values to get the correct input - github.com/LubiiiCZ/DevQuickie/blob/master/Project003-TowerDefense/_Core/InputManager.cs

    • @JoeyG-o8r
      @JoeyG-o8r ปีที่แล้ว

      @@GameDevQuickie Sweet, I simply divided the MousePosition by the scale calculated in Canvas.SetDestinationRectangle() and my bullets are targeting the mouse position again.
      Much appreciated sir.

  • @devspace9096
    @devspace9096 ปีที่แล้ว

    Hey! Good Job! Thank you! Why you are used IsBorderless = true; instead _graphics.IsFullScreen = true; ?

    • @GameDevQuickie
      @GameDevQuickie  ปีที่แล้ว +1

      Thanks.
      Those are two different things. We already discussed this on Discord - join if you can.
      Fullscreen mode occupies the entire screen, hiding other windows, providing an immersive experience, but you can't easily access other applications.
      Borderless window mode appears fullscreen but is actually a window, allowing easy switching between applications while maintaining a visually immersive experience.

    • @devspace9096
      @devspace9096 ปีที่แล้ว

      @@GameDevQuickie On Monogame public discord? didn't see this discussion...

    • @GameDevQuickie
      @GameDevQuickie  ปีที่แล้ว

      @@devspace9096 My - GameDev Quickie - Discord. Link in the description.