1. Setting Up A New FNA Project | Making a 2D Game Engine with FNA

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024
  • Do you want the ability to create any 2D game your heart desires? In this series we'll create a 2D game engine from the ground up. The code we use is taken from the same engine I use for my games The Path of Motus and Pillar. At the end of this series you'll be able to create almost any 2D game, and thanks to the power of FNA and MonoGame it can run on almost any platform! The code we write can easily work on PlayStation 4, Xbox One, Nintendo Switch, iOS, Android, Mac, Linux and more. Feel free to expand upon this engine once the series is over; the sky is the limit!
    If you're a beginner, I recommend you start with my Intro To C# Programming video series. It was designed to perfectly lead into the game engine series: • Intro To Programming
    FNA Website: fna-xna.github...
    Download the Michael Hicks Toolbox: www.dropbox.co...
    If you found this tutorial useful, please consider picking up a copy of my game The Path of Motus: pathofmotus.com
    Follow me on Twitter: / michaelartsgame

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

  • @themalcontent100
    @themalcontent100 ปีที่แล้ว +9

    These videos are about to get very popular.

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

      Sometimes the algorithm comes through in a pinch I guess lol

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

      indeed... I wonder why😂😂

  • @bullfrog-7777
    @bullfrog-7777 ปีที่แล้ว +6

    this series is absolutely awesome, coming in really handy right now

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

    Bro is like an angel... helping me when I need him most.... you gained a new sub

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

    Doing this in 2020. Used Visual Studio 2019, while the UI is a bit different everything in this video worked without a hitch. Looking forward to the rest. Thanks!

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

    This was really great! Covered a lot! I also liked your bio on your page link. Makes me what to keep going

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

    13:06
    I suggest output type kept as "Console application" if you want to see the console output every now and then

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

    Enjoyed the series. Hope you continue!

    • @michaelartsmedia
      @michaelartsmedia  6 ปีที่แล้ว

      Thanks a lot!! I'm not sure if I'll do more programming videos, I'd like to do some design based ones but we'll see. Glad you enjoyed the series!

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

    fyi, I had to change the solution platforms from "Any CPU" to "x64" in order for this to build properly. It would be nice to have an updated tutorial video for FNA bc things have changed

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

    Important steps to follow begin at @4:50 if you want to skip the preamble.

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

    That gives me flashbacks to a blue screen of death. 20:05

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

      Naa dude this blue screen is sent straight from the heavens lol

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

    anyway, i think the dll file is better than including the whole project to another project. From experiences I can tell that i'm more comfortable using dll files.

    • @michaelartsmedia
      @michaelartsmedia  5 ปีที่แล้ว

      Yeah I prefer using the DLL, but to each their own! Both ways get the job done lol.

    • @c56edfrq
      @c56edfrq 5 ปีที่แล้ว

      @@michaelartsmedia right xD

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

    HEEElLLPPP I am using visual 2022 and I don't see the templates shown 10:11 please help I am am loosing the brain cells I have left .

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

      just search it in the search box (sorry for the 6 month gap lmao)

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

      @@IDGs_space thx

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

    Can you confirm there is an easy way to export for android? Can't find anything related to that apart from a github issue where developers say they don't have any plans to support it

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

      Last I heard FNA doesn't support Android, but MonoGame should. You might want to ask on their Discord or something. The code we write in this series works with MonoGame too btw.

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

    Now virsion...
    Visual studio 2019 community = OK!

  • @intellivision-amico
    @intellivision-amico 6 ปีที่แล้ว +1

    Busy man!

    • @michaelartsmedia
      @michaelartsmedia  6 ปีที่แล้ว

      Haha yup it's definitely been a busy few weeks!

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

    10:15 I don't have this option under templates, in fact, I don't have any options there at all. How do?

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

      Make sure when you installed Visual Studio you also installed the C# package.

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

    hey dude! I can't figure out what to use for 13:19 since I can't get the framework 4 client profile, is the latest version fine?

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

    I came across a way to use FNA with visual studio code, which is what I'm wanting to use instead of Visual Studio 2017, but I was wondering, is there a way to do this easily using your GameEngine tutorial?

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

    Hey, Michael. I just finished going through your "Intro to Programming" series and wanted to continue on with this one, but the "Michael Hicks Toolbox" is no longer available.

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

      Sorry I forgot to update the video description. You can download it here: www.dropbox.com/s/byhp6e4eq40htfc/Michael%20Hicks%20Toolbox.zip?dl=0

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

      @@michaelartsmedia Awesome! Thanks Michael, your tutorials have been very helpful!

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

    it doesnt make dll files i don't know why. help would be appreciated.

  • @jonmagic2328
    @jonmagic2328 4 ปีที่แล้ว

    When i start up microsoft visual studio for the first time, it asks what i want to put for the development settings. Do i leave this as general?

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

    Will you make a Ubuntu tutorial?

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

    why it says skipped when i tried to build

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

      Sorry if this comes late, but you have to choose x64 instead of any and then build... that helped me set it up.

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

      @@cmcoto Thank you for that

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

    Why not monogame???

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

      I cover this in the video but I recommend using FNA for desktop platforms and MonoGame for other platforms. They both have different pros and cons, but FNA has a focus on high XNA 4 accuracy. You could think of FNA as being XNA 4 and MonoGame being like XNA 5. Since I came to this with finished XNA 4 games, I wanted to find the quickest path off that framework. Everytime I've attempted the transition FNA has "just worked" whereas MonoGame required code re writes in a few areas. I also think this is beneficial because almost all XNA 4 tutorials on the web should "just work" when using FNA.
      For other platforms I use MonoGame... MonoGame has greater support for different platforms, a great content pipeline, and an active community of people on the forums that are very helpful. Basically, I change between the two depending on what platform I'm targeting. Since FNA started as a branch of MonoGame you can easily swap between them. I have a ton of respect for both project teams, they've both saved me a ton of time!

  • @polydot6374
    @polydot6374 5 ปีที่แล้ว

    HELP!
    getting an error when pressing F5 to run. Dont get ht eblue screen
    System.DllNotFoundException: 'Unable to load DLL 'soft_oal.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'

    • @michaelartsmedia
      @michaelartsmedia  5 ปีที่แล้ว

      If it says the files aren't found then they aren't hooked up to the project properly. I'd recommend following the video again and taking extra care to make sure the place you put those files is what's typed in the settings bar and such. Good luck!

    • @polydot6374
      @polydot6374 5 ปีที่แล้ว

      ​@@michaelartsmedia i have seen the blus screen around 3 times
      but it mostly dosent work for me
      i followed you turorial perfectally as far as i can tell
      1st ever experiance with coding
      if i randomly delete and move spaces around the first public Game1() it occasionally wokd

    • @michaelartsmedia
      @michaelartsmedia  5 ปีที่แล้ว

      @@polydot6374 If you're a beginner, I'd recommend you start with my Intro to Programming video series first! We make some smaller games and it ramps up to this series which is more advanced!

    • @polydot6374
      @polydot6374 5 ปีที่แล้ว

      @@michaelartsmedia would me using 2019 visual studio matter?
      or having the files located all togewther but in a different place?
      my default save for vs is on my desktop
      i find it weird that just pressing delete at the end or the first phrase randomly makes it work

    • @michaelartsmedia
      @michaelartsmedia  5 ปีที่แล้ว

      @@polydot6374 The Visual Studio version shouldn't matter. However, having the files in a place that's different than what is typed into Visual Studio will cause problems.

  • @zamilamin3646
    @zamilamin3646 4 ปีที่แล้ว

    what to do if mojoshader is not found

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

    lol