Learning XNA 3.0 phần 5

Nếu bạn có bất cứ điều gì đang chạy trên cổng 80, công cụ thử giọng sẽ không làm việc, vì nó sử dụng cổng giao tiếp với XACT. Ngoài ra, nếu bạn có Internet Information Services (IIS) được cài đặt trên máy tính của bạn, ý thức được rằng khi IIS đang chạy, nó sẽ chặn các giao tiếp giữa XACT và các tiện ích thử giọng XACT. | Retrieving your resources in this way during the Loadcontent method is actually something you ll want to consider doing in all games not TjjjV just those developed for the Zune. While you may not have the same performance issues that you see on the Zune with the PC and Xbox 360 versions of this game if the resources you load are large enough you will encounter such problems on all platforms. It s therefore a good idea to get into the habit of loading all the content before the game begins in the Loadcontent method. Compile and deploy your Zune project now and you ll see that the performance issues you saw previously have disappeared. Great job The Zune game is really looking nice. There are still some minor tweaks that you can do on your own though. Here are some issues you might want to resolve The font size is a bit too large for the screen. The enemy sprites move fairly quickly for the small screen so it s hard to avoid them. The text at the beginning and end of the game asks the user to press the Enter key instead of the Play Pause button. This truly is a great time to be a game developer. XNA makes development easy and being able to target the Windows Xbox 360 and Zune platforms all with the same solution and with only minor tweaks to the code is more than any of us could have hoped for prior to XNA. What You Just Did Well congratulations You ve just done what very few people on this planet actually know how to do program a game for a mobile device. You re in an elite club at this point and it s only going to get better. Before we move on to other topics let s review some of the highlights of what you just did You learned how to associate a Zune with your PC for Zune development. You created your first Zune project. You learned about changes required for development on the Zune audio input and resolution issues . You reviewed the code modifications necessary for porting the Collision game from the PC to the Zune. 180 Chapter 8 Deploying to the Microsoft Zune .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
68    105    5    07-06-2024
Đã 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.