Skip to content

Instantly share code, notes, and snippets.

View pielegacy's full-sized avatar

Alex Billson pielegacy

  • Mecca Brands
  • Melbourne, Australia
  • 07:38 (UTC -12:00)
View GitHub Profile

How to work with MonoGame's Content Pipeline

With all the documentation you'll read for XNA, there will be one differentiating factor and that is the content pipeline.

The Content Pipeline can be a pain in the ass but it's overall very helpful as it nicely packages content for the game in the Content folder.

This tutorial will show you how to import a texture and load it in the game.

@pielegacy
pielegacy / VariousOpinionsOnProgramming.md
Last active January 7, 2024 06:59
Various opinions on programming

My Various Programming Opinions

These aren't supposed to be hot takes as most of these are pretty lukewarm and things that for the majority people follow anyway, thought it would be nice to have them all in one place.

Loops vs Functional Array Methods

I like to use loops where possible with functional array methods (not sure what the best terminology for it is but in JS it's stuff like map, reduce, filter and in C# it's Where, Select etc...).

The design of these array methods is to follow very standard functional programming concepts so methods such as a .ForEach where nothing is returned from these iterations always bug me.