Here's a link to a good tutorial for people starting to learn XNA Game Studio: http://www.riemers.net/eng/Tutorials/XNA/Csharp/series2d.php
I followed along with the article... It's pretty good. There are a lot of simple concepts that he teaches that is commonly used in most 2D games. While reading the article, I was thinking "Hmm... That could also be used for this (enter custom game idea here)." So, here's the video.
I updated some of my code to make it better... I'm no longer testing the duration of time the sound effect for "launch" is playing. Instead I found it to be better to just check to see if the rocket isn't flying:
if (!rocketFlying)
{ launch.Play(); rocketFlying = true; ...
}
3:41 - what you were asking from the tutorial (and also later have done with the copypaste) is also known as "plz give me teh codez" (and it's a negative name)
MidnightSt 5 months ago
But yes, matrices (overally, as a theme) are the stuff i was also stuck the longest in.
MidnightSt 5 months ago
2:31 - he never tells you exactly where to put that code (whether new function, add to existing, etc.) because that's what programmer should be able to find out/decide by himself. many of the stuff covered in that section (and others) doesn't have rigid structure, what code goes where strongly depends on the architecture you decide for your code/engine.
riemer's XNA is tutorial for people who know C# at least moderately, so it expects you to know those things.
MidnightSt 5 months ago