1. Trang chủ
  2. » Giáo án - Bài giảng

programming game information technology

13 4 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Nó được cập nhật thêm nhiều chức năng mới như chế độ dùng thử để bạn có thể dễ dàng tạo game có chế độ dùng thử , mời gọi người chơi khác ở những game nhiều người chơi trên Xbox LIVE,[r]

(1)

Đây viết giới thiệu xna, tớ xin trích lại phần mở đầu Beginning XNA 3.0 : form novice to professional Tớ dịch nên để lại nguyên văn, người thấy sai sót tuỳ ý sửa chữa ;D

Lời nói đầu (Foreword)

Thật khó để tin phát triển mạnh mẽ mà xna đạt thời gian ngắn kể từ lúc mắt vào cuối năm 2006 vào thời điểm đó, tơi với số người bạn thân kiểm tra (Với chút lo lắng, phải thú nhận vậy) việc liệu game viết dịng code quản lý sẵn (managed code)?

It’s hard to believe the runaway popularity XNA has achieved in the short period of time since it was released in late 2006 At that time, I got together with a couple friends to check out (with some trepidation, I must confess) whether games really could be written in managed code.

Chúng ấn tượng, người muốn biết liệu bạn có đc lợi bạn viết game sử dụng code dành cho phát triển chương trình window bình thường Chúng tơi biết người cộng đồng phát triển game lo lắng tốc độ thực thi code chạy nhiều người nghĩ cách đơn gian

Dịch HuyetSat - Xnavn.com

(2)

rằng game "thực sự" ko thể đc tạo XNA! Thời gian sau đó, nhiều nhiều người bắt đầu nhận thật: có vơ số lợi ích sử dụng code quản lý (managed code) , độ mượt mà game chạy tăng lên đáng kể

We were very excited, and everyone wanted to know if you could get the same benefits you obtain from writing games using managed code as you when creating standard Windows programs We knew people in the game programming community were worried about managed code’s execution speed, and many people simply didn’t believe a “real” game could be created using XNA As time passed, though, more and more people began to realize the truth: there are a great number of benefits to using managed code, and the performance concerns are exaggerated. Bạn chưa trải qua tiềm đầy đủ Xbox 360 , chí, Windows bạn tạo game cá nhân dành cho hệ thống mới-và với XNA Framework, giới hạn sáng tạo bạn!

You haven’t experienced the full potential of the Xbox 360 or, indeed, Windows until you’ve created your own homegrown games for these innovative systems—and with the XNA Framework, the only limit is your imagination!

Lấy ứng dụng từ môi trường học tập, dựa vào đơn giản, lựa chọn XNA lụa chọn sáng suốt cho cần học dạy NNLT C# ko đề cập riêng phát triển game, cịn tảng tuyệt vời cho sinh viên tin học việc viêc kết hợp kiến thức khác âm nhạc, nghệ thuật, thiết kế v.v

(3)

development offers an excellent common ground for collaboration between computer science students and their counterparts in other disciplines such music, the arts, design, and so on.

Trong trường hợp này, XNA trở thành công nghệ quan trọng cho microsoft, XNA tạo lên chủ đề thi phát triển game danh giá Imagine Cup (

http://www.imaginecup.com ) Với lượng lớn sinh viên tham gia Với việc đời XNA Framework 3.0 Cũng từ năm 2006, lần cảm thấy ấn tượng tương lai ngành phát triển game Và xem sách Cuốn sách giải thích điều lập trình game XNA theo cách rõ ràng đơn giản Tôi có nhiều điều ấn tượng hi vọng bạn cảm thấy (về XNA) In fact, XNA has become such an important technology for Microsoft that it created a new game development category for the famous Imagine Cup (http://www.imaginecup.com), the largest student contest run by the company With the release of the XNA Framework 3.0, as back in 2006, I have again become excited about the future of game development And when I see a book like this, which explains the basics of game programming and XNA in a clear and simple style, I get even more excited, and I hope you will be as well

Dù bạn chưa thử viết game trước đơn giản bạn tìm lời khuyên đường chinh phục XNA, tơi nghĩ bạn thoả mãn với bạn tìm sau đọc sách này, bạn có đủ khả để áp dụng kiến thức mà bạn học vào để viết game XNA chạy nhiều tảng bạn

(4)

be able to apply your newfound knowledge to write your own XNA cross-platform games

Tôi chờ đợi để đc thấy lớn mạnh cộng đồng phát triển game XNA,họ tạo đc điều Thật đáng kinh ngạc nghĩ thực thấy game mang tính đột phá so với thể loại game nay, với cộng đồng động với nhiều đổi biến ý tưởng độc vô nhị thành thật

I’m waiting to see what the ever-growing community of XNA game developers will create next It’s exciting to think that we’ll probably see games that break all the rules of the current gaming genres we see today, because with a vibrant community comes innovation, and with innovation comes truly unique ideas.

Tôi tin tưởng vào game có tương lai - Tơi hi vọng bạn người viết chúng!

I look forward to the games of the future—I hope you’ll be the person writing them!

Amintas Lopes Neto

Academic Relations Manager, Microsoft Brazil (ai hiểu Academic Relations hok?)

What Is XNA?

XNA gì?

(5)

một hãng phần mềm lớn microft , hẳn có nhiều kiểu từ viết tắt khiến cho XNA trông dạng viết tắt, ko phải vậy, tên vui 

XNA is a play on words It stands for “XNA’s Not an Acronym.” Microsoft’s world is so full of acronyms that it decided to create a name that looks like an acronym, but isn’t, just for fun.

Với microsoft XNA , với từ lúc bạn bắt đầu, với nhà phát triển game non trẻ tạo đc game mơt hay nhiều người chơi chạy hệ máy PC, Xbox 360 Zune

With Microsoft XNA, for the first time ever, a nonprofessional game developer can create single and multiplayer games that can run on a PC, the Xbox 360 console, and the Zune

Các phiên xna download đây: (http://www.microsoft.com/XNA)

=============================================== (Tiếp tục series giới thiệu xna, tớ dịch từ wiki :D )

XNA công cụ với môi trường có thời gian chạy game quản lý (managed runtime environment

provided) đc cung cấp microsoft, XNA đc đơn giản hố cho cơng việc phát triển quản lý game máy tính XNA cố gắng giải toả cho nhà phát triển game khỏi dòng code cứng nhắc lặp lặp lại (repetitive boilerplate code) mang đến diện mạo khác việc sản suất game vào hệ thống đơn lẻ (game production into a single system)

Microsoft XNA is a set of tools with a managed runtime

environment provided by Microsoft that facilitates computer game development and management XNA attempts to free game

(6)

Bộ công cụ XNA (XNA toolset) đc công bố rộng rãi vào ngày 21 tháng năm 2004, hội nghị phát triển game San Jose,

California Cộng đồng công nghệ sơ khai cấu trúc xna (xna build) đc thành lập vào ngày 14/5/2006 Bản xna 2.0 tung vào tháng 12/2007 theo sau 3.0 vào ngày 30/8/2008 Bản 4.0 (mới này) mắt vào ngày 16/9/2010 kèm với công cụ phát triển cho

Windows Phone

The XNA toolset was announced March 24, 2004, at the Game Developers Conference in San Jose, California A first Community Technology Preview of XNA Build was released on March 14, 2006 XNA Game Studio 2.0 was released in December 2007, followed by XNA Game Studio 3.0 on October 30, 2008 XNA Game Studio 4.0 was released on the 16th of September 2010 along with the Windows Phone Development Tools.

XNA chứa gần hoàn thiện toàn lĩnh vực phát triển game microsoft, bao gồm phát triển ứng dụng Xbox chuẩn (Xbox Development Kit) XNA Game Studio

XNA currently encompasses Microsoft's entire Game Development Sections, including the standard Xbox Development Kit and XNA Game Studio.

(7)

XNA originally came out of Xbox New Architecture development Instead of being released under the Xbox name, the Xbox 360 was released, and XNA became defined as "XNA is Not an Acronym" (being recursive and paradoxical in definition, similar to its logo). XNA Framework

XNA framework bổ sung tự nhiên vào Net

Framework 2.0 Windows Nó bao gồm thư viện lớp, xây dựng cách đặc thù cho công việc phát triển game , để nâng số code sử dụng lại lên mức tối đa nhằm tạo ứng dụng chạy đc nhiều tảng

The XNA Framework is based on the native implementation of .NET Compact Framework 2.0 for Xbox 360 development and .NET Framework 2.0 on Windows It includes an extensive set of class libraries, specific to game development, to promote

maximum code reuse across target platforms

Framework chạy phiên "Common Language

Runtime" (Ai học C# rùi tự biết CLR này-Dịch nghe chuối lắm) Nó nhận đc đánh giá sáng sủa việc làm game dựa việc cung cấp môi trường thực thi quản lý trước (managed execution environment) Runtime chạy đc HĐH Windows XP, Windows Vista, Windows 7, Xbox 360 Kể từ XNA cho phép viết game runtime, chạy đc tảng hỗ trợ XNA Framework , Với khơng có nhiều thay đổi với tảng

The framework runs on a version of the Common Language Runtime that is optimized for gaming to provide a managed

(8)

written for the runtime, they can run on any platform that supports the XNA Framework with minimal or no modification

Những trị chơi chạy framework trang bị tính viết NNLT NET-compliant có C# sử dụng XNA Game Studio Express IDE tất phiển Visual Studio 2008 2010 xem thức hỗ trợ (cho XNA)

Games that run on the framework can technically be written in any .NET-compliant language, but only C# in XNA Game Studio

Express IDE and all versions of Visual Studio 2008 and 2010 (as of XNA 4.0)[3] are officially supported

XNA framework Cung cấp giải pháp cơng nghệ trình độ thấp chi tiết đóng gói lại để tham gia vào công việc coding game

The XNA Framework thus encapsulates low-level technological details involved in coding a game.

XNA Framework tích hợp với nhiều công cụ khác, the Cross-platform Audio Creation Tool (XACT), công cụ trợ giúp XNA việc quản lý âm XNA Framework hỗ trợ tạo game 2D 3D, cho phép game sử dụng Xbox 360, hỗ trợ tính rung tay cầm

The XNA Framework integrates with a number of tools, such as the Cross-platform Audio Creation Tool (XACT), to aid in content creation The XNA Framework provides support for both 2D and 3D game creation and allows use of the Xbox 360 controllers and vibrations

(9)

Creator's Club" với mức hội phí $99/năm Ứng dụng chạy PC phân phối cách miễn phí danh nghĩa quyền Microsoft

XNA framework games that target the Xbox platform can currently only be distributed by members of the Microsoft XNA Creator's Club which carries a $99/year subscription fee.[4] Desktop applications can be distributed free of charge under Microsoft's current licensing.

XNA Build

XNA Build Công cụ quản lý đường dẫn tài nguyên (asset pipeline), chúng giúp bạn với việc xác định, trì, sửa lỗi tối ưu tài nguyên dành cho người phát triển game cá nhân Q trình thơng qua đường dẫn tài nguyên đc xử lý Game Content Với resource texture model 3D, chúng chuyển sang dạng thích hợp để sử dụng XNA [//Giải thích thêm chút pipeline quy trình xử lý resource để bạn sử dụng đc chúng thông qua Content Processor XNA Với coder bạn cần Add resource vào Content thui Content Processor thực nhiều công việc import, process, export, *.xnb file Encryption cách tự động sau bạn Add Run game project VSC#]

XNA Build is a set of game asset pipeline management tools, which help by defining, maintaining, debugging, and optimizing the game asset pipeline of individual game development efforts A game asset pipeline describes the process by which game content, such as textures and 3D models, are modified to a form suitable for use by the gaming engine

(10)

XNA Game Studio is an integrated development environment (IDE) for development of games

XNA Game Studio Express, phiên hướng đến giới sinh viên, người đam mê nhà phát triển game cá nhân Nó có sẵn để bạn Down xuống miễn phí Bản Express cung cấp "StartKit" để game coder dễ dàng phát triển game theo nhiều thể loại khác (Như dòng platform, dòng chiến thuật thời gian thực, game bắn súng góc nhìn thứ nhất) Các nhà phát triển viết game PC miễn phí với Xbox bạn 99$/năm để tham gia vào "XNA Creator's Club"

XNA Game Studio Express, the first release of XNA Game Studio, was intended for students, hobbyist, and independent (and

homebrew) game developers It was available as a free download Express provides basic "starter kits" for rapid development of

specific genres of games, such as platform games, real-time strategy, and first-person shooters Developers could create

Windows games for free with the XNA Framework, but to run their games on the Xbox 360 they will have to pay an annual fee of US$99 (or a four-month fee of US$49) for admission to the Microsoft XNA Creator's Club

XNA Game Studio 1.0

Phiên xna 1.0 đời vào August 30, 2006, theo sau phiên thứ vào ngày November 1, 2006 Microsoft cho tiếp phiên hoàn chỉnh vào December 11, 2006.[8]

(11)

XNA Game Studio 2.0

XNA Game Studio 2.0 đời vào ngày December 13, 2007.[10] XNA Game Studio 2.0[11] trang bị tính sử dụng với tất phiên từ Visual Studio 2005 trở lên (bao gồm phiên free Visual C# 2005 Express Edition), Có thể sử dụng cho Windows Xbox với hỗ trợ điều khiển tốt setup ln có sẵn để bạn download trang web XNA Creators Club

XNA Game Studio 3.0

XNA Game Studio 3.0 (Sử dụng cho VS2008 hay miễn phí Visual C# 2008 Express Edition) cho phép sản xuất nhiều game hướng đến thị trường hệ máy Zune thêm tính hỗ trợ từ Xbox Live community Bản thức mắt vào 30/8/2008 XNA Game Studio 3.0 hỗ trợ phiên C# 3.0 , toàn phiên từ Visual Studio 2008 Nó cập nhật thêm nhiều chức chế độ dùng thử để bạn dễ dàng tạo game có chế độ dùng thử , mời gọi người chơi khác game nhiều người chơi Xbox LIVE, Tạo game chạy đa tảng Windows, Xbox 360 Zune

(12)

XNA Game Studio 3.1

Ra mắt vào ngày 11 tháng 6/2009 , Hệ thống đồ hoạ cho phép chạy lại video, hệ thống kết nối Xbox LIVE hỗ trợ game cho phép sử dụng tính Avatar Xbox Phiên cho phép sinh viên tải xuống tích hợp thêm 12 tháng tiền hội phí để họ tham gia vào "XNA Creators Club", phần chương trình "Microsoft's DreamSpark"

XNA Game Studio 3.1 was released on June 11, 2009 The API includes support for video playback, a revised audio API, Xbox LIVE Party system and support for games to use the Xbox 360 Avatars.[14] This version of the software is available for students to download as part of Microsoft's DreamSpark program which adds a 12-month trial subscription to the XNA Creators Club. XNA Game Studio 4

XNA Game studio công bố trình diễn "cộng đồng giới thiệu cơng nghệ" GDC vào 9/3/2010 phiên thức đời vào ngày 16/9/2010 Nó hỗ trợ thêm tảng WP7 (bao gồm gia tốc phần cứng 3D), trang bị thêm đặc tính, đối tượng xây dựng sẵn, thiết bị đồ hoạ có hướng vơ

hướng, hỗ trợ chạy đa tảng, hỗ trợ điều khiên cảm ứng đa diểm chạm, hỗ trợ nhận âm từ micro tăng tốc âm phát lại, ngồi có khả tích hợp trực tiếp vào Visual Studio 2010 XNA Game Studio was announced and initially released as a "Community Technical Preview" at GDC on March 9, 2010, and in its final form on September 16, 2010 It adds support for the

(13) http://www.imaginecup.com

Ngày đăng: 27/04/2021, 23:26

Xem thêm:

w