Castle
DownloadsGet the Castle client.Frequently Asked QuestionsLearn more about Castle.ExamplesUse this list of examples to bootstrap your game.Quick StartGet started in under 5 minutes.Creating an AccountWhy and how to create a Castle account.Make Your First GameFollow this small tutorial to get oriented with a basic workflow.Describe your Game with a Castle Project FileThis tutorial will provide an overview and motivation for a project file.Adding Games to your ProfileShare games you made by adding them to your profile on Castle.Hosting Your Own GamesLearn how to add games to Castle which are hosted on another service.Game Dimensions and ScalingChange the dimensions and scaling behavior of your Castle game.Manually Make a New Castle Game from ScratchAn educational resource for advanced usersCastle Project File ReferenceThe project file contains the title, description and other metadata about your game.User API ReferenceGet information about users playing your game.Post API ReferenceIntegrate with Castle's post system.Storage API ReferenceStore shared or per-user data in the cloud.Game API ReferenceNavigate to or get information about other games on Castle.UI API ReferenceDisplay user interface elements such as buttons and text boxes that allow users to interact with your game.System API ReferenceGet information about or perform activities relating to the system Castle is running on.Code Loading API ReferenceLow-level functionality for loading Lua code over the network.Community Reference LinksUseful community links for learning about Lua and LÖVE.

Examples

By The Castle Team // 2-25-2019
Use these examples to bootstrap your Castle project.

lil platformer

A small platforming game where you jump around and collect gems. A perfect starting point for anyone looking to make their own platformer!

lil chess

A nice starting point for anyone looking to make a grid-based game, be it a board game or a tactics game.

lil flock

It's not much of a game, but a great opportunity to learn about flocking simulations! Try toying with the flocking constants to get your own unique boid behavior.

lil strategy

The beginnings of a strategy game where you order your units to move around. Make it your own and give them something to do!

lil racer

A race around a micro-sized track. Learn how to program car-like movement and how to use an image as level data.

lil ribbons

You're a ribbon and you dodge scissors. Learn how to make a mouse-based obstacle-dodging game!

lil space

A game of asteroids with thruster-based movement! Make this classic game your own.

lil adventure

A good starting point for a tile-based adventure game. Make your own world and characters!

lil hoops

A great introduction to rigid-body physics. Shoot some hoops and make it your own!

lil runner

A procedurally-generated infinite runner where you avoid obstacles. Try making your own!
Want some ideas for what to do next? Read the making your first Castle game guide, where we'll learn how to draw a circle, print some logs, and move the circle around with the arrow keys.