Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Latest commit

 

History

History
38 lines (25 loc) · 1.21 KB

examples.rst

File metadata and controls

38 lines (25 loc) · 1.21 KB

Runnable Examples

OAuth Flow

Note

The runnable source for this can be found in the examples/2_shortcode_oauth folder of this repo.

This example shows you how to use the shortcode OAuth flow to get an access token to connect to Interactive. For development you can manually request a token, but the shortcode flow provides a better experience to users!

Pong

Note

The runnable source for this can be found in the examples/1_viewer_controlled folder of this repo.

For an initial example, we'll create a small pong game. We already wrote a tiny game engine that can be used to create a two player game like so:

Let's make it Interactive!