ARFoundation foundations

After Unite2018, I found out that I have some work ahead of me!

Along with frankly mindblowing new Entity Component System, and fresh (for me) news of Tiny Unity, I also learned that Unity is hard at work on a lot of fantastic AR features, wrapped up in ARFoundation.

I picked it up and started playing with it today, after downloading the example project from here : https://github.com/Unity-Technologies/arfoundation-samples

Below, A quick code snippet for anyone who needs it. Its a kind of foundational thing, being able to subscribe to an event, but especially with something as integral as the session state of the AR Session, it seemed like a good place to start. From this information you can give prompts in your app to control the basic flow of the app.

using UnityEngine.XR.ARFoundation;

public class SubsystemStateManager : MonoBehaviour {

    private void Start() {
        ARSubsystemManager.systemStateChanged += Change;
    }

    void Change( ARSystemStateChangedEventArgs e)
    {
        print( "state changed to : " + e.state);
    }
}
Share

The Crash

Over the years, I have worked off and on trying to build an RPG. Progress on it ramped up for most of 2018 up until a couple of weeks ago, so I thought I would post some info about it.

I put together a 3d procedural tile system which appears like a natural environment. Green forests, clearings, and hillsides which all fit together nicely. The archery system got some improvements. The compass was put in, and I set it up so that it rotated to the view of the camera and blips for enemies and POI appeared in the same direction as they would in the view. I put together a scripted AI system which can be changed in the editor, and hired another programmer to help me put together some behaviors towards that end.

Then I started working on some core game-feel things and I realized that I had a long way to go, and I was nearing the end of my budget, and have since put it aside.

I decided that I wouldn’t be going a ‘AAA’ style, and experimented with a new pixelated look. What do you think?

Art below was done by Marek Jarocki, who you can find on Instagram : ‘marekjarocki’.

Here are some screenshots!

Share