NEO.Game Developer Guide
Welcome to the NEO.Game Developer Guide, one of NEO technical documentations to help developers to speed up the development of blockchain games or DApps on NEO. This guide includes all the useful resources that NEO provides, it covers all the tools and corresponding instructions that developers will need to build NEO games or ADpps. The whole purpose is to make it as easy as possible to build, test and deploy games or DApps on NEO.
This guide provides the following support for blockchain game or DApp developers:
- How to set up NEO blockchain?
- How to use NEO-SDK?
- How to use NEO wallet browser extension?
- How to write NEO smart contract?
- How to develop a blockchain game using gaming engine, NEO-SDK or wallet extension?
In addition, NEO provides official technical documentation, explaining the following in detail (Please click on the following links to learn more):
This guide mainly focuses on NEO blockchain game development, but can aslo be applied to any DApp development.
1. Setting up NEO blockchain
The first step for development is to set up NEO blockchain, which is used for developing and testing of blockchain games or DApps. We offer two methods of doing this:
- Setting up NEO PrivateNet
- Using NEO TestNet
Pleas click here for how to set up NEO blockchain.
2. NEO SDK
NEO SDK allows developers to quickly build your games or DApps to interact with NEO blockchain, such as creating wallets, sending assets or invoking smart contracts, etc. It offers a more flexible and diverse approach for developers to maintain your own NEO wallet as well as process transactions generated by games or DApps.
Considering different development requirements, NEO currently provides various SDKs written in different programing languages, including:
Pleas click here for instructions and usage of all NEO SDKs.
3. Wallet Browser Extension
Apart from handling NEO wallets and transactions via NEO SDK within games and DApps, developers can also integrate NEO wallet browser extensions into their browser-based games or DApps to interact with NEO blockchain. In this way, the responsibilities of maintaining NEO wallet and guaranteeing the privacy and safety of users' private keys will be taken care of by the wallet provider. Developers can focus more on building their blockchain games and smart contracts.
Currently, developers can use one of the following extensions:
Pleas click here for NEO wallet browser extension guide.
4. Smart Contract Development
For gaming projects requiring the creation of token assets, NFT or implementing game logics using smart contracts on-chain, we also provide full support on smart contract development and invocation, including:
- NEP-5 token standard
- NFT standard
- Writing smart contract with C#, Python, and Java
Pleas click here to learn how to build your smart contracts with different programing languages.
5. Gaming Engine Support
For game developers with a preferred gaming engine, we provide tools and instructions to enable developers to build NEO blockchain games with their preferred gaming engine.
This section covers the basic development instructions for some of the most popular gaming engines, including:
- Cocos Creator
Pleas click here for detailed instructions.
We plan to support more engines soon.