TAILIEUCHUNG - Beginning Game Programming (phần 9)

Tham khảo tài liệu 'beginning game programming (phần 9)', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 380 Chapter 15 Complete 3D Game to use the same scale for all of your objects in Anim8or. As long as you try to keep all of the models the same basic size then you can use the same size value for all of them. The exception might be a model like the ball which is necessarily smaller than the paddle or blocks. In the case of the ball 50 percent of the size used by the other models should suffice. Bash Source Code The source code for this game is quite short as far as games written in C and DirectX go. Naturally there are a lot of places where readability and comprehension were more important than shortening the code. But in the end this is a very manageable code listing for a complete game. You should have no trouble working through it as you try to modify the game to suit your own needs. This game is not at all efficient as far as simplicity goes. For instance the code that fills the playing area with blocks actually loads each block from disk This is a very bad way to write a game in general but the focus here is on keeping the code as simple as possible so you will be able to focus on how the game works. On the CD you ll find the code for the file for the Bash game and I m assuming you ll use the framework developed in the previous chapter to build this project. The file remains as it is save for the following line change application title define APPTITLE BASH Note To conserve space the entire code listing for Bash has been provided on the CD-ROM rather than listed in this chapter. Please load the Bash project off the CD-ROM to peruse the source code for the game which is about 20 pages long . What s Next There are a lot of fun things that you can do with the Bash game and I encourage you to spend some time with the source code to solidify everything you have learned in this book because Bash covers all of it in a nutshell. What You Have Learned 381 What You Have Learned This chapter explained how to create a complete game from scratch to test the

TÀI LIỆU MỚI ĐĂNG
337    142    1    02-12-2024
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.