Tool Sharing: A brief analysis on the development tools of Gameplaykit Apple hand Tour

Source: Internet
Author: User

June 9 WWDC2015 Conference, Apple announced that iOS 9 will launch two very important hand-tour development tools Gameplayki and Replaykit, these two tools for the iOS hand-tour developers and European and American game video related areas may have a relatively large impact. Gameplaykit development tools are likely to become the mainstream of the future development of iOS hand-tour tools, little love here to you briefly introduce this tool, interested iOS developers can get new skills as early as possible.

What is Gameplaykit?

Gameplaykit is a basic tool and technical framework to help novice developers create games on OS X and iOS platforms, providing content in game resources, modules, gameplay design, and system compliance. Gameplaykit is primarily designed to help developers develop gameplay and design modular components, with minimal effort to make scalable game architectures, but does not include features such as visual rendering. For some senior developers, Gameplaykit may not be the most suitable development tool for the time being, and a more complex game development framework that supports multi-platform publishing may be more appropriate.

first knowledge of Gameplaykit

The Gameplaykit framework contains a number of independent branch systems that cover several areas of game design and development.

Randomization (randomization): Uses Gkrandom protocol, Gkrandomsource, and Gkrandomdistribution class, and there are more unique subclasses to increase the uncertainty of gameplay, At the same time, there is no need to increase the amount of bug debugging.

State machines: Use Gkstatemachine and Gkstate class to create a modular gameplay system.

Minmax Strategist:gkminmaxstrategist class provides AI design for enemies in turn-based games, and if you want to use a strategist, you need to use Gkgamemodel protocol and related protocols to describe gameplay.

Pathfinding System (pathfinding): Use the Gkgraph and Gkgraphnode classes and their subclasses to model your game world navigation, and find the routes you can use for your game objects.

Agents, goals, and behaviors: Gkagent class provides simulation capabilities you can customize the move behavior rules for game units through Gkgoal objects, and each class is designed with high goals for an agent auto-follow.

Rule system: Use Gkrulesystem and Gkrule class to create complex game logic, including fuzzy reasoning and contingency behavior.

Gameplaykit function

Gameplaykit provides an entity component architecture that helps you design reusable gameplay code and provides a state machine system for solving complex process-oriented code. Gameplaykit also contains a number of randomized tools that can provide basic resources for a variety of gameplay.

Creating a good game also requires the use of sophisticated algorithms (algorithms) to solve many common gameplay problems. With Gameplaykit, you no longer have to write your own algorithms, but you can use the resources provided by Gameplaykit directly, so developers have more time to focus on playing the game more uniquely. For example, you can use the Minmax Strategist feature to create an AI system for turn-based games, navigate through the pathfinding feature for game characters, set up automatic walking for high-level game characters, or use a rule system that is separate from code and implement fuzzy logic Reasoning).

Because Gameplaykit is independent of the advanced game engine in iOS and OS X systems, you can integrate it with any technology that can do a full game, such as Spritekit for 2D games, Scenekit for 3D games, or using metal/ OpenGL ES Custom third-party game engine. For games with low quality requirements, you can even create games directly from Gameplaykit and (iOS) Uikit or (OS x) appkit.

PS: The above text is encrypted by love translation and collation from the Web, the content of the Apple website "Gameplaykit Reference and Programming Guide", developers interested in Gameplaykit tools can be detailed on the Apple website.

Article Source: http://www.ijiami.cn/newsInfo?id=634&v=3

Tool Sharing: A brief analysis on the development tools of Gameplaykit Apple hand Tour

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.