Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 463 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
463
Dung lượng
8,65 MB
Nội dung
[...]... fairly easy to use and Forms-based graphics programming produces good, fast results, which we need for a high-speed game loop This book treats C# like a professional game development language What makes VisualC# so popular in application development will be useful for our needs as well—we just won’t be using any data flow diagrams or flowcharts here! Although this is a ForTeens book, that certainly... using Basic or C#, and then that IL code is compiled to an object file and linked into an executable file That compiled VisualC#game code could deliver a gaming experience like Doom There are quite a few third-party libraries available for C# and even more for C++ For example, most C++ games use helper libraries like Perlin (a texture generator), ZLIB (for reading Zip files), LIBOGG (for audio playback),... platform, but we’re going to explore RPG creation with C# Note If you also like the Basic language and want to learn even more role-playing game development tricks, then check out the sister book, Visual Basic Game Programmingfor Teens, 3rd Edition! That book builds an open world with towns, trees, and beaches, and quests The Basic language is quite different from C# but the NET Framework and Forms... first-person shooter (FPS) FPS games dominate the game world today, unlike any other genre, partially because it consumed the virtual reality market that was flagging at the time Do you want to create a game like Doom using Visual C#? That goal is possible, but it would be a challenge The VisualC# compiler creates intermediate GameProgramming Is an Art Figure 1.2 Goldeneye 007 for Nintendo 64 and Wii (cover... reading and programming level of the average reader who is likely to read the book I spent quite a few years doing NET programming with VisualC# and Visual Basic and I appreciate the NET environment But, I have to admit something: for every line of application code I have ever written, I was daydreaming about the source code for a game Now, no matter what I do day by day, I love game programming, ... the Limit Did you know that you can write your own games for the Xbox 360? Microsoft provides XNA Game Studio 4.0 for free, and it uses VisualC# 2010 Express as the compiler For an annual membership fee, you can develop a game right on your retail Xbox 360 and upload your XNA games to a special “developer’s” section on Xbox Live Arcade and sell your game using Microsoft Points (the licensing is similar... cover in this chapter: n Gameprogramming is an art n Get your feet wet first, ask questions later n Let your creativity fly n Creativity, talent, and hard work n The sky’s the limit n Learning the tricks of the trade n Taking a look at Dungeon Crawler 3 4 Chapter 1 n Welcome to the Dungeon GameProgramming Is an Art VisualC# is a good tool for beginners to use for writing games because the language... are some programming matters that you will just need to know in advance If you ever feel lost, then a good primer on the C# language will be helpful All of the game editors for the RPG are also covered in the book We cover the key code for the editors but don’t list all of the source code because that would take up 500 pages! VisualC# 2008 and the NET Framework This book supports VisualC# 2008 and... that will blow your mind: VisualC# was created with the C++ language! (Technically, we’re talking about Visual Studio.) Weird, isn’t it? I’m talking about the compiler, the editor, and so on I’ve written about another game programming tool for beginners called DarkBASIC Professional, developed by The Game Creators (www.thegamecreators.com), and this tool (along with its DirectX game engine) was also created... book was featured in that DarkBASIC book; see Chapter 15, “2D Game Worlds: Level Editing and TileBased Scrolling.” And for the C++ code, see Chapter 10, “Scrolling the Background” in Beginning Game Programming, Third Edition Another obvious choice for further study will be XNA Game Studio, which allows you to write games for Xbox 360 using the C# language we’re using here! Source code is very On Creativity, . PC, and game consoles. He is the author of the recent books Beginning Java SE 6 Game Programming, Third Edition; Visual Basic Game Programming for Teens, Third Edition; XNA Game Studio 4.0 for Xbox. Learning Australia . Brazil . Japan . Korea . Mexico . Singapore . Spain . United Kingdom . United States Visual C# Game Programming for Teens Jonathan S. Harbour Publisher and General Manager, Course Technology PTR:.