Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
unreal changes (#1113)
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Menon <[email protected]>
  • Loading branch information
rahul-thirdweb and Rahul Menon authored Dec 7, 2023
1 parent 52f5c74 commit a7f66b5
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions docs/onboarding/22 Gaming/1 Unreal Engine.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,48 @@ slug: /gaming/unreal-engine
title: Unreal Engine
hide_title: true
---
import QuickstartCard from "@components/QuickstartCard";

# Get Started
# Quickstart

Learn how to set a production style setup for your Unreal Engine game.
In this guide, we’ll build a demo game called Speed Racer using a template. Once setup, users will be able to connect their wallet and perform on-chain actions without signing transactions or paying gas.

In this guide, we’ll use a template to deploy a client/server compatible with Engine, and a template game.
Try it out by downloading the game using the links below


<QuickstartCard
name="Download Speed Racer for Mac"
link="https://www.dropbox.com/scl/fi/2n3m59u8bsv3tavanafb7/SpeedRacer_Mac.zip?rlkey=16iaw3g8z8iwogku0bsqwakeo&dl=0"
image="/assets/solutions/apple-logo.png"
/>


<QuickstartCard
name="Download Speed Racer for Windows"
link="https://www.dropbox.com/scl/fi/h7lc0wf85ww8u1mrfidjk/SpeedRacer_Win64.zip?rlkey=6tsmk0wvwlpwc63tdxayxmrrj&dl=0"
image="/assets/solutions/windows-logo.png"
/>

## Architecture

We recommend the following architecture to build production-grade games on Unreal Engine

![Unreal Engine](./assets/unreal-architecture.png)

## Set up Engine
There are 2 thirdweb tools being used here

- [Connect](https://portal.thirdweb.com/connect): This is used to link user wallets to your game. This step needs to be done in a browser environment.
- [Engine](https://portal.thirdweb.com/engine): Once you have a wallet linked to a game user, you can use engine to perform all blockchain interactions.



## 1. Set up Engine

This example makes use of thirdweb Engine, a backend HTTP server that calls smart contracts using your managed backend wallets.

You’ll need an instance running for your server to interact with the blockchain. [Learn how to set up your own Engine instance](/engine).

## Set up website and backend
## 2. Set up website and backend

We’ll need a website for users to sign up and link their wallets, and a backend to handle wallet authentication, user registration and interaction with engine.

Expand All @@ -37,7 +63,7 @@ To deploy a client/server:
9. Go ahead and create a user on your website, and link a wallet
10. You are now ready to head into Unreal!

## Set up Unreal Engine
## 3. Build your Unreal Engine game

To simplify this part, we created a template for you with a simple script to interact with your server as per the architecture illustrated above. A level blueprint instantiates the UI, which has its own blueprint to interact with your server.

Expand Down
Binary file added static/assets/solutions/apple-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/assets/solutions/windows-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit a7f66b5

@vercel
Copy link

@vercel vercel bot commented on a7f66b5 Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.