PC Game Programming (introductory article) (preface is very good)

Source: Internet
Author: User

PC Game Programming (introductory article) chapter I Cornerstone 1. 1 boss Debut--GAF introduction chapter II 2D graphics program first experience 2. L Drink from--the first "game" program 2. 2 Know the reason why 112 D graphic basic 2. 3 Enter the world of graphics key--gafddraw 2. 4 2D The nature of the image-layer surface 2. 5 Scenes of the secret-scrolling background 2. 6 Temptation – Greetings from "the Elves" 2. 7 Dessert--gafapp/gafddraw Other magic weapon of the third chapter of the Siren's song Magic and the Third kind of contact 3. 1 1,2,3--Computer Music Overview 3. 2 Siren's song-The Magic of Sound program 3. 3 Professional accompaniment-mastering MIDI 3. 4 Third Kind of contact--to deal with players fourth chapter build your own PRG Legend 4. L Nine kinds of weapons--RPG game program Framework 4. 2 The cover of the Magic Book-the title screen and the other 4. 3 Create the world-the scene of life and death Cycle 4. 4 Forever protagonist--NPC and The Great devil. 4. 5 Magic spells--plots and scripts 4. 6 Uncle Tess's bag--rpg's prop box 4. 7 Hero's fate--battle 4. 8 The end of the legend--symbolises yet the fifth chapter good wind borrowing more upper building 5. The bottom of thinking--Introduction to Artificial intelligence 5. 2 virtual reality--into the 3D World Sixth Chapter Skills perfect article 6. 1 Dance with data--game program Optimization tips 6. 2 standing on the shoulders of others--common development Library use introduction Appendix I Gafapp class Interface concise reference Appendix two Gafddraw class Interface concise reference Appendix three Gafdinput class Interface concise reference Appendix IV game Programming/production related Site Directory back to top ↑ first Chapter Cornerstone 1.1 boss debut-- Introduction to GAF Chapter II 2D graphics program first experience 2.1 drink from--the first "game" program 2.2 know the reason why--2d Graphics basic 2.3 into the world of graphics key--gafddraw 2.4 2D Image Essence--layer surface 2.5 scenes of the secret--background scrolling 2.6 temptation --From the "Elf" Greetings 2.7 dessert--gafapp/gafddraw Other Magic Weapon chapter III Siren's Song Magic and the Third kind of contact 3.1 1,2,3--Computer Music Overview 3.2 Siren's song-The Magic of sound programming 3.3 professional accompaniment-mastering MIDI 3.4 Third Class contact--to deal with players fourth chapter build own PRG Legend 4.1 Nine kinds of weapons--RPG game program Framework 4.2 Magic book cover-title screen and other 4.3 world-scene of life and death reincarnation 4.4 forever protagonist--NPC and the Great Lord. 4.5 Magic Spells-plots and scripts 4.6 Uncle Tess's bag--RPG box 4.7 Hero's fate-the end of the battle 4.8 legends-symbolises yet the fifth chapter good wind borrow the upper floor 5.1 the bottom of the thinking--Introduction to Artificial Intelligence 5.2 virtual reality--into 3D World Sixth Chapter technique perfect article 6 .1 Dance with Data--game program Optimization Skill 6.2 standing on someone's shoulder--common development Library use introduction Appendix I Gafapp class Interface concise reference Appendix two Gafddraw class Interface concise reference Appendix three Gafdinput class Interface concise reference Appendix IV game Programming/production related website ↓ All contents preface to the top ↑ the so-called RPG, the full name is role play games, translated into a cosplay game. Its embryonic form was developed by the AD&D (Dungeons and Dragons) card game in Europe and America. With the development of the Times, the RPG is gradually divided into two schools, one is the western style of the European and American as the main body, one is Japan as the main oriental style. The basic system architecture of Western style is generally based on TSR, Magic, monsters, strange continents, chaotic times these elements are full of the game, its masterpiece is "Genesis" series, "Diablo" series and "Magic Gate" series. and the Oriental style RPG adhering to the Japanese rigorous style, although also involved in magic, monsters, the mainland and other basic elements, but the proportion of the plot is larger, its masterpiece for the "Dragon" and "Final Fantasy" series. It is worth noting that the Chinese style of the rpg--martial arts game rise. Martial Arts is China's unique art system, but also the only one can be called the 9th Art of the game world to express the profound Chinese culture of the RPG game. One of the more prominent representatives is the "Yuan Jian" series ("Paladin Fast Biography" also attributed to this series), "Heroic Heroes Biography" series, "Great Swordsman Alone Lakes" series and so on. RPG differs from other types of PC games, and it usually focuses on the perfection and fidelity of the entire game world. Therefore, it is much more cumbersome to design in the early stages of development than in other types of games such as motion. As a programmer, the first thing to do is to choose a handy weapon-the programming tool. The program friends know that the more popular programming tools, such as: Vb,dephi, compilation and so on. But if you decide to do RPG programming, then we recommend microsoftvisualc++ to you. Using VC to develop RPG games, it has more close to the bottom. Code running fast, easy to optimize and other radi have incomparable advantages, but also professional game production companies at home and abroad the preferred development tools. Development of the RPG programmer, not only from the local details of the manual, but also to learn from the overall situation to control the progress of the writing. You should learn to work out the assignment plan before writing, design all kinds of useful documents, develop the development cycle, so as not to be in the development processThe miscarriage of the whole project due to negligence in one segment. In addition, it is important to make your code readable, that is, there must be a lot of comments, so that you or someone else has an accurate idea of what to look for in the previous code. The first thing you need to Master is C + + common sense, you can refer to other related books. Another important course is the "data structure", which is a very important basic course in computer science. This is not difficult, that is, how to organize the data and use the appropriate algorithm, the door when people just need to follow the intuition to arrange the data on the line. If you're going to design a big RPG, you'll have to learn the course well. Must be very familiar with all the commonly used data structures, in order to integrate through the use, design a simple structure, easy to maintain procedures. The next of course is the use of VC. Many beginners can't tell the difference between C + + and VC. C + + is a computer language, just like the basic language. And VC is a Microsoft company designed a C + + programming tool, if you want to use a good VC, let it help you do more things, then you still need to see a special VC book. When it comes to designing games, Microsoft's DirectX cannot be mentioned under the Windows platform. It is a VC expansion game development package, mainly used in game design to directly manipulate hardware equipment, and thus speed up the game running speed. This book will be designed using the GAF development package. The GAF Development Kit is a class library developed by "Second Life" for DirectX packaging, which wraps the DirectX functionality often used in game design to replace DirectX for game design. If you are interested, you can also learn some of the ways DirectX is used, which will allow you to better optimize your game program. In addition to the ability to program, there is a notable problem, that is, the development of RPG must have other capabilities, such as planning. Art. Music and so on. It is advisable that you read the book in order, because the principles of this book are based on a comprehensive and progressive approach, from basic to advanced; This book will have only one game instance, but it is using VC + + 6. 0 written, is complete from the design to the writing and debugging of the entire process, one skipped the content of a chapter, the following explanation for you may have a fault feeling. This book is aimed at the reader is a beginner programming friends. We try to use a clear example of the production process of the RPG completely clear, while the code to add a large number of comments, to ensure that the code is easy to understand, the text interspersed with a certain knowledge of the introduction, and added to the basic programming knowledge of the explanation, which will play an indispensable role. This book can also be used as a reference material for advanced programmers to enter the game industry. In the analysis of RPG games, we take a gradual approach, gradually revealing the core of RPG game production. Both in code writing techniques and in the production structure, there are appropriate advancedContent hints. It is believed that smart readers will have new and useful inspirations through serious thinking. This book also applies to non-programmers who aspire to the game industry. In our writing process, in addition to trying to write the game code to tell clear, but also from our own development experience, let the reader in-depth understanding of the whole RPG game development process. In this way, the reader can better grasp the steps of RPG game development, from a professional perspective to oversee the entire game project, as far as possible to prevent erroneous development ideas. This book is divided into 6 chapters, the 1th chapter belongs to the game development should master the basic knowledge, the 2nd, 3 chapters belong to the game to write the more interesting basic content, tells the picture and the sound effect writing; The 4th chapter is the focus of this book, detailing the design method from each constituent element to the whole; 5th, 6 chapters are high-level Class encapsulation, AI, writing skills, and so on. The companion CD-ROM includes all the examples of this book. source files and tutorials, and also includes some very useful tools. Finally, thanks to all of our friends who have supported us in writing this book 2 thanks to the Cloud Wind studio and Shipeng free development tools, thank them for their strong support! At the same time, to all provide documents, program code and pictures of the Second Life members to express their thanks! They are: Wangyuan, Zengsong, ma June, Yang Bo, Wu Menghua, Zhaozhiyang, Huang heart. Chen Rui, he jie, Shong tide. Li Haitao Second Life game development Studio website: http://www. UOCPK. net/secondlife/Editor's preface to the top ↑ "Happy writing game easy to learn Programming" series is Chongqing University Press for the vast number of computer programming enthusiasts and computer game players to send a gift, is a set of learning, entertainment in one, a new teaching mode of good books. The full set of books by Chen's master planning, in the multi-dimensional book Planning Center and the game studios with the help of the smooth publication. A description of the relevant issues in the series is now available. Programming and Game program is the soul of the computer, mastering the programming technology can be arbitrary to let the computer serve you, let it realize your dream. But a lot of commands and statements in the learning process are boring, and every programmer who learns to program has a lot of familiar commands but can not organize a decent program experience. So we associate with a program that fascinates a lot of friends--video games. L) the 9th Art video game is like drama. Film, is a comprehensive art, and is a higher level of integrated art, its appearance represents a new form of entertainment-interactive Entertainment (Interactive Entertainment), and from its birth to now has been with its unique Qui-gon attracted many players, At the same time, it also inspires more people to wish to write games. A thing, when it has a rich and unique expressive force, when it can give people a heartfelt joy, when it is manifested in many vivid images, it is an art. Video games have become an art, following the painting, carvingMoment. Architecture, music, poetry (literature), dance. The 9th art in human history after drama, film (film and television art). In the the 1970s, the first batch of simple video games appeared, and today, it has developed into an independent new style of art with millions of fans, showing the world its powerful artistic vitality. "Civilization", "Doom", "Magic Gate" ... One after another miracle in production, into people this industry has become a lot of people's dream. The biggest players in the entertainment world: Lucas, Paramount, Warner, etc. are all committed to the development of video game products and have launched a large number of excellent interactive movies (Interactive movie). Worldwide, the gaming industry has made more profit than the U.S. film industry and Japan's auto industry. It is believed that in the near future, a large number of outstanding film directors and real artists will be involved in the development of electronic game art. And the birth of VR helmet and 3D sound card has made the video game far out of the audio-visual level that the general movie can reach. It can be seen that video games have brought the integrated art of audiovisual to a new high and new field. In China, video games were once known as "e-heroin", and some educators denounced how video games poisoned teenagers and harmed people's health. In fact, instead of trying to kill it, it is better to work together to raise its length and avoid its short. Because the vast majority of people who oppose video games do not oppose electricity to the game itself, but rather oppose the negative side of video games. Just as the water can carry the boat also overturn it the truth, anything has its two sides, the key is how to use the good side for the benefit of mankind. This series is to take advantage of the positive side of the video game, will be dull learning to melt people relaxed game, to achieve the purpose of teaching in music. 2) Fostering a holistic view many of those who have just learned to program are always devoting a lot of energy to commands and statements, or concentrating on learning complex functions. They all ignored how to implement a complete program, so there are a lot of beginners have not written a complete program. To avoid this, when writing a game instance, each book uses a simple and powerful game development engine that allows readers to easily learn how to display image files, play sound, and control input devices, and then focus on the process and principles of how to implement a complete game. Through careful explanation, readers will soon be able to learn from the example of the role and status of the overall concept of the program, and in a step-by-step learning to master it. Programming tools as a programmer, the first thing to do is to choose a handy weapon-the programming tool. The program friends know that the more popular programming tools, such as: Vc,vb,dephi, compilation and so on. Since this series is from the writing game, and in order to be able to complete a perfect game, programming tools should be close to the bottom, the code is running fast, easy to optimize and other advantages. So VC became the perfect choice. Beginners VC, will because the viewThe change of mind. In fact, everyone is faced with the new knowledge of learning and old knowledge updates. This is like, only take a new step to move forward. So how can we learn to develop the program (game) faster? Very simple, that is "learning while doing"! The so-called knowledge from the practice, do learn to learn, learn to do, so you can easily integrate through. So, first of all to understand some VC use common sense, follow the book of some simple examples step-by-step practical operation, learn some basic game development common sense. Then learn some c+ 10 theoretical knowledge, choose some difficult examples to learn. Then learn some advanced techniques for game development and try to develop a game for yourself. Rome is not built in a day, rice is not a mouthful to eat, the game is not a will be able to make out. So, build a brick every day, and soon a beautiful castle will stand in front of you. I sincerely hope that every reader will be able to absorb useful knowledge in this series.

http://download.csdn.net/download/xzpd2012/2416487

PC Game Programming (introductory article) (preface is very good)

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.