How to Make a Game Like Monument Valley
Learn to create a simple click-to-move game where you navigate a series of seemingly impossible platforms like in Monument Valley. By Wilmer Lin.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
How to Make a Game Like Monument Valley
35 mins
- Getting Started
- Setting up the Game View
- Discovering Penrose Triangles
- Adjusting Camera and Lighting
- Fixing Seams
- Shifting Screen Z
- Adding Level Geometry
- Building Platforms
- Bridging the Gap
- Using Layers With the Camera Stack
- Using Layers
- Creating the Camera Stack
- Adding a Graph, Nodes and Edges
- Exploring Nodes and Edges
- Adding the Graph
- Connecting Edges Manually
- Setting the Goal Node
- Starting Pathfinding
- Clicking Input
- Controlling the Player
- Animating the Player
- Holding out Geometry
- Visualizing the Clicks
- Building Impossible Paths
- Linking the Bridge Rotation
- Adding Node Events
- Completing the Game Manager
- Where to Go From Here?
Where to Go From Here?
Congratulations on finishing this tutorial! Click the Download Materials button at the top or bottom of the tutorial to explore the completed project.
Check out the final version of this project from the downloaded materials. It contains an AlternateLevel in Scenes that shows a slightly more advanced treatment of the bridge platform. Notice that its Clickable tiles have more than one node attached.
The player must now use the sides and bottom of the Bridge as walkable surfaces. This time, you’ll need a few more clicks to reach the goal.
Of course, this prototype just scratches the surface of the game’s unique mechanics.
To see how ustwo games made the original Monument Valley, watch Peter Pashley’s excellent “Making Of” video. You can also take a deep dive into its art design.
Use everything included in the sample project to build a more challenging scene. If you’re comfortable with C#, feel free to extend the scripted components. With just a little work, you can make your own perspective-bending puzzler!
There are a load more tutorials on this site that cover how to make certain game types or mechanics. Start your search here and check them out!
Thanks so much for reading this tutorial. If you have any questions or comments, join the discussion below.