开始时间: 02/23/2015 持续时间: 12 weeks
授课老师： Tim "Dr. T" Chamillard
The Beginning Game Programming with C# course is all about learning how to develop video games using the C# programming language. Why use C# instead of C++, Java, ActionScript, or some other programming language you may have heard of? First, using C# lets us use the Microsoft XNA and open-source MonoGame frameworks, which help us quickly develop games for Windows, Android, iOS, Mac OS, and others. Second, the Unity game engine is very popular with indie game developers, and C# is one of the programming languages you can use in the Unity environment. And finally, C# is a really good language for learning how to program.
That learning how to program comment is important because this course doesn't assume you have any previous programming experience. Don't worry if you've never written code before; we'll start at the very beginning and work our way up to building a small, complete game by the end of the course. Throughout the course you'll learn core programming concepts that apply to lots of programming languages, including C#, and you'll also learn how to apply those concepts when you develop games: drawing all the entities in the game world, updating the game world based on user input and simple physics, playing music and sound effects in your games, and so on.Computer programming is really fun in general, and programming games is even better!
Week One: Introduction to the course, the Visual Studio environment, and the Microsoft XNA framework. Writing your first C# program and starting to learn about data types.
Week Two: Classes and objects, the core of object-oriented programming (which works great for games!). Writing your first XNA programs.
Week Three: Strings and what we can do with them. Selection, how to implement it, and why it's so useful in game development.
Week Four: Mouse and 360 controller input in XNA. Arrays and collection classes to store multiple pieces of information.
Week Five: Iteration - the various ways we can do multiple things in our code.
Week Six: Class design and implementation in more detail. How are all those useful classes we've been using actually coded?
Week Seven: Adding music and sound effects to your games. Keyboard input and text output in XNA.
Week Eight: The optional project as a great way to review for the Final Exam.