At the suggestion of fellow forumers, I am using this for a game I am programming:http://msdn.microsoft.com/en-us/library ... estudio.31
It is working great, but I'm having a little trouble figuring out just what does and doesn't need to be done here. The primary problem is all the tutorials for this try to do way more than what I want done. What I need to know is what is the bare minimum
I need to implement the shot mechanic. And how would I code it? All I want is:
-The shot comes from the player object itself, not an additional gun object (as I don't intend to implement that)
-The shot is culled when it either collides with an enemy or leaves the screen, but not with a tile. It should appear in the foreground.
-The shot reads its direction from a variable, with a default setting to right. I don't need to know how to alter its direction as I can take care of that myself.
-The shot appears on screen.
I just want to get it functioning so I can see it in game without a crash. As long I can do that, I'll gladly work out the details myself.