Coding at Home: June 9th, Lunar Lander, Where to Go from Here

Come on our Reality Composer adventure today at 1pm on Twitch!

Recap

Yesterday we had kind of a rocky feed, but we added a landing pad for our rocket and detected when our ship collided with the pad. Not too shabby.

You can re-watch yesterday’s session here: https://youtu.be/zIcCp8J6Grg

Today’s session

For today’s work we’re going to finish off our lunar lander game (for now) with a little bit of groundwork for what might come next.

In the image above I’ve added a Boost button, because maybe I’m a little frustrated, as a player, with the boost buttons being in augmented reality. I don’t want to have to hunt for them when I just want to keep my rocket from crashing.

Xcode icon

We’ll hook up some actions and triggers that will allow us to write code to recognize things that happen in our AR scene. Like a fuel gauge, for example. Each time we boost the rocket we spend some fuel. In a real game we would want to keep track of how much fuel we have left.

We’ll spend the first part of the session working through some additions to the Reality Composer project on the iPad.

The second half (or so) will be a little demo of what’s possible. You can follow along, if you have a Mac and Xcode installed.

We’ll be running a session, soon, where we introduce you to Xcode and the next logical step in your development, as a coder. But this will be just the start of dipping our toes in.

See you at 1pm!

Leave a Reply

Your email address will not be published. Required fields are marked *