GAMES 6320 · Final Project · Write-Up

Rooftop Run: a parkour game built with my state machine library and Benjamin Yang's collision system

A short side-view parkour game with crumbling platforms, a moving platform, a timed gate and wall jumps. How it fits into the engine, what it was like to use a classmate's collision system, and what I learned this semester.

23 min readC++ · Direct3D · OpenGL

Course: GAMES 6320-001 Game Engineering II (Fall 2026)

Author: Feiyang Yang

Play the game (one click, ZIP): RooftopRun_FinalProject_Release_x64.zip

A Direct3D Release build (x64). Unzip it and run RooftopRun\RooftopRun.exe.
Controls: Left / Right arrows (or A / D) run; Space jumps (let go early for a lower jump; press it while sliding down a wall to wall-jump); R restarts the run; Esc quits.
Your time is written to eae6320.log next to the exe when you reach the goal, together with the best time of the session.


Background

GAMES 6320 (Game Engineering II) is a graduate course in the Entertainment Arts and Engineering program at the University of Utah. Over the semester each student grows a small C++ game engine out of a framework the instructor provides. The weekly assignments added a renderer that runs on both Direct3D and OpenGL behind one interface, meshes and shaders that are shared and reference-counted, game objects with a simple rigid body, and an asset pipeline that turns human-readable files into binary files at build time, including an exporter for Maya.

In the second half of the semester every student also writes an “Engine System”: a self-contained library that other students can download and add to their own engine. Mine is a state machine library. A game describes its state machines (the states, the transitions between them, their conditions and timing) in Lua data files with the extension .fsm, and a builder checks them and turns them into binary files at build time. At run time the game sets parameters, and the library calls the game’s callbacks when a state is entered, updated or left. To show it off, I made a small demo with a guard whose color changes with its state.

The final project is a small game that uses your own Engine System and at least one written by a classmate. I used the Collision System by Benjamin Yang (section 4). Benjamin and I had presented our two systems together in class, and that is where we first sketched how they could work in one game.

1. Screenshots

The course has seven sections. These screenshots are all from the Direct3D build; the OpenGL build looks the same (two OpenGL screenshots are at the end of this section).

Section 1, the start
1. The start. The green post is a checkpoint.
Section 2, jumping the first gap
2. Jumping the first gap (yellow means in the air).
Section 3, crumbling platforms
3. Crumbling platforms: the one I stand on is shaking (red-orange), the next one is still solid (orange), and the first one has already fallen (dark brown, bottom left).
Section 4, the moving platform
4. Riding the moving platform (green while it moves, teal while it waits at an end).
Section 5, the gate closed
5. The timed gate is closed (red)...
Section 5, the gate open
...and open (green, slid up out of the way).
Section 6, wall slide
6. Sliding down the chimney wall (purple) before a wall jump. The red block on the left is the gate from section 5, now closed.
Section 7, the goal
7. Jumping to the goal (the yellow block).
Respawning
Red: back at the last checkpoint after falling into the kill zone.
OpenGL build, crumbling platforms
OpenGL build: the crumbling platforms.
OpenGL build, wall slide
OpenGL build: the same wall slide as picture 6.

This is the course as I built it, drawn from the coordinates in the code:

The course as built

2. What the game is, and why I made it

Rooftop Run is a short side-view parkour game. You run along a line of rooftops, jump over gaps, cross three platforms that crumble under you, ride a moving platform over a long gap, wait for a gate that opens and closes on its own, wall-jump up a narrow chimney, and reach the goal. The world is 3D, but the camera looks at it from the side and a little above, and the player only moves left, right, up and down, so it plays like a 2D platformer. Falling into the gap below the buildings puts you back at the last checkpoint you touched, and the only cost is time. When you reach the goal, the game writes your time and the best time of the session to the log and starts the run again.

What the player can do:

  • Run, and jump only while standing on something.
  • Jump for a short moment after running off an edge (“coyote time”, 0.1 seconds).
  • Make a lower jump by letting go of Space early.
  • Slide slowly down a wall while pressing toward it, and wall-jump up and away from it.

There is no text on screen, so every object shows its state with its color: the player is blue on the ground, yellow in the air, purple on a wall and red while respawning; the crumbling platforms go from orange to red-orange to dark brown to pale; the moving platform is green or teal; the gate is red, amber or green; and a checkpoint post turns bright green once you have touched it.

The game is a new project, RooftopRun, in my solution, next to the course’s ExampleGame and the MyGame project I built during the assignments. Before starting, each of us wrote a short proposal. Everything I promised in mine is in the game, with two changes:

  • The player is a small robot made of boxes that my content generator writes (see section 3), not a free model exported with my Maya exporter. Everything else in the course is boxes too, so the robot fits in, and I’d rather spend the time on how the jumping feels than on cleaning up a model and checking its license.
  • The player’s state machine has a fifth state, LeftEdge, for coyote time (section 3 explains why that was the cleanest way to do it).

The proposal also named two features I would drop if I ran out of time, the moving platform and the shorter jump. Both made it in.

I picked a parkour game because a platformer needs exactly what our two systems do. Something has to decide what the player is doing right now (on the ground, in the air, on a wall), and that is my state machine library. Something else has to keep the player on top of floors and out of walls, and that is Benjamin’s collision system. We had only sketched this combination in our presentation, so the final project was a chance to find out whether the sketch actually works.

It also suits the state machines well. Every moving part of the course is a small machine whose timing is a number in a data file, so when a platform shook too long or the gate felt unfair, I changed one number and rebuilt the assets instead of touching C++.

A run is short and falling only costs time, so after a fall you just go again. The crumbling platforms keep you moving: a platform starts to shake when you land on it and falls 0.6 seconds later, so you can’t stop to line up the next jump. My best so far is about 27 seconds without falling, and I expect other people can beat that.

3. How it fits into the engine

The update order

Every simulation update does the same four steps in the same order. This is the part of cRooftopRun::UpdateSimulationBasedOnTime() that shows it (shortened):

// 1. Input and gravity set the player's velocity, and the player moves
m_player.object.SetVelocity( velocity );
m_player.object.UpdateBasedOnTime( dt );

// 2. The collision system pushes the player out of floors and walls and sends the events
// (the player's events fill in what it is touching in this update)
m_player.isTouchingWall = false;
Collision::Update();

// 3. The state machines' parameters are set from what the collision system found
ai.SetBool( m_playerHandles.isOnGround, m_player.isOnGround );
ai.SetBool( m_playerHandles.isAgainstWall, m_player.isTouchingWall && isPressingTowardWall && !m_player.isOnGround );
ai.SetFloat( m_playerHandles.verticalSpeed, m_player.object.GetVelocity().y );

// 4. Every state machine is updated
m_player.ai.Update( dt );
for ( auto& crumble : m_crumbles )
{
crumble.ai.Update( dt );
}
m_mover.ai.Update( dt );
m_gate.ai.Update( dt );

Because the state machines run last, every one of them sees the contacts of this update, not the last one. That is the order I planned in my proposal, and I didn’t have to change it.

The simulation runs at 60 updates per second instead of the engine’s default of 15. I override GetSimulationUpdatePeriod_inSeconds() in cRooftopRun. The user guide that comes with Benjamin’s collision system warns that objects can pass through thin colliders, because contacts are only checked once per update. At 60 updates per second and a maximum falling speed of 15 units per second the player moves at most 0.25 units per update, which is less than half of the thinnest floor (0.6 units).

The four state machines

.fsm file States Parameters the game sets What the callbacks do
player.fsm Grounded, LeftEdge, Airborne, WallSlide, Respawning isOnGround, isAgainstWall (bools), verticalSpeed (float), jumpPressed, fellOut (triggers) Entering Airborne with jumpPressed set gives the upward speed. WallSlide limits the falling speed. Leaving WallSlide with jumpPressed set pushes the player away from the wall. Entering Respawning moves the player to the last checkpoint. Every enter callback sets the player’s color.
crumble.fsm Solid, Shaking, Fallen, Returning playerLanded (trigger) Shaking wobbles the platform, harder and harder. Fallen switches its collider off and drops it out of view. Returning raises it back into place, and Solid switches the collider on again. Only the first step needs the game; the other three are timed.
mover.fsm MovingRight, WaitRight, MovingLeft, WaitLeft progress (float, 0 to 1 along the path) The moving states’ update callbacks move the platform and set progress; the waits are timed.
gate.fsm Closed, Opening, Open, Closing none All four transitions are timed, so the gate runs by itself. Opening and Closing move it.

The three crumbling platforms share one definition and each has its own cStateMachine. The callbacks get the platform itself as their user data, so the same seven callback functions work for all three.

Coyote time was a good test of whether the library could express what I needed without new code. Letting Airborne accept a jump during its first 0.1 seconds would not work, because Airborne is entered both by jumping and by running off an edge, and a transition can’t say “only if you came from Grounded”. A separate state says it directly, and the 0.1 seconds is a number in the data file:

{
name = "LeftEdge",
transitions =
{
{ to = "Airborne", conditions = { { "jumpPressed" } } },
{ to = "Grounded", conditions = { { "isOnGround", "==", true } } },
-- The coyote time: how long after running off an edge a jump is still allowed
{ to = "Airborne", minimumTimeInState = 0.1 },
},
},

The Airborne enter callback still has to know whether it was entered by a jump. Here an old decision helped: triggers in my library are reset at the end of Update(), after the enter callback has run, so the callback can simply ask:

// The triggers are still set while the new state is entered,
// so the jump trigger tells a jump apart from walking off an edge or sliding off a wall
if ( io_stateMachine.IsTriggerSet( game.m_playerHandles.jumpPressed ) )
{
auto velocity = player.object.GetVelocity();
velocity.y = s_jumpSpeed;
player.object.SetVelocity( velocity );
player.canJumpBeCutShort = true;
}

The wall jump uses the same trick from the other side: the exit callback of WallSlide sees the trigger and pushes the player sideways, and then the enter callback of Airborne adds the upward speed. Neither callback needs to know about the other.

What I added to my state machine library

The gate opens in 0.8 seconds, and that number is in gate.fsm. The callback that moves the gate also needs to know it, to work out how far open the gate is. I didn’t want to type 0.8 into the C++ code as well, because then tuning the gate in the data file would quietly break the animation. So I added one function to cStateMachine:

// How far the machine is through the current state's timed transition, from 0 to 1:
// the time in the current state divided by the minimumTimeInState of the state's first transition
// that has a minimum time and no conditions (e.g. { to = "Open", minimumTimeInState = 0.8 }).
// It is 0 if the state has no such transition.
float GetTimedTransitionProgress() const;

The gate’s Opening and Closing, the crumbling platform’s Shaking (the wobble gets stronger) and Returning (it rises back into place) all use it. It went into the library itself, and the README of my Engine System package (the folder the classmate ZIP is made from) has a new section that explains it with the gate as the example.

Content: generated boxes, colliders and colors

Our engine can’t scale a mesh: a game object has a position and an orientation and nothing else. Every rooftop has a different size, so every size needs its own mesh, and with Benjamin’s system it also needs its own collider file (a box collider’s size is in the file). Instead of writing 17 meshes and 14 collider files by hand I wrote a small Python script, RooftopRun_/ContentGenerator/GenerateCourseContent.py, that writes all of them from one table of sizes, plus the layers file, AssetsToBuild.lua and one fragment shader per color. The generated files are human-readable and go through the normal asset build like everything else. The game decides where each piece goes.

Our shaders have no lighting, so every box would look flat. The generator bakes a different brightness into the vertex colors of each side of a box (the top is the brightest, the bottom the darkest), and each “tint” fragment shader multiplies that by one color:

o_color = float4( i_vertexColor.rgb * float3( 0.85, 0.3, 1 ), 1.0 );

That gives 20 effects, one per color. Changing the player’s color is then just SetEffect() in an enter callback, the same way the guard in my state machine demo changed color.

Earlier decisions that made this easier

Assignment 04 made meshes and effects reference-counted, so a game can share one mesh between many objects without deciding who deletes it. RooftopRun has twenty effects, one crumbling-platform mesh shared by three platforms and one checkpoint mesh shared by four posts, and all of that was just SetMesh() and SetEffect() calls.

Assignment 05 gave every game object a rigid body state (position, orientation and velocity) and kept the camera separate. Benjamin’s colliders attach to exactly that kind of Physics::sRigidBodyState, so all I had to add was an accessor that returns it by reference.

Assignments 06 to 08 built the asset pipeline, with one builder per asset type. Adding Benjamin’s two asset types was a paste into AssetBuildFunctions.lua, exactly as his README said, and my state machines and his colliders both got build-time error checking without any extra work.

The engine also runs the simulation at a fixed rate and lets rendering predict positions in between. The camera eases toward the player by setting its own velocity, so it looks smooth even though it only moves 60 times a second. And because my own library passes a void* user data to every callback, one set of crumbling-platform callbacks serves all three platforms.

Earlier decisions that made it harder, and what I would change in the engine

  • No scale in a game object’s transform. This is the reason for the content generator. I would add a scale to cGameObject (and a way for a box collider’s size to come from the game), so one unit cube could be every rooftop.
  • No lighting. Baking shading into vertex colors works for boxes but would not work for a real model.
  • The window is square (512 by 512) unless the game overrides GetDefaultInitialResolution(). A side-scroller wants a wide window, so RooftopRun asks for 960 by 540, and the camera’s aspect ratio is a constant that matches. If someone sets a different resolution in settings.ini, the picture is stretched, because the camera doesn’t read the real window size. I would make the real resolution available to the game.
  • In Release builds the log is only written to disk when the game exits, so a crash loses it. That is fine for this game, because the time is written when you finish a run and the file is complete when you quit.

If I kept working on this engine, the first thing I’d change is the missing scale. It cost me a Python script, 17 meshes and 14 collider files for what should be one cube, and every new rooftop size still means generating new content. Lighting would come second, mostly so that a real character model would be worth adding. The fixed simulation rate was the decision I was most glad to have while making this game. Because every update has the same length, a jump is the same height every time, and at 60 updates per second I could check the tunneling problem with simple arithmetic.

Problems I ran into and how I fixed them

  • The moving platform didn’t carry the player. Benjamin’s guide says this would happen: moving platforms should be static colliders that the game moves, and they push things but don’t carry them. The ground check already finds the collider under the player, so when that collider is the moving platform, the player is moved by the same distance the platform moved in the last update.
  • The gate could close on the player. The gate and the rooftop are both static, so a player under a closing gate would be pushed down into the roof. The Closing callback now pushes a player who is under the gate out to the nearer side.
  • Every building side was climbable at first, which would have let the player wall-jump out of any gap. I gave the two chimney walls their own wall layer; only contacts with that layer count for wall sliding.
  • The crumbling platforms were too narrow and too close together for a full running jump (4.8 units): a running jump from the end of one platform landed in the gap after the next one. I made them 2.4 units wide and 4.4 units apart, so a jump from the near half of one platform lands on the next.
  • Testing sections in the middle of the course took a long time. Debug builds have keys 1 to 4 that put the player at a checkpoint. They are not in Release builds.

4. Using Benjamin Yang’s Collision System

I used the Collision System by Benjamin Yang (his Engine System page). It gives objects sphere and axis-aligned box colliders described in Lua files, layers that decide which objects touch, a response that pushes moving colliders out of static ones, OnEnter / OnStay / OnExit events with the contact normal, and raycasts.

Integration

I downloaded the code ZIP from his page and followed the setup in his README step by step: copy Engine\Collision and Tools\ColliderBuilder into my solution, add both projects, add a reference from RooftopRun to Collision, make the asset build project depend on ColliderBuilder, paste his two asset types into AssetBuildFunctions.lua after my mesh type, and list the layers file and the colliders in AssetsToBuild.lua. The project references in his .vcxproj files point at the same engine projects (with the same GUIDs) as mine, so nothing had to be fixed by hand. The first build had no errors and no warnings in any configuration, and I didn’t change a single line of his code.

When the game starts, his system writes the layers and what each of them touches to the log, which was a quick way to check that my layers file said what I meant:

Collision: initialized with 6 layers from "data/collision/game.binlayers"
Collision: layer 2 "player" touches: world, wall, checkpoint, goal, killzone

How Rooftop Run uses it

  • Floors and walls: every rooftop, the chimney walls, the crumbling platforms, the moving platform and the gate are static box colliders. The player is a dynamic sphere. The collision system keeps the player on top of floors and out of walls, so the game has no code for that at all.
  • Ground check: three short raycasts straight down (from the center of the player and 0.3 units to each side, because his guide warns that one ray can miss a ledge that only the edge of the sphere rests on). They only look at the world and wall layers:
for ( const auto offset : { 0.0f, -s_groundCheckSideOffset, s_groundCheckSideOffset } )
{
Collision::sRaycastHit hit;
if ( Collision::Raycast( position + Math::sVector( offset, 0.0f, 0.0f ), Math::sVector( 0.0f, -1.0f, 0.0f ), rayLength, hit, groundMask ) )
{
m_player.isOnGround = true;
if ( hit.collider == m_mover.collider )
{
m_player.isStandingOnMover = true;
}
}
}
  • Walls, landings and triggers all come from the player’s OnEnter and OnStay events. The contact normal points from the other collider toward the player, so a mostly sideways normal means a wall and a normal pointing up means the player is standing on that collider:
if ( ( layer == m_layer_wall ) && ( std::abs( normal.x ) > 0.7f ) )
{
// The side of a wall: the player can slide down it and jump off it
m_player.isTouchingWall = true;
m_player.wallNormal = normal;
}
else if ( ( layer == m_layer_world ) && other->userData && ( normal.y > 0.7f ) )
{
// Standing on top of a crumbling platform
auto& crumble = *static_cast<sCrumble*>( other->userData );
crumble.ai.SetTrigger( m_crumble_playerLanded );
}

Checkpoints, the goal and the kill zone are triggers in their own layers. Touching a checkpoint stores the respawn point, the goal finishes the run, and the kill zone sets the fellOut trigger in the player’s state machine.

  • When a crumbling platform falls, its Fallen enter callback calls SetEnabled( false ) on its collider, and Solid calls SetEnabled( true ) again.
  • The moving platform and the gate are static colliders whose rigid bodies my state machine callbacks move, which is what his guide recommends for platforms and doors.

His events and raycasts set my parameters, and my state machines decide what happens. Neither system knows the other exists.

The split also told me where to look when something broke. When it turned out that every side of every building could be wall-jumped, the WallSlide state was doing what it was told; it was being told about the wrong walls, and the fix was a new collision layer. When the moving platform slid away under the player, the collision response was working as designed, and the fix went into the game’s ground check. In both cases the state machines didn’t change.

The interface

The interface is small. A game includes one header, Collision.h, and everything I needed was Initialize(), Update(), CleanUp(), cCollider::Load(), the three event functions, SetEnabled(), Raycast() and the layer functions. The events are std::functions, so a lambda that captures the game was enough, and the userData pointer told me which crumbling platform or checkpoint the player had touched.

The comments answer the questions I actually had. They say exactly which way the contact normal points and when it is zero, which I needed to tell walls from floors. The one rule that could bite, that a collider keeps a pointer to its rigid body so the rigid body must not move in memory, is stated in the README, the header and the guide. My course objects are fixed arrays in the game class, so it was never a problem. Mistakes in data are caught early too: a typo in a layer name or an unknown key in a collider file is a build error with a file and line, not a crash.

One detail I only appreciated later: “touching” includes colliders that are only just touching. That is what made wall sliding work. After the response pushes the player out of the wall, the player is still touching it, so OnStay keeps coming every update while the player presses toward the wall.

Suggestions for Benjamin

  • A way to change a box collider’s size at run time (or a scale on Load()). I ended up with 14 collider files, most of them for boxes that only differ in size.
  • Moving platforms that carry what stands on them, or at least a “kinematic” collider with a velocity that the response can use. Every platformer will need the few lines I wrote for this.
  • Two static colliders that squeeze a dynamic one (my closing gate and the roof) have no good answer. A note in the guide about this case would help, or an event that says “this collider is being squeezed”.
  • A typed alternative to void* userData, or a small example of telling different kinds of objects apart in an event, would make the first use a little easier.

Getting his system running took less time than any other part of the project. His README is a list of steps you can follow without understanding the whole library first. The guide was even more useful: two of its warnings, about thin colliders and moving platforms, described problems I ran into later, so I recognized them as soon as they happened. Reading it also sent me back to my own README. Someone using a library mostly reads the README and the header, so when I added GetTimedTransitionProgress() I also added a section to my README that explains it with the gate as the example.

5. What I learned this semester

What I think the assignments were for

I don’t think drawing things was ever the point. The first assignment asks for a triangle, but most of the work was about how a multi-project engine is put together: which project links against which, where built assets go, and whether the game still runs after a clean build. After that, almost every assignment took code that already worked and asked me to reorganize it. First one graphics interface for Direct3D and OpenGL, then a single platform-independent Graphics.cpp, then assets that count their own references, then a game that only talks to the engine through a few calls, then a pipeline that moves the slow work to build time. My guess is that the goal was to make us keep asking three questions: who owns this, who needs to know about it, and when should this work happen. The code base was small enough that we could change our answers every week. The Engine System and the final project then checked those answers from the other side, as the user of someone else’s interface.

What I got out of it

A few moments changed how I work.

In Assignment 01 I deleted the temp folder and built only the game, and the game started without its data folder and couldn’t find its shaders. Incremental builds had been hiding a missing dependency on the asset build. Since then I build from a clean temp before I submit, and I did the same for RooftopRun (section 7).

In Assignment 04, a comment in the course’s reference-counting header says the reference count fits into padding and costs nothing. I checked it with sizeof(). It was only true for cEffect in the 32-bit build; in the 64-bit build it added 8 bytes to both cMesh and cEffect. That isn’t a big cost, but I stopped repeating claims like that without measuring them.

Assignment 08 is where the build-time idea clicked. To test my binary mesh format I exported a dense helix from Maya with 65,508 vertices. The human-readable Lua file was about 24 MB and took about 446 ms to load; the binary file was about 1.2 MB and loaded in about 0.5 ms. Only part of that gap comes from the smaller file. Most of it comes from the game not parsing anything. Before this class I would have loaded a text file at run time without thinking about it. Now one of my first questions about any data is whether the checking and converting can happen in a builder. RooftopRun depends on that: a typo in an .fsm or collider file is a build error with a line number, not a crash in the middle of a run.

The Engine System taught me to change a format early. My proposal keyed the states in an .fsm file by name. When I wrote the builder I found that Lua silently keeps only the last of two equal keys, so a duplicated state name could never be reported, and the order of the states was lost as well. I changed the format to a list of states with a name field. That was cheap only because no one else was using the format yet.

It also taught me how different it is to write for someone else. Before I shipped my library I read my README as if I had never seen the code, which turned up two gaps, and then followed it step by step in a clean copy of an older commit to make sure the steps really work. Then in the final project I was on the other side, following Benjamin’s README, and I could see how much a good one saves.

What I changed my mind about, and what I still disagree with

In Assignment 08 the built mesh files are different for Direct3D and OpenGL, because the builder swaps the triangle winding for one of them. At first I didn’t like that; one file for both platforms seemed simpler. Once I thought of a built file as data prepared for one specific platform, it made sense. The game shouldn’t fix up at load time what the builder can fix once.

I also changed my mind about rules like “no warnings in any configuration” and “keep platform-specific code in its own files”. At the start they felt like style. By the end they were the reason I could add Benjamin’s two projects to my solution and get a clean build in all four configurations on the first try, without changing his code or mine.

The one thing I still disagree with a little is leaving scale out of a game object’s transform. I understand keeping the assignments small, but it was the single biggest source of extra work in a game made of boxes.

6. Engineering, architecture and design

The update order of RooftopRun (input, rigid bodies, Collision::Update(), parameters, state machines) was written into my proposal before any code existed, and the code does exactly that today. If I had gotten it wrong, every state machine would have been reacting one update late, and fixing that afterwards would have touched every system. That is the kind of thing I design up front: the boundaries between systems and the order in which data flows, because those are expensive to change later.

The details I design as I go, because I usually can’t know them until I play the game. I didn’t plan the LeftEdge state for coyote time, carrying the player on the moving platform, pushing the player out from under the gate, or the content generator. Each one came from something that felt wrong or was missing once the course existed.

I think good architecture means parts that don’t depend on each other much, and one place for each number. The collision system and my state machine library never call each other; the game is the only place that knows about both, and it is about one screen of code. The gate’s opening time lives in gate.fsm, and instead of copying 0.8 into C++ I added GetTimedTransitionProgress(), so changing the data file can’t quietly break the animation.

A bad example from this project is the missing scale. It looks like a small engine detail, but it turned into one mesh and one collider file per box size, and a script to generate them. On the good side, keeping triggers set until the end of Update() was a small choice I made when I first wrote the library, and both the wall jump and “did the player jump or fall?” depend on it.

7. Building and testing

  • All four configurations (Direct3D x64 and OpenGL x86, Debug and Release) build from a clean temp folder with no errors and no warnings.
  • I played the whole course from the start to the goal without falling in both the Direct3D and OpenGL Debug builds (27.1 and 27.3 seconds), and checked that both Release builds run the first three sections the same way.
  • In Debug builds every state change is written to the log by my library, which is how I checked each section. A run looks like this:
Crumble 1: Solid -> Shaking (transition: playerLanded is set)
Player: Grounded -> Airborne (transition: jumpPressed is set)
Crumble 1: Shaking -> Fallen (transition: 0.6 s in state)
Player: Airborne -> WallSlide (transition: isAgainstWall == true and verticalSpeed < 0)
Player: WallSlide -> Airborne (transition: jumpPressed is set)
Rooftop Run: checkpoint 3 reached at 24.67 s
Rooftop Run: run 1 reached the goal in 27.12 s with 0 falls (best time of this session: 27.12 s, a new best)
  • The ZIP contains only the Release build’s install folder. I unzipped it into an empty folder and ran it from there.

8. Credits