<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://osc2studio.online/doc/blog</id>
    <title>OSC2 Studio Blog</title>
    <updated>2026-07-29T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://osc2studio.online/doc/blog"/>
    <subtitle>OSC2 Studio Blog</subtitle>
    <icon>https://osc2studio.online/doc/img/logo.png</icon>
    <entry>
        <title type="html"><![CDATA[Introducing OSC2 Studio v0.0.2 — Smarter Execution, Better Preview]]></title>
        <id>https://osc2studio.online/doc/blog/release-v0.0.2</id>
        <link href="https://osc2studio.online/doc/blog/release-v0.0.2"/>
        <updated>2026-07-29T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[This release focuses on stabilizing vehicle control in the execution engine, alongside important frontend updates.]]></summary>
        <content type="html"><![CDATA[<p>This release focuses on stabilizing vehicle control in the execution engine, alongside important frontend updates.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="execution-engine--more-reliable-vehicle-control"><strong>Execution Engine — More Reliable Vehicle Control</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.2#execution-engine--more-reliable-vehicle-control" class="hash-link" aria-label="Direct link to execution-engine--more-reliable-vehicle-control" title="Direct link to execution-engine--more-reliable-vehicle-control" translate="no">​</a></h2>
<p>v0.0.2 brings key improvements to several <code>drive</code> action modifiers:</p>
<ul>
<li class=""><strong>Change lane (change_lane)</strong>: No longer relies on the internal tracing system — lane changes are handled directly and more reliably. The simulation engine now supports smooth lane changes with no instant jumps.</li>
<li class=""><strong>Speed</strong>: Fixed a calculation anomaly in the dynamic solver and added safety strategies to prevent unrealistic speed values.</li>
<li class=""><strong>Position</strong>: Now supports specifying following distance by time (<code>time:</code> parameter) — distance is automatically calculated based on vehicle speed at runtime.</li>
<li class=""><strong>Road selection</strong>: Random road selection has been replaced with iterative verification, preventing placement failures on roads that are too short.</li>
<li class=""><strong>Cross-road distance</strong>: New cross-road distance calculation eliminates distance errors when vehicles change lanes across road boundaries.</li>
</ul>
<p>Initial vehicle placement has also been improved — when multiple vehicles maintain following distances, the system performs a holistic analysis of all constraints to ensure every vehicle gets a valid position.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="frontend--landing-page-restructure"><strong>Frontend — Landing Page Restructure</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.2#frontend--landing-page-restructure" class="hash-link" aria-label="Direct link to frontend--landing-page-restructure" title="Direct link to frontend--landing-page-restructure" translate="no">​</a></h2>
<p>The frontend now supports a three-entry-point structure:</p>
<ul>
<li class=""><strong>English landing page</strong> <code>/</code> — default entry</li>
<li class=""><strong>Chinese landing page</strong> <code>/zh/</code> — for Chinese-speaking users</li>
<li class=""><strong>Application page</strong> <code>/app/</code> — the main editor</li>
</ul>
<p>The default language has been switched from Chinese to English. Language preference is remembered automatically across visits.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="performance--faster-page-load"><strong>Performance — Faster Page Load</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.2#performance--faster-page-load" class="hash-link" aria-label="Direct link to performance--faster-page-load" title="Direct link to performance--faster-page-load" translate="no">​</a></h2>
<p>This release also brings significant performance improvements that make the website load noticeably faster:</p>
<ul>
<li class=""><strong>Efficient asset compression</strong>: All JavaScript, CSS, and static files are now compressed using one of the web's most efficient compression algorithms. File sizes are reduced by over 70%, so pages load in a fraction of the previous time.</li>
<li class=""><strong>Smaller demo videos</strong>: The demo videos on the landing page have been re-encoded, reducing file sizes by over 70% with no visible quality loss. Videos start playing faster, especially on slower connections.</li>
</ul>]]></content>
        <author>
            <name>OSC2 Studio Team</name>
            <uri>https://github.com/osc2studio</uri>
        </author>
        <category label="Release" term="Release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[Introducing OSC2 Studio v0.0.1 — Execution Engine, Unified Preview, and A Smarter Editor]]></title>
        <id>https://osc2studio.online/doc/blog/release-v0.0.1</id>
        <link href="https://osc2studio.online/doc/blog/release-v0.0.1"/>
        <updated>2026-06-28T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[This release brings the execution engine, unified preview module, syntax highlighting improvements, and workspace enhancements.]]></summary>
        <content type="html"><![CDATA[<p>This release brings the execution engine, unified preview module, syntax highlighting improvements, and workspace enhancements.</p>
<!-- -->
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="execution-engine--run-scenarios-online"><strong>Execution Engine — Run Scenarios Online</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#execution-engine--run-scenarios-online" class="hash-link" aria-label="Direct link to execution-engine--run-scenarios-online" title="Direct link to execution-engine--run-scenarios-online" translate="no">​</a></h2>
<p>v0.0.1 introduces the initial execution engine. You can now run scenarios directly from the editor with one click and see the results in real-time preview.</p>
<p>Currently supported:</p>
<ul>
<li class=""><strong>Scenario elements</strong>: <code>vehicle</code>, <code>map</code> and other basic element parsing and loading</li>
<li class=""><strong>Drive action</strong>: Execution of the <code>drive</code> action</li>
<li class=""><strong>Modifiers</strong>: Support for <code>speed</code>, <code>lane</code>, <code>position</code> and other modifiers</li>
</ul>
<video src="../video/preview.webm" muted="" width="100%" style="display:block;margin:1rem 0"></video>
<p>This is the first step — the execution engine is actively evolving.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="code-completion--syntax-tree-driven-context-completion"><strong>Code Completion — Syntax Tree Driven Context Completion</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#code-completion--syntax-tree-driven-context-completion" class="hash-link" aria-label="Direct link to code-completion--syntax-tree-driven-context-completion" title="Direct link to code-completion--syntax-tree-driven-context-completion" translate="no">​</a></h2>
<p>The editor now features syntax tree driven context completion. Based on the cursor position, the grammar tree automatically lists valid candidate keywords, helping you write scenarios more efficiently and reducing the need to reference documentation.</p>
<video src="../video/auto-completion.webm" muted="" width="100%" style="display:block;margin:1rem 0"></video>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="integration--optimization--faster-loading-smoother-experience"><strong>Integration &amp; Optimization — Faster Loading, Smoother Experience</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#integration--optimization--faster-loading-smoother-experience" class="hash-link" aria-label="Direct link to integration--optimization--faster-loading-smoother-experience" title="Direct link to integration--optimization--faster-loading-smoother-experience" translate="no">​</a></h2>
<p>Syntax checking, scenario preview, and code completion used to be handled by separate modules, each requiring repeated loading. Now they are integrated — the parsed syntax tree is reused across features, resulting in noticeably faster page loading and a smoother overall experience.</p>
<p>The preview experience has been improved too:</p>
<ul>
<li class=""><strong>No more keyboard capture</strong>: Close the preview and keyboard input returns to the editor immediately. No browser restart needed.</li>
<li class=""><strong>No more stretched display</strong>: Correct aspect ratio — what you see is what you get.</li>
<li class=""><strong>Vehicle models in preview</strong>: Ego vehicle in white, NPCs in red — previews look more realistic</li>
<li class=""><strong>Map auto-sync</strong>: <code>.xodr</code> files from your workspace are automatically synced. No more "map not found" errors.</li>
</ul>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="editor-experience-refreshed"><strong>Editor Experience, Refreshed</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#editor-experience-refreshed" class="hash-link" aria-label="Direct link to editor-experience-refreshed" title="Direct link to editor-experience-refreshed" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="better-syntax-highlighting--code-structure-at-a-glance"><strong>Better Syntax Highlighting — Code Structure at a Glance</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#better-syntax-highlighting--code-structure-at-a-glance" class="hash-link" aria-label="Direct link to better-syntax-highlighting--code-structure-at-a-glance" title="Direct link to better-syntax-highlighting--code-structure-at-a-glance" translate="no">​</a></h3>
<p>Syntax highlighting has been improved. Different syntax elements are now color-coded, making the code structure clearer and easier to read:</p>
<p><img decoding="async" loading="lazy" alt="Syntax check example" src="https://osc2studio.online/doc/assets/images/syntax-check-c30623cc1eda9958e93b65ea3e075fac.png" width="2731" height="1520" class="img_ev3q"></p>
<table><thead><tr><th>Color</th><th>What it highlights</th></tr></thead><tbody><tr><td>Light blue</td><td>Named arguments: <code>file:</code>, <code>lane:</code></td></tr><tr><td>Purple</td><td>Composition operators: <code>serial</code>, <code>parallel</code>, <code>one_of</code></td></tr><tr><td>Red</td><td>Event references: <code>@event_name</code></td></tr><tr><td>Green</td><td>Hex literals: <code>0xFF</code></td></tr></tbody></table>
<p>Coloring also added for <code>..</code> (range operator), <code>?</code> (ternary), <code>!</code> (enum delimiter), and keywords including <code>call</code>, <code>emit</code>, <code>range</code>, <code>it</code>, <code>default</code>, <code>hard</code>.</p>
<p>The editor theme now follows the app's dark/light toggle — switch to dark mode and the editor switches to a dark color scheme seamlessly.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="workspace-now-smoother"><strong>Workspace, Now Smoother</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#workspace-now-smoother" class="hash-link" aria-label="Direct link to workspace-now-smoother" title="Direct link to workspace-now-smoother" translate="no">​</a></h3>
<ul>
<li class=""><strong>Auto-generated <code>main.osc</code></strong>: No more staring at an empty file list on first visit</li>
<li class=""><strong>Right-click context menu</strong>: Copy full file names with one click</li>
<li class=""><strong>Hover tooltip</strong>: Long filenames show their full path on hover</li>
<li class=""><strong>Delete moved to context menu</strong>: Removed the one-click delete button to prevent accidents</li>
</ul>
<video src="../video/workspace.webm" muted="" width="100%" style="display:block;margin:1rem 0"></video>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="documentation-site-goes-live"><strong>Documentation Site Goes Live</strong><a href="https://osc2studio.online/doc/blog/release-v0.0.1#documentation-site-goes-live" class="hash-link" aria-label="Direct link to documentation-site-goes-live" title="Direct link to documentation-site-goes-live" translate="no">​</a></h3>
<p>A brand new documentation site is now live, featuring two sections:</p>
<ul>
<li class=""><strong>User Manual</strong>: From quick start to scenario authoring, step by step</li>
<li class=""><strong>OpenSCENARIO 2 Reference</strong>: Complete language syntax, type system, and validation rules</li>
</ul>
<p>Available in both Chinese and English, with built-in search for quick reference.</p>]]></content>
        <author>
            <name>OSC2 Studio Team</name>
            <uri>https://github.com/osc2studio</uri>
        </author>
        <category label="Release" term="Release"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[Welcome to OSC2 Studio Docs]]></title>
        <id>https://osc2studio.online/doc/blog/welcome</id>
        <link href="https://osc2studio.online/doc/blog/welcome"/>
        <updated>2026-06-04T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[The OSC2 Studio documentation site is now live! Here you'll find comprehensive guides and OpenSCENARIO 2 language reference to help you get started quickly.]]></summary>
        <content type="html"><![CDATA[<p>The OSC2 Studio documentation site is now live! Here you'll find comprehensive guides and OpenSCENARIO 2 language reference to help you get started quickly.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="whats-inside">What's Inside<a href="https://osc2studio.online/doc/blog/welcome#whats-inside" class="hash-link" aria-label="Direct link to What's Inside" title="Direct link to What's Inside" translate="no">​</a></h2>
<ul>
<li class=""><strong>User Manual</strong> — From quick start to scenario authoring, step-by-step guidance on mastering OSC2 Studio</li>
<li class=""><strong>OpenSCENARIO2 Reference</strong> — Complete coverage of language overview, syntax rules, type system, and validation</li>
</ul>
<p>Whether you're new to OSC2 or an experienced scenario designer, you'll find the resources you need here.</p>
<p>Happy browsing, and stay tuned for more updates!</p>]]></content>
        <author>
            <name>OSC2 Studio Team</name>
            <uri>https://github.com/osc2studio</uri>
        </author>
    </entry>
</feed>