<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ayush Kushwaha</title>
    <description>The latest articles on DEV Community by Ayush Kushwaha (@ayush_kushwaha_97).</description>
    <link>https://dev.to/ayush_kushwaha_97</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3969096%2Fa0f2a069-c25c-40aa-898f-d99ff7a66823.jpeg</url>
      <title>DEV Community: Ayush Kushwaha</title>
      <link>https://dev.to/ayush_kushwaha_97</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ayush_kushwaha_97"/>
    <language>en</language>
    <item>
      <title>Solstice Run - Capture flag before night falls - June Solstice Game Jam</title>
      <dc:creator>Ayush Kushwaha</dc:creator>
      <pubDate>Sat, 20 Jun 2026 15:36:27 +0000</pubDate>
      <link>https://dev.to/ayush_kushwaha_97/solstice-run-capture-flag-before-night-falls-june-solstice-game-jam-2b59</link>
      <guid>https://dev.to/ayush_kushwaha_97/solstice-run-capture-flag-before-night-falls-june-solstice-game-jam-2b59</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/june-game-jam-2026-06-03"&gt;June Solstice Game Jam&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Play Online (Sound on 🔉, recommended to open on a browser) -&amp;gt; &lt;a href="https://june-sol.vercel.app" rel="noopener noreferrer"&gt;https://june-sol.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Solstice Run — a browser game set on the surface of a 3D planet. The player walks across a spherical world and must reach a flag before sunset swallows the sky. Each of the five levels is set at a real latitude on the June solstice: from Oslo's long dusk to Quito's overhead sun to Svalbard's midnight sun (where the sun never sets, but solar debris rains down instead). The theme is the longest day — the mechanic is racing the terminator line as it sweeps toward you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Video Demo
&lt;/h2&gt;

&lt;p&gt;Sound on 🔉, Here I take you through the whole idea of the game, my thinking process &amp;amp; the game walkthrough.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/jihcmcH05No"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;For the source code, the whole project is on github.&lt;/p&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Ayush909" rel="noopener noreferrer"&gt;
        Ayush909
      &lt;/a&gt; / &lt;a href="https://github.com/Ayush909/june-sol" rel="noopener noreferrer"&gt;
        june-sol
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Solstice Run&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A browser game set on the surface of a 3D planet. Race to the flag before night catches you.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Live:&lt;/strong&gt; &lt;a href="https://june-sol.vercel.app" rel="nofollow noopener noreferrer"&gt;https://june-sol.vercel.app&lt;/a&gt;
&lt;strong&gt;Demo:&lt;/strong&gt; &lt;a href="https://youtu.be/jihcmcH05No" rel="nofollow noopener noreferrer"&gt;https://youtu.be/jihcmcH05No&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;About&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Solstice Run is a June-solstice themed runner where you walk on the outside of a spherical planet and must reach the flag before sunset. The terminator line sweeps toward you in real time — cross into darkness for more than 3 seconds and you lose.&lt;/p&gt;
&lt;p&gt;Five levels, each set at a real latitude on the June solstice:&lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Level&lt;/th&gt;
&lt;th&gt;Location&lt;/th&gt;
&lt;th&gt;Challenge&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Oslo, Norway&lt;/td&gt;
&lt;td&gt;Learn the controls&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;Madrid, Spain&lt;/td&gt;
&lt;td&gt;Light debris, tightening clock&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;Quito, Ecuador&lt;/td&gt;
&lt;td&gt;Sun directly overhead, dense debris&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Patagonia&lt;/td&gt;
&lt;td&gt;Low sun, short time, relentless debris&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Svalbard&lt;/td&gt;
&lt;td&gt;Midnight sun — no sunset, only debris&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Controls&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Arrow keys / D-pad&lt;/td&gt;
&lt;td&gt;Move&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RUN button / hold shift&lt;/td&gt;
&lt;td&gt;Sprint&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Stack&lt;/h2&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;React + Vite&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Three.js&lt;/strong&gt; via React Three Fiber&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;@react-three/drei&lt;/strong&gt; for helpers&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Ayush909/june-sol" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;I have deployed the game on vercel which was pretty simple for a React based game app. &lt;/p&gt;

&lt;p&gt;If you want to explore the game before diving into the code, here's the live url below:&lt;/p&gt;

&lt;p&gt;Play Online (Sound on 🔉, recommended to open on browser) -&amp;gt; : &lt;a href="https://june-sol.vercel.app" rel="noopener noreferrer"&gt;https://june-sol.vercel.app&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;No installations or downloads needed.&lt;/p&gt;

&lt;h2&gt;
  
  
  How I built
&lt;/h2&gt;

&lt;p&gt;At First I researched about the concept of the Solstice out of my curiosity, found out about the real world solstice culture &amp;amp; folklore, those Stonehenge and solar-aligned monuments, Scandinavian Midsommar, Slavic Kupala Night, Spanish San Juan fire-jumping, sun deities worldwide, bonfires &amp;amp; flower crowns. Watched a lot yt videos, read many wikis about those events to make myself familier with the culture and important of Solstice in people's life.&lt;/p&gt;

&lt;p&gt;Since the June Solstice is about light and darknesss, about time running long or running out, about the earth's place in its orbit, That felt like a game waiting to happen, So I tried building it here.&lt;/p&gt;

&lt;p&gt;I built it milestone by milestone — first getting a character to walk on a curved 3D world, then adding the sun, and then letting real astronomy take over, since the Earth's tilt means that where and when a level takes place decides how much daylight you get.&lt;/p&gt;

&lt;p&gt;The solstice itself became the difficulty. More than a race against a clock, I wanted the game to quietly show why the longest day matters — something you gonna feel through playing the game rather than by reading in a description.&lt;/p&gt;

&lt;p&gt;Tech Stack: &lt;/p&gt;

&lt;p&gt;React + Three.js (via React Three Fiber). The planet is a UV sphere; the character walks on its surface using unit-vector / quaternion math to avoid pole singularities. A custom GLSL shader draws the day/night terminator. The sun moves on a latitude-accurate arc per level. Solar debris spawns on the sun side, falls to the surface, and triggers knockback on hit. Audio uses Howler.js for UI/music and THREE.PositionalAudio for spatial sounds (footsteps, incoming debris whistle). All game logic runs in R3F's 'useFrame' with pre-allocated scratch objects to avoid per-frame GC.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gamechallenge</category>
      <category>gamedev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
