top of page

Overview

Links & Software

Details & Gallery

Reflections

4,000 downloads across Sonic Amateur Games Expos 23, 24 and 25.

The Flipper Framework

Special thanks to SuperSonic68, NotSoGreedy, LakeFeperd, and more.

Editor Tooling and Organising

Editor Tooling and Organising

Designing and implementing tools for Unity in C# to optimise Level Design Workflows, ranging from visual aids, to generating objects on splines, to renaming batches of objects, to a whole trigger system. Also teaching good practices on working in engine to new devs through documentation, file organising, naming conventions, and more.

Refactoring for Legibility and Optimisation

Refactoring for Legibility and Optimisation

Taking an entire previous code base afflicted with software rot, analysing and rewriting it all under a consistent code style, making it much easier to maintain and build upon. Researched and followed numerous principles, many detailed in "The Pragmatic Programmer".

C# Programming

C# Programming

Implementing brand new systems while reinforcing the old ones in C#. This includes programming tools, physics, basic AI, character controllers, and menus. Made extensive use of state machines, coroutines, structs, OOP, polymorphism and "cohesion over coupling".

Unity Engineering

Unity Engineering

Maximising efficiency of features by utilising Unity Tools across all disciplines. Including Scriptable Objects, Profiler, Input System, Shader Graph, render pipelines, Behaviour Trees, VFX Graph, Probuilder, Cinemachine, Custom inspectors, and Version control.

3Cs Design and Game Feel

3Cs Design and Game Feel

Designing, testing and refining a character controller that feels fast, fluent and responsive, using real time control, polished effects and 3D space (as discussed in the book "Game Feel"). Using a myriad of serialised values and interchangeable actions that can be easily added or removed, allowing easy customisation.

Responsibilities

(Hover Over)

Role(s)

Technical Level Designer (Solo Developer), started from a premade base.

Team Size

1
But expanded from other frameworks, and supported by users due to being open source.

The Background

I first started exploring Sonic Frameworks in 2022, and while I created some levels, my implementation was messy. My goal then became to "un-spaghetti" this project, by going through to refactor, sort, rename, and provide tools to overall make it more usable. Along with enough features to be a starting point for any 3D game.

My university dissertation went through this and was titled "A means for designers to learn and understand programming through readable source code, and why this is important." I have been working on this for 3 years now, building an online community through several Sonic fangaming events and networks.

Genre

Non-profit Unity template for creating 3D platformers

Duration

May 2022 - September 2025

The Project

A Unity template for creating 3D Sonic Fangames that helps new developers learn game development through a sandbox approach. The focus is on optimisation and accessibility, with useful documentation, utilities, and organisation. Every feature and element is described and can be reused later on, with high cohesion, low coupling and a code style guide to help.

The character controller is tight, fast and robust, featuring over a dozen actions (that can be easily removed or added to), over a hundred tweakable stats, polished effects to enhance feel, and many objects to interact with. There are also editor tools, and core game features such as menus, scene management, options, checkpoints and more.

For details on the Levels present in the demo, and their design, see the design page also in this portfolio.

Overview

Links & Tools

Pre-Production

Production

Post-Production

Further Details

Reading code, good code practices, and why this is important.

In order to make the project legible, I had to accept the many chaotic errors I made previously, and understand the implementation and goals of already existing code without documentation. When I started, my code was messy and inconsistent. Now, I've created a code style guide with strict conventions, and utilised interfaces, enumeration, inheritance, libraries, switch statements and coroutines to diversify and optimise the code.

For instance, I had to figure out how Bumper Engine (the base I started with) implemented air dashes, optimise with the profiler, refactor for legibility, comment for clarity & structure, then add additional options to make it control like it does in a variety of different games. There is not a single class in the original Bumper Engine that was not completely refactored to a huge degree, leaving an almost unrecognisable but much more maintainable code base in its place.

How to better communicate technical implementation and use. Tools, documentation, face-to-face, etc.

Clean code is a classic uninteresting subject, and the programming side of games is frequently overlooked by the design side, so finding ways to get people engaged was important. Not just to staff and colleagues through presentations and reports, but to users through code comments and documentation.

I took inspiration from level editors like Fall Guys, Portal 2, Prodeus and Mario Maker. As "the best code is no code at all" (Jeff Atwood), I found ways to offer dev-facing tools and inspectors that allowed more control without touching code. I used Gizmos & Handles to help visualise how objects work, text pop-ups in the world for important values, and component buttons for specific editor functionality like screenshots.

Additionally, I read many academic papers on software development to explore the frequent issues in teaching the subject, the disconnect between technical and artistic disciplines, and the advantages/disadvantages of certain documentation or teaching styles. "The Pragmatic Programmer" was a personal favourite.

Game Feel tricks I'd missed.

In addition to making the project feel good, I had to make the game feel good. Steve Swink argues game feel is composed of Real Time Control, Simulated Space, and Polished effects.

Utilising shader graph, VFX graph, and Animation events, I created and implemented numerous effects like speedlines, trails, and a boost aura. I acquired Sonic SFX to help sell the movement. I also created specific interactions like changing camera FOV at higher speeds, or rotating it around the facing direction when upside down so it's always looking the same way without changing input.

Reflections

© 2024 by Charles Django Cornell.
Created with WixStudio

Flipper Levels

Amira's Plight

bottom of page