C # getting started with Game Development

Source: Internet
Author: User
C # getting started with Game Development

C # getting started with Game Development

Trial reading document:Http://pan.baidu.com/s/1eQeSl0Y

C # Is a high-level programming language released by Microsoft. Similar to C, C # has become a required language for computer related majors in universities. Many beginners think that C # can only develop Windows desktop applications and write on ASP. NET websites. This book will correct this idea for readers and use C # To develop wonderful games! Learn the required systems and softwareInstall unity 4.5.1 on Windows 7 ContentsChapter 5 use C # Prepare for the game 1st unity overview 11.1.1 unity introduction 11.1.2 unity download 11.1.3 unity installation 11.1 game project 21.2 view reference manual for specific components 41.3 create and edit C # script 72.1 build game scenario 112.1.1 new game scenario 112.1.2 add game objects 112.2 change the status of Game objects 132.2.1 main camera and game view 132.2.2 transform component 142.2.3 directly operate game objects 152.3 quick operations on the scene view 162.4 use the script 192.4.1 example to demonstrate the composition of the 192.4.2 script 202.4.3 how to grant the script to the game object 222.4.4 run the game 232.5 summary 23 Chapter 3rd attributes of the game object-variable 243.1 attributes of the game object 243.2 refer to data named 253.2.1 variable naming rules 253.2.2 variable naming conventions 253.2.3 variable names and attribute names slightly different 263.3 visibility of attribute names 263.4 sets the Data Type of the attribute 273.4.1 data type 273.4.2 the embodiment of the attribute data type 283.5 use the script variable 293.5.1 to declare variable 293.5.2 variable initialization 303.5.3 variable calculation 303.5.4 member variable 313.5.5 variable scope 323.6 statement 333.7 game example 343.8 Summary 37 Chapter 4th game object behavior logic-method 384.1 game object behavior logic 384.2 method in script 384.3 use script method 394.3.1 method and variable 404.3.2 definition method 404.3.3 call method 414.3.4 method use example 414.4 unity built-in method 424.5 parameter 444.5.1 parameter of Method 444.5.2 practical significance for the game 444.6 reduce code repeated writing 464.7 game example 484.8 summary 51 Chapter 51 game execution path selection-judgement 5th game execution path 525.1 determine player selection 525.2.1 most commonly used -If 535.2.2 if statement game example 545.2.3 other judgment statements 575.3 traverse each data in a loop, and make judgment 585.3.1 storage of a large amount of data and reference 595.3.2 traverse a large amount of data 625.4 game example 665.4.1 game running effect 665.4.2 game implementation step 675.4.3 compiling of game scripts 675.5 summary 73 Chapter 6th Between Game objects communication 746.1 external manifestation of the game 746.2 internal embodiment of the game 756.3 point operator 766.3.1 object, component and class 766.4 in the script using the dot operator 776.4.1 access component own attributes and method 776.4.2 access the same other components on the object 786.4.3 Access Components on other objects 806.5 game example 816.6 summary 85 Chapter 7th game hub-state management mechanism 867.1 overview 867.2 workflow 877.2.1 game status 877.2.2 grant game control game status 877.2.3 game status switching 887.2.4 real-time recording of the current game status 887.3 class instantiation 897.4 introduced interface 927.4.1 interface overview 927.4.2 Example demonstration 937.5 summary 95 chapter 8th state management mechanism use example 968.1 add game status 968.2 core script controls the game status 988.2.1 problems with the core script 988.2.2 Example demonstration 1 998.2.3 Example demonstration 2 1008.3 ongui () in the core script () 1018.3.1 add ongui () 1028.3.2 demo 1 1028.3.3 DEMO 2 1048.4 game scenario switchover 1058.4.1 add game scenario 1058.4.2 introduced Problem and Solution 4.1.8.4.3 demo 1088.5 sample code 1118.5.1 core script 1118.5.2 interface istatebase 1128.5.3 game status 1128.6 summary 115 chapter 9th game example-capsule purification war 1169.0 game synopsis 1169.1 build a game framework 1169.1.1 game running flowchart 1179.1.2 core script 1179.1.3 interface 1189.1.4 game status 1199.1.5 framework running effect 1249.2 store game data 1269.3 add game boot screen 1289.4 Add "Capsule" Player Object 1319.5 "Capsule" setting 1339.5.1 Add the script component 1349.5.2 the color of capsule 1349.5.3 that can rotate switch to the setting of the capsule lifecycle of 1399.5.4 1439.5.5 next game status 1449.6 capsule mobile 1459.6.1 add Rigid Body Component 1469.6.2 code for mobile effect 1479.6.3 mobile effect display 1499.7 game view switching 1509.7.1 add camera 1509.7.2 implement view switching function 1529.7.3 applied to game 1569.8 ridiculous the planet and its indigenous peoples 1619.8.1 Add the ridiculous ground 1619.8.2 indigenous peoples: the evolution of probiotics and "Ebola" virus 1639.9 capsules journey 1679.9.1 fierce Ebola virus 1679.9.2 virus Purification Process 1709.9.3 triggering purification timing 1739.10 adding game scores with a lifecycle of 1769.10.1 game rules 1769.10.2 scores and increase or decrease the life value 1789.10.3 game status switch 1799.10.4 game view score and life value 1859.11 game flowchart and source code overview 1869.11.1 game running flowchart 1879.11.2 core script 1879.11.3 interface 1899.11.4 game status 1899.11.5 other function script 1999.12 summary 204

C # getting started with Game Development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.