Five Lessons I Learned After Using Monogame for Over a Year

  Рет қаралды 17,689

Computer Hobbyists

Computer Hobbyists

Күн бұрын

Пікірлер: 24
@realrickyshea
@realrickyshea 2 жыл бұрын
Good info. #5 is one I learned programming games in general, but the other four were new. I'm gonna have to look into state machines now.
@computerhobbyists3070
@computerhobbyists3070 2 жыл бұрын
Thanks! The Monogame Mastery book uses a state machine in the video game it shows you how to build.
@JDoucette
@JDoucette Жыл бұрын
I always add code to force a slowdown syndrome effect where no Update is called without a Draw. The natural Draw skip assumes the slowdown is from graphics. XNA didn't consider most indie programmers would make slow CPU code and the GPU would eat up anything they could throw at the Xbox 360 or PC. This causes a feedback loop where you miss more and more Draw calls until it reaches the lowest limit of 2 frames per second, and then the game jumps ahead with a Draw call for dozens of Update. Your character is now on the other side of the screen suddenly. 😊
@embergamedev
@embergamedev Жыл бұрын
Thanks for this video! Diving into Monogame after using Unity since 2015. Before that I first started learning programming with XNA (had no clue what I was doing back then). It's really neat to jump back into a framework with a ton more experience over a decade later. But wanted to lookup some pitfalls to avoid early on and this video was perfect for that!
@computersciencestudentriverbat
@computersciencestudentriverbat Жыл бұрын
Great info for beginners and experts alike. Learning Monogame/C# is full little "gotchas" that require a keen eye in your code and your design overall.
@clarencesmith2060
@clarencesmith2060 Жыл бұрын
I happen to be obsessive when it comes to lesson #6. It might be a good a thing generally speaking. But having an unfixed bug will often prevent me from going to sleep. It's rather annoying.
@computerhobbyists3070
@computerhobbyists3070 Жыл бұрын
Same here.
@formidogames
@formidogames 2 жыл бұрын
Some good lessons overall, Layer Depth defo helps organise sprites better. I've found that rule 3 can't always be strictly followed depending on the complexity of your game. For example you can't change the Effect/Shader you pass to the renderer without calling additional .Begin() + .End().
@computerhobbyists3070
@computerhobbyists3070 2 жыл бұрын
Thanks! I haven't played with effects or shaders much, so I didn't think of that.
@ar_xiv
@ar_xiv Жыл бұрын
Unsure if you can change the Wrap or Filter modes either...
@bnooper
@bnooper 2 жыл бұрын
Great tips. By the way, separating logic code from drawing code is not only recommend for the reason you mentioned. It's also recommend in cases when drawing is unnecessary (like on a server where there's not point to draw as you just need to receive input from the clients) in order to reduce GPU strain.
@computerhobbyists3070
@computerhobbyists3070 2 жыл бұрын
Thanks!
@ChaoslichtShadow
@ChaoslichtShadow 2 жыл бұрын
Nice. Thanks for sharing your lessons :D
@computerhobbyists3070
@computerhobbyists3070 2 жыл бұрын
You're welcome!
@alexale5488
@alexale5488 9 ай бұрын
Here's a seventh one from me : Stop searching for comparisons between programming languages or frameworks day and night ! Just pick one. I say this because I was obsessed with finding the most performant and pleasant technology to work with but such this doesn't exist. Each framework or programming language has flaws and ups.
@LeonardoTx1000
@LeonardoTx1000 Жыл бұрын
Well, separating different systems inside different Draw batches is not really a bad thing, for example: you could separate game rendering inside a Begin()+End() and the game UI inside a different one... As long as you draw stuff in batches you should be gtg
@Yogesh55554
@Yogesh55554 7 ай бұрын
Where you find monogame tutorial
@computerhobbyists3070
@computerhobbyists3070 7 ай бұрын
docs.monogame.net/articles/tutorials.html
@NitrosS
@NitrosS Жыл бұрын
2:05 The book man of game mastery??? Can you tell me the name of that book??
@computerhobbyists3070
@computerhobbyists3070 Жыл бұрын
The book is called Monogame Mastery.
@genarponik4680
@genarponik4680 2 жыл бұрын
Cool. Also have you ever heard of OpenTK?
@computerhobbyists3070
@computerhobbyists3070 2 жыл бұрын
I've heard of it, but haven't used it. It sounds interesting though.
@sergesolkatt
@sergesolkatt 9 ай бұрын
How To PLAN your Game as a Solo Developer
16:26
Heartbeast
Рет қаралды 521 М.
Cameras | MonoGame Tutorial Ep. 9
12:01
Coding with Sphere
Рет қаралды 3,5 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 137 МЛН
Одну кружечку 😂❤️
00:12
Денис Кукояка
Рет қаралды 2,1 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 6 МЛН
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 8 МЛН
I Made the Same Game in 8 Engines
12:34
Emeral
Рет қаралды 4,2 МЛН
Adding levels to my custom game engine (C#/MonoGame)
17:00
How to make a Spritesheet Animation using MonoGame
4:16
GameDev Quickie
Рет қаралды 10 М.
3 Types of Projects That Will Make You a Programmer
8:12
Andy Sterkowitz
Рет қаралды 1 МЛН
Coco Fest 2023 TRS-80 Color Computer Festival
8:04
Computer Hobbyists
Рет қаралды 3,1 М.
Building levels WITHOUT a built-in editor
6:40
Challacade
Рет қаралды 24 М.
Game Engine Vs Game Framework -- When to Use Which?
6:59
Gamefromscratch
Рет қаралды 44 М.
How to make a Tilemap & Camera using MonoGame
2:44
GameDev Quickie
Рет қаралды 12 М.
The Best Games Made with MonoGame [2021]
15:25
Ask Gamedev
Рет қаралды 75 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 734 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 137 МЛН