rbwhitaker / rbwhitaker.wikidot.com Goto Github PK
View Code? Open in Web Editor NEWThe set of tasks (and maybe someday code) for my tutorial website.
The set of tasks (and maybe someday code) for my tutorial website.
The following text looks incomplete:
monogame-managing-content
Section: Loading Content in a Game
"We still need to load the game-ready asset into the game itself. The details of how to use these assets will be covered in more detail in future tutorials, but they all follow a common pattern: you use a ContentManager instance to"
Missing content?
"In the coming tutorials, we're going to load a lot of content in our games. So a simple example now will help illuminate the pathway."
Hi,
While going through your tutorials I made note of various things that could use an update/fix.
General suggest/fix:
Specific:
page: http://rbwhitaker.wikidot.com/c-sharp-operator-overloading
--
was intended but instead a long dash is displayedpage: http://rbwhitaker.wikidot.com/c-sharp-events
page: http://rbwhitaker.wikidot.com/c-sharp-error-handling
hamburgerException
receives the member HamburgersEaten
. This may be more advanced than the purposes of the crash course however so it may be okay to leave as is and allow reader to make assumptions.try
{
EatSomeHamburgers(32);
}
catch (AteTooManyHamburgersException hamburgerException)
{
Console.WriteLine(hamburgerException.HamburgersEaten + " is too many hamburgers.");
}
page: http://rbwhitaker.wikidot.com/c-sharp-file-io
page: http://rbwhitaker.wikidot.com/c-sharp-generics
.
_items = newItems.
page: http://rbwhitaker.wikidot.com/c-sharp-using-generics
List<T>
Class"}
should be >
List<T}
class was defined, it left a placeholder, which it referred to as T"page: same above
»
should be >>
List<bool>
or a List<Player>
or a List<IFileReader>
or even a List<List<int»
to make a list of lists of numbers."page: same above
Dictionary
Classpage: http://rbwhitaker.wikidot.com/c-sharp-using-classes
page: same above
GenerateNumberAndCompare
, is it implicit that the 2nd code block occurs within some method (aka in C# everything happens inside a class and its members). Could use clarification.page: http://rbwhitaker.wikidot.com/c-sharp-creating-classes
page: http://rbwhitaker.wikidot.com/c-sharp-properties
<strikethrough>
known as the backing field</strikethrough>
for you and wire it all up to get and set that field as expected. This allows you to reserve the option to turn it into a full property later on without affecting most of the program."page: http://rbwhitaker.wikidot.com/monogame-drawing-text-with-spritefonts
page: http://rbwhitaker.wikidot.com/monogame-texture-atlases-3
using AnimatedSprite
?page: same above
- location: same above
- remark: in previous tutorials the texture
variable was declared in the constructor, should it be the same here for sake of convention and consistency
page: http://rbwhitaker.wikidot.com/monogame-managing-content
C# methods Section Multiple Parameters' code block has 2 mistakes:
Current code block, verbatim:
static void GetNumberBetween(string prompt, int min, int max)
{
int parsedNumber;
do
{
Console.Write(prompt);
string input = Console.ReadLine();
parsedNumber = Convert.ToInt32(input);
}
while (parsedNumber >= min && parsedNumber <= max);
return parsedNumber;
}
Thanks.
Hello, just an issue I was having in the tutorial in http://rbwhitaker.wikidot.com/monogame-managing-content
I would get an error message when trying to run the program after loading the content. After some research I made it work by clicking on the save icon after loading the content in the MGCB Editor. I mean the save icon on the MGCB Editor.
If I didn't click on save, the content would show up at visual studio the same way, but if I opened the MGCB Editor it wouldn't show. Now when I reopen the MGCB Editor the content is there.
So maybe add to the tutorial that you have to click on save? Not sure if this is an issue that happened only to me.
Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4
In monogame-texture-atlases-2
The section: Creating the Class
Paragraph ends with:
"The first change we will want to make is to make the class public, so near the top of the file, find the line that says:"
followed by the header:
"using Directives"
It seems a code block is missing here?
I wanted a better picture for the Xbox controller in monogame-xbox-controller-input but made the call to not do it when porting the tutorial from XNA to MonoGame. I just didn't want to forget this entirely, so I'm making this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.