Repository navigation
Releases
v0.0.4: Improve performance and fix collision bug
Full Changelog: v0.0.3...v0.0.4
What Changed?
The game now runs 60% faster (1.6 times faster overall) without changing a single detail of how the ship controls or physics behave.
Everything---jumping, steering, falling, and crashing---still works 100% identically to the original 1993 PC game.
How Was It Made Faster?
1. The "Driving on Flat Ground" Shortcut
-
The Problem: In the original code, even when driving smoothly on a straight road, the engine spent a massive amount of effort calculating whether the ship was hitting a wall or falling through the floor---up to 36 checks every split second---just to end up at the obvious answer: "you're still on the road."
-
The Solution: The game now instantly recognizes when you are safely cruising on flat ground and skips all those redundant math checks.
-
The Proof: A testing program simulated 9,234 different driving situations across all 30 levels of the game to prove this shortcut never makes a mistake or changes how the ship moves.
2. Smarter Memory Memory Checks
- A small two-line tweak to how the game remembers track tiles saved an extra 14% processing time on its own by skipping unnecessary safety checks on information the console already had.
What This Means for Gameplay
-
Smoother Playback: The video track updates faster, reducing input delay and video lag when driving at top speed.
-
More Distance Covered: Your ship covers significantly more ground in the same amount of time, making the game feel responsive rather than sluggish.
-
Exact Same Physics: A jump will follow the exact same height and arc down to the precise pixel as it did on the PC original.
What's Next?
While 1.6× is a huge improvement, the game still works hard during complex landing maneuvers. Future speed updates would require rewriting parts of the collision code directly in raw Z80 assembly language.
v0.0.3: Fix bugs that prevented the game from running on accurate emulators.
Full Changelog: v0.0.2...v0.0.3
Here is a clean, player-friendly version of the update notes for SkyRoads:
SkyRoads --- Update & Fix Notes
This update fixes major graphical corruption and screen blackout bugs, ensuring the game runs smoothly and accurately on strict emulators (like Emulicious) and real hardware.
What Was Fixed
Fixed Visual Artifacts & Corrupted Graphics
-
The Problem: The game was sending background graphics to the video chip too quickly while the screen was actively drawing. Lenient emulators ignored this, but accurate emulators and real consoles dropped the extra data, resulting in missing or glitched road tiles.
-
The Fix: The loading system now automatically checks if the screen is actively drawing:
-
During Level Loading / Menus: Uses a high-speed transfer path for quick load times.
-
During Active Gameplay: Uses a properly timed, safe transfer path to ensure every graphic tile is loaded cleanly without glitching.
-
Eliminated Random Screen Blackouts
-
The Problem: When the action got heavy, a safety feature would temporarily turn off the display to force graphics to catch up. This caused the screen to flash black and suddenly jump ahead during gameplay.
-
The Fix: The screen blackout feature has been completely removed. Instead, the game now uses a smart, adaptive queue that dynamically scales graphic loads during intense moments---keeping the screen fully visible at all times.
Technical & Performance Findings
-
Rock-Solid Stability: Comprehensive automated testing confirms that screen mode checks now match actual hardware behavior across all menus, level loading, gameplay, and game-over resets.
-
Physics & Frame Rate: Deep performance profiling revealed that collision detection (calculating where your ship touches the road) takes up 85% of processing power. The gameplay simulation remains 100% accurate, though heavy sections may run at a lower display refresh rate as a result.
v0.0.2: Fix jump physics, fix collision and add more levels and title screen on SkyRoads for Master System
Full Changelog: v0.0.1...v0.0.2
The game is now playable, but it's still having sync issues on accurate emulators or real hardware.

v0.0.1: Implement initial proof-of-concept of a FMV-backed Skyroads for Sega Master System
Full Changelog: https://github.com/haroldo-ok/skyroads-fmv-sms/commits/v0.0.1
This is on the edge of being playable:
- As long as you don't jump and only accelerate/decelerate and move sideways, you can go a long way into the first level;
- Jump physics and collisions are currently broken, though
Here is a clear, accessible breakdown of how this project works, written without dense developer jargon.
What Is This Project?
This is a custom version of the classic 1993 PC game SkyRoads, adapted to run on the Sega Master System (SMS).
The 8-bit Sega Master System is normally far too weak to calculate and render 3D graphics in real time. To bypass this hardware limit, this project pre-renders the 3D track on a computer beforehand and streams it on the Master System as a fast-updating video---while keeping the game fully playable.
How it Works Under the Hood
1. "Pre-Rendered Video" Game Engine
-
Instead of forcing the Master System to build 3D shapes on the fly, the road is stored as a sequence of images (440 frames for Level 1).
-
As you play, the game calculates your speed and position, then immediately skips to the exact matching frame of video.
-
If you speed up, the video plays faster; if you hit a wall and stop, the video pauses. Your controls directly drive the video playback.
2. Smart Video Compression
-
The Master System can only update a tiny portion of the screen every frame without slowing down.
-
To fit within the console's strict memory limits, the game only updates the specific graphics tiles that actually change from one frame to the next.
-
If a tile changes only slightly, the game skips updating it to keep the frame rate smooth.
3. Faithful PC Physics
-
The movement and collision calculations were translated directly from the original PC game code.
-
Accelerating, steering, ice/boost surfaces, fuel depletion, and crashes respond identically to the 1993 original.
Current Game Controls & Features
| Control | Action |
|---|---|
| Up / Down | Accelerate / Brake |
| Left / Right | Steer ship |
| Button 1 or 2 | Jump |
-
Working: Level 1 video playback, 1:1 original game physics, ship graphics, crash and explosion animations, track hazards, and level restarts.
-
In Progress: On-screen dashboard gauges (speed, fuel, oxygen), background music, and adding the remaining 29 levels.
How to Build and Run the ROM
If you want to compile the project into a playable .sms file, run the following setup commands in your terminal:
Bash
# 1. Download the original freeware game files
bash tools/fetch_gamedata.sh
# 2. Render the 3D road video frames and compress them for SMS
make video
# 3. Build the final game ROM (release/skyroads.sms)
make
# 4. Run automated test suites to check physics accuracy
make playtest
The resulting skyroads.sms file can be loaded directly into any Sega Master System emulator or played on original hardware using a flash cartridge.