-
Notifications
You must be signed in to change notification settings - Fork 10
Game Engines
As previously mentioned, XAYA supports any game engine, such as Unreal Engine or Unity.
In essence, there are 3 components to games on XAYA.
- XAYA daemon
- Game State Processor (GSP)
- Front end
You will be developing both the game logic in the GSP and the front end with your games.
The front end can be developed in any language or with any engine you like. The same is true for the GSP although we only provide C++ examples and C# using our provided wrapper.
Your users can play your game in a decentralised way or through a relay service.
In a decentralised way, your front end will send transactions to the xaya daemon and receive your current CHI balance, whilst receiving the state of the game and other information from the GSP.
It's also possible to host the GSP with the XAYA daemon on a centralised server so that clients can receive the game state and have their transactions (game moves) forwarded to the blockchain while not having to download the full blockchain locally. This will work especially well for mobile clients.
More tools to simplify these processes will be coming.
- Step 0: Blockchain Basics
- Step 1: xayad <⸺ start here
- Step 2: The Game State Processor
- Step 3a: libxayagame Component Relationships
- Step 3b: Compile libxayagame in Windows
- Step 3b: Compile libxayagame in Ubuntu
- Step 4: Run xayad for Games
- Step 5: Hello World! in C++
- Step 5: Hello World! in C#
- Step 5: Hello World! with SQLite
- Step 6a: Mover Overview
- Step 6b: Mover Console
- Step 6c: Mover Unity
- libxayagame Component Relationships
- How to Compile libxayagame in Ubuntu 20.04.03
- How to Compile libxayagame in Ubuntu 22.04
- How to Compile libxayagame in Windows
- Xayaships (How to get started playing)