[2021 Update!] Make Games with MonoGame - Installation and Development Fundamentals

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ค. 2024
  • This video outlines the basics of installing and working with the popular game-development framework MonoGame. The assets for this game can be found here:
    drive.google.com/open?id=1h-r...
    Check out the full course on Udemy! Use this link to automatically apply a discount:
    www.udemy.com/course/monogame...
    NOTE: Currently the video is fully accurate, and .NET Core is the only workspace required.
    0:00 Introduction
    0:47 Installing Visual Studio and MonoGame
    5:53 Creating new projects and code organization
    11:05 Importing assets with the Pipeline tool
    14:50 Drawing graphics
    28:30 Printing text (SpriteFonts)
    33:05 Variables
    38:44 Mouse input
    49:14 Shooting the Target
    58:27 Randomness
    1:04:15 Outro
    If you have any questions, or if anything is unclear from the video, leave a comment! I respond to every question.
  • เกม

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

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

    Incredible tutorial! Got through it with no major roadblocks, and was engaged throughout the entire video!

  • @FloatingSunfish
    @FloatingSunfish 3 ปีที่แล้ว +8

    Always happy to see more MonoGame content online, especially from this channel! ☺️❤️

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

    Woke up today and decided I wanted to try learning MonoGame. This tutorial was perfect and exactly what I wanted. Thanks a ton man

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

    this was great, I am going to use MonoGame as a stepping stone to a custom engine with OpenGl, and this was fantastic, barely over an hour, easy to follow and you walk though everything so nicely

  • @retrorama3355
    @retrorama3355 3 ปีที่แล้ว +14

    This is a great video. I got pretty far developing a game back when there was only XNA. When XNA "died" I moved onto other things. But seeing this video has motivated me to finish my project. I still have all my code and resources that I can use. Thanks for the great video.

    • @bakachelera
      @bakachelera 3 หลายเดือนก่อน +1

      Did you finish your project?

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

    Hey Dude thanks for the video! This is the best tutorial of any Programming related stuff I have ever seen. Your pase is perfect, you don't just say "hey that is so and this so" you explain everything!!! Thank you so much because of I understand what I do und do not just copy it!

  • @inkii-y
    @inkii-y 4 หลายเดือนก่อน

    I just started learning C# and this is by far the best tutorial ive found!

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

    You are amazing my guy. You make these videos in the best way possible

  • @chrisp3082
    @chrisp3082 3 ปีที่แล้ว +19

    Wow what a coincidence -- I just finished your Monogame course today! Great stuff man. Like another comment said, are you planning on doing a more advanced course in the future?

  • @MTEXX
    @MTEXX 2 ปีที่แล้ว

    You covered a lot in a little time and got me up and going FAST. Just bought your udemy

  • @Zip-xj9qo
    @Zip-xj9qo ปีที่แล้ว +1

    I could do half of my assignment thanks to this video, despite it beeing the first time using C# for me!

  • @travis4938
    @travis4938 ปีที่แล้ว +5

    Great tutorial! I really like how you take the time to explain why things work and not just that they just do. After watching this I feel like I have a decent understanding of the basic flow of the framework. Many thanks!

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

      He tries to balance between people who doesn't know coding and people who already knows, others like me rather explanation of what does some functions and methods from the framework because we already know the programming concepts

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

    This video helped me a lot getting started with monogame. Thankfully I am a long time Unity developer so I'm already familiar to game development concepts, so I think that the transition will be a breeze!

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

      Im glad to hear that. After Unity decided to basically crash thier ship recently Ima need to find and alternative and this looks to be it.

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

      @@TheBeLuvdTRex yeah what unity did is terrible. Either way, after using Monogame for a month already I can confirm that it's very worth it and it's a great learning experience! (Since you'll be making everything from scratch)

  • @kukri52231
    @kukri52231 3 ปีที่แล้ว +73

    Hey Kyle! I took your monogame udemy course and enjoyed the introduction to monogame. Are you working on any intermediate to advanced tutorials courses? I've found that intermediate material is very sparse, especially from people who have an aptitude for breaking down complex topics in an easy to follow way. I'm looking for topics like: How do bring my Tiled map into monogame? How do i bring in collision data for the map? How do i update tiles when i want to plant a crop or chop down a tree? How do i create a save and load game system? What are the best coding practices for managing a complex adventure game with many enemies and areas? What about optimization? etc. Anyways, love your work man.

    • @SabeDoesThingsChannel
      @SabeDoesThingsChannel ปีที่แล้ว +7

      I really agree I would like to see a platformer. Sucks he hasn't responded.

  • @drinkwatrr9883
    @drinkwatrr9883 3 ปีที่แล้ว +3

    Thanks so much for this, the internet is starved for monogame tutorials

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

    Fantastic tutorial Kyle!! Thank you!!

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

    Thank you so much! This really helped me, you explain everything really clearly. The Installation is out of date for 2022, unfortunately. I had to do a bit of research and jump through some hoops to get monogame working, but it all worked out in the end. If anyone else is also struggling, feel free to respond!

    • @Justinsgamez
      @Justinsgamez 2 ปีที่แล้ว

      Hey, would be able to provide the resources you used to allow MonoGame to work? As a beginner I'm finding the online explanations all too broad

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

      @Justin Leski You'll have to refer to their documentation, which is available at the website he was at in the beginning. (TH-cam kept deleting this comment because of the number of links in it, so excuse the lack of them). You'll have to manually install the "NET core" by going to "Individual Components", then clicking on "NET Core 3.1 Runtime" to install it manually, since it's no longer there by default in visual studio 2022. you'll also have to manually install the templates, since the extension no longer exists, the instructions to which can be found under the "Getting Started -> Windows" tab on the website.

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

      @@zgp8850 Ahh okay, thank you very much. I'm still a little stuck at the setting up the dev environment though. From windows it shows the outdated installation for Visual Studio 2019, was the manual installation maybe under a different category?

    • @zgp8850
      @zgp8850 2 ปีที่แล้ว

      ​@@Justinsgamez It's not, Unfortunately. you'll have to follow the steps I mentioned above for the manual NET install. Their documentation is a bit out of date.

    • @SpookyMo404
      @SpookyMo404 2 ปีที่แล้ว

      I got monogame working and I’m working on the code. The only issue I have is the preset I have, under the same name as the one used in the tutorial, has a intro layer. So it’s covering up all my work underneath and I’m not sure how to fix it. I don’t want to delete it as it’s fun to have an intro with my name and the name of the game. I just don’t know how to get it to maybe fade away after a few seconds or I click and it goes to the game underneath. :)

  • @Er.MeetPatel
    @Er.MeetPatel ปีที่แล้ว +1

    loved it!! greatly explanined
    ♥♥

  • @n.d.n.e1805
    @n.d.n.e1805 ปีที่แล้ว +1

    BRO JUST GOTTA SAY THANK YOU MAN THANK YOU

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

    MonoGame tutorials are very hard to come by, but we need more of them.

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

    Did you Udemy course - loved it! PLEASE do an advanced course putting together a single game.

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

    Thank you for this video.

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

    Hi there, I'm using Visual Studio Community 2022, and I have two issues so far;
    1) During installation there was no ".NET Core" I could select, the "other toolsets" category has different things there for me. So I tabbed over to "individual components" and added ".NET Core 3.1 Runtime(LTS) manually.
    2) in VS itself, when managing extensions and searching for monogame, its not appearing. Any help appreciated, I setup monogame a couple years ago on a different computer and built a decent project with it, and I'm basically just trying to get it back up and running! I'm also on Win 11 now.

    • @rubdub0
      @rubdub0 2 ปีที่แล้ว

      the monogame extension isn't available for the 2022 version. you need to download the 2019 version for it to work

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

      Isn't there NuGet packages available for 2022 now? I'm sure I've seen people using 2022!?

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

      @@rubdub0 monogame extensions are definately available for 2022 as thats what I am using atm so can verify

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

    dude you are a lifesaver!

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

    Hell yeah! I just started learning C#, I make games, why not make a game in C#? Thanks Kyle! Also yeah, I'm indeed the (un)Funny Guy that y'know!

  • @clarabeck278
    @clarabeck278 2 ปีที่แล้ว

    I'm stuck at 6:45 I installed everything but I dont have the game1.cs folder or any of the other ones just the empty shooting gallery folder. Does anyone know how to fix that/ what I did wrong?

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

    I would love to see more monogame tutorials because there aren't really good quality ones.

  • @txdmsk
    @txdmsk 2 หลายเดือนก่อน

    Do I have to code all user input inside the update function?
    Does MonoGame have trigger based stuff, like in Warcraft III's JASS?

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

    I dont see monogame in VS-Marketplace.. any help on where to download the correct files?

  • @epic6148
    @epic6148 2 ปีที่แล้ว

    Hello, I followed your steps but when I created the project there is this error MSB3073, and I dont know how to fix it

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

    as soon as im done installing monogame and the extension and create a new sample project im getting a build error (off the template) anyone else experiencing this?

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

    So, I went ahead of you when I realized what you intended to use the target radius for. I calculated the distance using MathF.Pow and MathF.Sqrt to integrate the distance formula that I already knew.
    float distance = MathF.Sqrt(MathF.Pow((mState.Position.X - targetPos.X), 2) + MathF.Pow((mState.Position.Y - targetPos.Y), 2));
    Is this how Vector2.Distance works? Is it more or less efficient?

  • @theboy-x88
    @theboy-x88 10 หลายเดือนก่อน

    I need help with the visual studio new community version does not have net core cross platform

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

    i need help anyone plz

  • @sawyair_
    @sawyair_ 11 หลายเดือนก่อน

    Heyo! I noticed that .NET Core is the only one missing out of the usual 6 "Other Toolsets" in the video. Any help or suggestions?

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

    Thank you so much

  • @willyam-games
    @willyam-games 6 หลายเดือนก่อน

    When I search for monogame in visual studio extensions it never appears so I cannot install the extension. Any help?

  • @gerardrx
    @gerardrx 2 ปีที่แล้ว

    Good quality info thank you

  • @Sarcose
    @Sarcose 3 ปีที่แล้ว

    Is there a guide for importing a project that's ongoing into visual studio code? I have like thirty or forty documents for my love project and I'm finally gutting up to learn a source control method lol

  • @isdogru
    @isdogru 3 หลายเดือนก่อน

    Would be nice to show how you do it for an apple M1, M2 or M3 setup.

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

    Why isn't it working for me whenever I try to register it it just doesn't work and I do everything within the program itself a visual studio code so it's were Visual Studio code ain't compatible with monogame because the registering doesn't work inside of Visual Studio code and since it doesn't work with it how on Earth am I supposed to make something and doesn't even know it tutorial that uses C sharp and doesn't use any add-ons for the game window and where the game window was made just inside of C sharp

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

    Umm in the beginning where you have to chose. Net core
    I don't have a . Net core

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

    For some reason after installing everything I have an error where I have the templates, however I do not have the Microsoft.Xna library installed. How may I fix this? ;-;

  • @Nix2D
    @Nix2D 4 หลายเดือนก่อน

    Thank you!

  • @Mr.Postal
    @Mr.Postal 6 หลายเดือนก่อน

    I get this error:
    No overload for the drawstring metjod grabs 5 arguments.

  • @scoopydevy
    @scoopydevy 2 ปีที่แล้ว

    hey could you make a sdl2 + c++ tutorial i loved this one!

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

    So can I revive my old XNA game with Monogame? Would it load the XNA solution?

  • @niknovak537
    @niknovak537 2 ปีที่แล้ว

    very good tutorial

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

    I don't know why but I can't see .NET core cross platform in the installation page. Maybe the version has changed little bit.

    • @jimmyhorn1805
      @jimmyhorn1805 2 ปีที่แล้ว

      netcore is legacy at this point; that moves forward as .net5/.net6

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

    can someone give me a link for the exact one i can use for the net core

  • @laxyachaudhary03
    @laxyachaudhary03 11 หลายเดือนก่อน

    there is no .net core cross platform... showing in my visual studio 2022

  • @sachadedesse
    @sachadedesse 2 ปีที่แล้ว

    Fantastic video! You are a great teacher, really. I don't often write comments but this is pure gold.
    I would like to give a look at your udemy course but for some reason the link gave in the description doesn't give me a coupon. Is 50€ the regular price?

    • @Challacade
      @Challacade  2 ปีที่แล้ว

      Thanks for pointing this out, the coupon in the link expired without me realizing it. Here's the updated link:
      www.udemy.com/course/monogame/?couponCode=BEB1BB14138A386DB77C

    • @sachadedesse
      @sachadedesse 2 ปีที่แล้ว

      @@Challacade Thank you very much for answering -- and this fast!
      Have a great day mate

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

    How do you change the size of the task?

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

    Hey Kyle, is it "doable" installing and making monogames on Linux (say, Ubuntu/Mint)? Or will be just a pain, and better do that on a Windows OS?

    • @Challacade
      @Challacade  2 ปีที่แล้ว

      Although I don't have much experience with Linux, I do know that working with MonoGame without access to Visual Studio would be very challenging, if it's possible at all

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

    .net core cross-platform development is no longer a option when you install visual studio. is there something else that replaced it?

    • @jimmyhorn1805
      @jimmyhorn1805 2 ปีที่แล้ว

      ya was replaced by .net5/.net6

  • @big_mac_love
    @big_mac_love 2 ปีที่แล้ว

    Really nice and helpful Tutorial, thank you!
    And btw.. are you Cookiezi?

    • @Challacade
      @Challacade  2 ปีที่แล้ว

      Glad it was helpful! I am not Cookiezi, I have not heard that name before

  • @generalolicon1788
    @generalolicon1788 2 ปีที่แล้ว

    do you have a tutorial for making a platform game?

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

    Amazing tutorial! Thank you very much for making it. I do have one question I have been struggling on for a bit though for others reading the comments: how do I change the size of images displayed without actually changing the file? (if possible).

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

      Nevermind I figured it out. Really good tutorial though!

  • @georgielukas5598
    @georgielukas5598 2 ปีที่แล้ว

    Hi I have a question, My target isn't really a circle it is in the shape of a fish, so your method ends up being a bit glitchy. Is there any other way to do this?

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

      Im probably too late and youve forgotten about this five month old project, but you could make a new vector2 to be a hitbox, and check if the mouse is within the position of the target subtracted that hitbox

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

    can you do this on replit?

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

    Can I use Visual Studio Code?

  • @abdullahfall1517
    @abdullahfall1517 2 ปีที่แล้ว

    what version of visual studio did u use?

  • @bengoodwin2141
    @bengoodwin2141 2 ปีที่แล้ว

    I'm trying to follow this tutorial, but the .NET core cross-platform development thing is missing in the installation program, any idea what's up with that?

    • @RadioFreeSantaBarbar
      @RadioFreeSantaBarbar 2 ปีที่แล้ว

      Hey Ben, I had the same question and found this video: th-cam.com/video/YlN9PlJwDlg/w-d-xo.html I'm just now in the process of trying this... I hope it works.

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

    Im using the 2022 version of VS but I cant find .NET core cross platform development anywhere, there is only 5 options in the "Other Toolsets" Where should I get it? Or should I install VS 2019?

    • @badbuddy0934
      @badbuddy0934 2 ปีที่แล้ว

      me too.

    • @gonzalo7176
      @gonzalo7176 2 ปีที่แล้ว

      same problem. Got the 2019 version and problem solved!

    • @gamingwitheasa8166
      @gamingwitheasa8166 2 ปีที่แล้ว

      @@gonzalo7176 how did you get the 2019 version

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

    How to maximize window

  • @gavinfriel2308
    @gavinfriel2308 9 วันที่ผ่านมา

    Is the Udemy Monogame course up to date?

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

    This is a great video! I was wondering what your general thoughts on Love2d vs Monogame are (since you like both) I’m having trouble deciding on which to go deeper on.
    Monogame seems to have a bit more robust tooling, but that also seems to slow down iteration speed a lot and the curve is higher for me at C#
    Anyway if you had to pick one to work with for 6 months, which would you go with?

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

      then no one replied...

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

      @@ihaveagoddamnplanarthur I took both his courses on Monogame and Love, and Monogame is still pretty obscure, and there is much less of a code sharing community.
      Most of the things pulled off in the Love course use existing open source solutions, whereas in the Monogame course, those features were not included in the course (Like collisions).
      So if someone wanted a fast prototype, or game jam engine, I would pick LOVE. However LUA has some engineering gotchas that C# avoids.

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

    I'm a little confused by MonoGame. I've used Godot, Defold and also some game engines that use code without an editing UI - but I don't understand why MonoGame requires such an extensive setup with its own installer, having to install and use the VS IDE and also using a pipeline for assets. Is the game engine *that* great that it's worth all this setup compared to other game engines? I'm interested in MonoGame (especially considering what games were made with it) but its convoluted approach has been a turn off for me so far...

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

      Monogame has no features. Do you want lights? Make them yourself! Do you want shadows? Make them yourself! Do you want scene switching? Make it yourself! Do you want physics? Make it yourself! Do you want player and AI agent navigation? Make it yourself! Do you want 2D tile maps and atlases? Make them yourself! You get the point. 3D is even worse. You can't do anything, literally anything associated with 3D unless you implement it yourself. You will have to create a poor man's Unity engine in order to do 3D development. So features to attach components, lights and shadows, mesh renderer. Everything you take for granted you need implement yourself. And your poor man's Unity engine will suck compared to every other 3D game engine.

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

    Hey Kyle, can you make Libgdx tutorial too?

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

    Bruh it's saying that I don't have the content in the directory.

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

    Hello! I was able to get to around the 7:30 mark just fine, but when I tried to run the game for the first time like you said, I was met with 24 errors and a failed run. Did I do something wrong along the way?

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

      did you ever fix this?

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

      @@rain_mendoza2000 No, I couldn’t, although admittedly that was my cue to leave the programming to people who can figure this stuff out lol

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

      @@QuicheUnleashed wait were u interested in programming but this killed it??

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

      @@rain_mendoza2000 No, if anything it made me stick to learning easier stuff like GDScript first, maybe I’ll pick up a C#/C++ For Dummies book in the future

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

      @@QuicheUnleashed monogame isn't friendly, I've used it before, but I can't even manage to install it.

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

    I finished the tutorial but ended up with two warnings, which prevented me from opening the game
    first one - The field 'Game1.crosshairSprite' is never used
    second one - Field 'Game1. backgroundSprite' is never assigned to, and will always have its default value null
    anyone got a solution?

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

      You have probably moved on by now and I am also fairly new to programming, but this is what I think.
      If you were following the tutorial exactly, you should have used 'crosshairs' instead of just 'crosshair'. So I'm guessing it is just an inconsistency.
      I have feeling that your second issue is probably somethings similar. You might just need to check that all of the variables have the same spelling.

  • @GamerBoss-zz6xp
    @GamerBoss-zz6xp 2 ปีที่แล้ว

    How come drawing in a sprite doesn't work for me? I did all the step you did and even tried following the website tutorial and it still didn't work.

    • @GamerBoss-zz6xp
      @GamerBoss-zz6xp 2 ปีที่แล้ว

      Ok I think I figured it out. When I opened the game on my screen it appeared as "Hello World" instead of a blank page. I must've installed something extra. That was overriding what was supposed to be being drawn. What I did was deleted the "App Delegate" cs file and removed all lines in Game1.cs that involved App Delegate. It worked for me after that. If it still doesn't work, delete the other .cs file that isn't Game1.cs or Program.cs (I forgot the name sorry)

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

    Pleaseeee help! There is no .NET core

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

      monogame uses .net 6 nowdays. .net core is not longer needed (check their requirements on their site)

  • @watynecc3309
    @watynecc3309 3 ปีที่แล้ว

    Yeaaaaah

  • @popo7908
    @popo7908 2 ปีที่แล้ว

    .NET Core isn't an option anymore.

  • @georgielukas5598
    @georgielukas5598 2 ปีที่แล้ว

    Why is this only at 4k views?

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

    28:29

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

    To make sure the target won't jump out the screen, can try this.
    Random rand = new Random();
    targetPosition.X = rand.Next(0 + targetRadius, _graphics.PreferredBackBufferWidth - targetRadius);
    targetPosition.Y = rand.Next(0 + targetRadius, _graphics.PreferredBackBufferHeight - targetRadius);

  • @Rahul-yu3ro
    @Rahul-yu3ro 2 ปีที่แล้ว

    33:28

  • @nanthilrodriguez
    @nanthilrodriguez 3 วันที่ผ่านมา

    I've been programming full time for almost a decade now. I fucking hate computers. So much.
    Great tutorial though.

  • @nimphilia
    @nimphilia 2 ปีที่แล้ว

    I slept to your voice mate sorry

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

    34:27 - Vector2 is a Struct, not a Class. - What's wrong with you?
    Structs are Value Types, while Classes are Reference Types.
    The Data Types you mention are Structs. - You are very wrong.
    *You should not teach C# or other programming languages.*

  • @keptleroymg6877
    @keptleroymg6877 3 ปีที่แล้ว

    BORING BRO! THIS IS BORING

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

    .NET core is missing from visual studio 2022