Native iOS features

Build an iPhone app with a 2D game: tap, jump, dodge and score

Borel builds 2D games for iPhone: tap to jump, tilt to steer, break the bricks, beat your own score. Describe the game and its rules, and Borel writes it in Swift with Apple's SpriteKit for the playing field and GameplayKit for fair chance, with every shape, colour and sound made in code.

Ideas

What you can build with 2D games

A few apps people make with it. Describe yours in your own words.

  • A jump game

    Tap to jump a ball over blocks that slide in, with your high score kept.

  • A brick breaker

    A paddle, a ball and rows of bricks, with a tap you feel on every hit.

  • A tilt maze

    Roll a marble to the exit by tilting the phone.

  • A memory match

    Flip cards to find the pairs, shuffled fresh for every game.

  • A space dodger

    Steer a ship past falling rocks that come faster as you go.

Try it

A prompt to start from

Copy it, or start with it and change it to fit your idea.

The prompt
“A simple 2D game: tap to make a ball jump over blocks that slide in, with a score and a high score.”

From words to the App Store

Four steps, no code

  • 1

    Describe it

    Say what the app does in plain words, or start from the prompt above. No code, and no Mac.

  • 2

    Preview it on a live iPhone

    Borel writes the Swift, compiles it with Xcode on its own Mac and runs it in the iOS Simulator, a live iPhone streamed into your browser.

  • 3

    Publish it to the App Store

    With Pro and Apple's Developer Program, Borel builds the App Store version on its Mac, prepares the listing and screenshots, and walks you through sending it for Apple's review.

  • 4

    Keep it on your own iPhone

    With Pro, Borel Companion installs it over a cable the first time, then over Wi-Fi, and while it runs it puts each new version on by itself.

How Borel handles it

Written in Swift, with Apple's own frameworks

What Borel takes care of for you, so the feature works the way iPhone owners expect.

  • Apple's SpriteKit

    The game runs in SpriteKit, Apple's 2D game framework, inside SwiftUI, with smooth movement, bounces and taps.

  • Fair chance with GameplayKit

    GameplayKit gives the game its random numbers, shuffles and rules, from Apple's own game toolkit.

  • Made in code

    Every shape, colour and sound is made in Swift, so there are no pictures or sound files to draw, buy or license.

2D games run in the iOS Simulator in your browser, so you play each version as Borel builds it. Tilt controls and the taps you feel come alive on your iPhone, with Borel Companion or from the App Store.

After the preview

On the App Store, and on your own iPhone

Publish it with Pro and Apple's Developer Program, $99 a year, and once Apple approves it, anyone can download it from the App Store. With Pro, Borel Companion also puts it on your own iPhone with a free Apple ID: 3 apps at a time, Borel's own iPhone app among them, renewed every 7 days for you.

Frequently asked questions

No. Every shape, colour and sound is made in code, so the game is ready to play with no art files at all.

Yes. SpriteKit runs in the iOS Simulator streamed into your browser, and you play with your mouse or trackpad.

Yes. The app keeps your scores on the phone, so your high score is there the next time you play.

Yes, with Pro and Apple's Developer Program. It can be free, with in-app purchases for extra levels if you like.

Yes. Ask for it in the chat, for example “add a little jump game to the main screen”, and Borel adds it.

Build your app with 2D games

Start from the prompt above, change it to fit your idea, and Borel builds it while you watch.