Skip to content

chongf/climbers

 
 

Repository files navigation

Climbers and Playtomic

Climbers, the open source game by Sergey Tikhonov is now integrated with Playtomic's analytics. Game developers, feel free to use this example to integrate Playtomic's APIs into your game.

About the game

Player controls two rock climbers, trying to get both to the top. Rocks are randomly generated to fall downwards. Avoid them, and collect stars along the way.

Integrated so far

  • Custom metrics
  • Level metrics
  • Heatmaps
  • Basic GameVars

Metrics being tracked

  • Game Intro Menu : "Play", "More games" and "Source code" button
  • Levels : Begins, Fails, Restarts, Percentage of stars collected
  • Heatmaps : Snap positions of the climbers, in all 15 levels

Tip: after cloning the project, search for all "Playtomic" instances in Game.m, to see how we did it.

LIVE DATA

View the public dashboard

Heatmap Example, from Level 10

Heatmap

Notice how we can study the player's movement based on where they tend to snap the climbers. Combined with level metrics, we can design better levels!

Basic GameVars Example

  • Applied to the vertical velocity of the rock falling down Gamevar1

  • The admin can tweak the variable in Playtomic's dashboard.

  • This velocity is retrieved from Playtomic's servers at the start of every level (check Game.m)

  • More use cases: store all kinds of variables to test, including difficulty, no of stars to generate per level, randomness of rock alerts, etc. Can be evolved into AB/multivariate testing.

Future implementations ( which you can do yourselves, by reading the iOS documentation )

  • Game leaderboards
  • Player generated levels
  • More complex game variables

Lastly, have lotsa fun making games!

Packages

No packages published

Languages

  • Objective-C 91.5%
  • C 8.5%