DEV Community

Ekram Zafar
Ekram Zafar

Posted on

๐ŸŒž Lightkeeper โ€” Defending the Last Light of the Solstice

June Solstice Game Jam Submission

๐ŸŒž Lightkeeper โ€” Defending the Last Light of the Solstice

This is a submission for the June Solstice Game Jam 2026.

Introduction

Every year, the June Solstice marks the longest day of the yearโ€”a celebration of light at its strongest moment. But that moment is also a turning point. After reaching its peak, daylight slowly begins to fade and darkness gradually returns.

That idea inspired me to create Lightkeeper.

Rather than using the solstice as a simple visual theme, I wanted to transform it into a gameplay mechanic. The player is not merely observing the struggle between light and darknessโ€”they are actively participating in it.

In Lightkeeper, you become the final guardian of a fading world. Darkness spreads relentlessly across the land, shadow creatures emerge from forgotten places, and the last remaining source of hope rests in your hands.

Your mission is simple:

Keep the light alive.

The challenge, however, becomes increasingly difficult as darkness grows stronger with every passing moment.


๐ŸŒ The Story Behind the Game

Long ago, the world was protected by the Eternal Sun, a magical force that maintained balance between day and night.

Every solstice, the Sun's power would reach its maximum strength and illuminate every corner of the world.

But during one fateful solstice, something changed.

A mysterious force known as the Shadow King emerged from the Void and began consuming the world's light.

Ancient temples collapsed.

Sacred forests fell silent.

Entire civilizations disappeared beneath endless darkness.

As the final solstice approaches, only one guardian remainsโ€”the Lightkeeper.

Armed with fragments of the Eternal Sun, the Lightkeeper must collect scattered light energy, defend the remaining sanctuaries, and confront the darkness before the world is lost forever.


๐ŸŽฎ Gameplay Overview

Lightkeeper is a real-time survival game built around resource management, exploration, and increasing difficulty.

The player must constantly make decisions while under pressure.

Should you chase a distant orb to restore energy?

Should you risk fighting enemies to protect your remaining health?

Should you focus on survival or maximize your score?

The game continuously asks these questions while darkness spreads throughout the world.


โ˜€๏ธ Core Gameplay Loop

The gameplay loop is built around four interconnected systems:

1. Explore

The player moves around the map searching for Light Orbs.

2. Collect

Collecting orbs restores energy and slows the spread of darkness.

3. Survive

Shadow creatures actively pursue the player.

4. Endure

The longer the player survives, the stronger the darkness becomes.

This simple loop creates a constant sense of urgency.


โšก Resource Systems

One of the primary goals of the project was creating multiple systems that influence one another.

Rather than relying on a single health bar, the game introduces several survival mechanics.

Health System

Health represents the physical condition of the Lightkeeper.

Taking damage from enemies reduces health.

If health reaches zero:

Game Over.

This encourages players to avoid unnecessary risks.


Energy System

Energy is the magical fuel that powers the Lightkeeper.

Unlike health, energy decreases continuously over time.

This means the player cannot remain idle.

To survive, players must actively seek out Light Orbs scattered across the map.

This creates a natural exploration mechanic without requiring explicit objectives.


Darkness System

The Darkness Meter is the heart of the game.

Darkness increases continuously throughout the match.

As darkness grows:

  • Visibility decreases
  • Tension increases
  • Survival becomes more difficult
  • Boss encounters become possible

Darkness acts as both a timer and a difficulty scaling system.

If darkness reaches 100%, the world is consumed and the game ends.


Score System

Players earn points through:

  • Collecting orbs
  • Surviving longer
  • Avoiding damage

The score system encourages replayability and allows players to challenge themselves after mastering the mechanics.


๐Ÿ‘พ Enemy Design

The enemies represent manifestations of the spreading darkness.

Their purpose is not only to damage the player but to create pressure and force movement.

If players stay in one area for too long, enemies eventually surround them.

This prevents passive gameplay and keeps the experience dynamic.


Shadow Creatures

Shadow Creatures are the first enemies encountered.

Characteristics:

  • Constant pursuit behavior
  • Moderate movement speed
  • Continuous pressure

Although individually weak, they become dangerous in groups.


Boss Encounter

When darkness reaches dangerous levels, a powerful boss appears.

The boss symbolizes the darkness reaching its peak strength.

Unlike regular enemies, the boss:

  • Has increased size
  • Has significantly higher health
  • Creates a dramatic shift in gameplay

The boss encounter serves as the climax of each run.


๐ŸŽจ Visual Design

The visual direction was inspired by fantasy worlds where light and darkness are constantly in conflict.

Key visual goals included:

  • Strong contrast between light and shadow
  • Bright collectible objects
  • Dark atmospheric environments
  • Clear visual feedback

The player character uses bright colors to immediately communicate safety and hope.

Enemies use darker colors and shadow-inspired designs to emphasize danger.


โœจ Visual Effects

Several effects were added to improve player feedback.

Orb Collection Effect

When collecting a Light Orb:

  • A flash effect appears
  • The player receives immediate feedback
  • The action feels rewarding

Darkness Overlay

As darkness increases:

  • The environment becomes darker
  • The atmosphere changes gradually
  • Players feel increasing tension

This effect visually reinforces the game's core mechanic.


๐Ÿ› ๏ธ Technical Implementation

The project was developed using modern web technologies.

Frontend

  • React
  • Vite

Game Engine

  • Phaser.js

Language

  • JavaScript

Planned AI Integration

  • Google Gemini API

๐Ÿง  Architecture

The game is structured around several independent systems:

Player System

Handles:

  • Movement
  • Health
  • Energy

Enemy System

Handles:

  • Spawning
  • AI movement
  • Pursuit behavior

Orb System

Handles:

  • Collection
  • Energy restoration
  • Darkness reduction

UI System

Handles:

  • Health bar
  • Energy bar
  • Score display
  • Darkness display

Boss System

Handles:

  • Spawn conditions
  • Boss state
  • Endgame pressure

Separating these systems made development significantly easier.


๐Ÿšง Challenges During Development

Game jams always involve solving unexpected problems.

This project was no exception.

Learning Phaser

Although I had prior programming experience, building a real-time game introduced new challenges.

Understanding:

  • Scenes
  • Physics systems
  • Collision handling
  • Object groups

required significant experimentation.


Balancing Darkness

Darkness became the most difficult mechanic to tune.

When darkness increased too slowly:

  • The game felt easy.

When darkness increased too quickly:

  • The game became frustrating.

Finding a balance required many rounds of testing.


Enemy Spawning

Enemies needed to feel threatening without creating unfair situations.

Several adjustments were made to:

  • Spawn locations
  • Movement speed
  • Spawn frequency

to achieve a better balance.


UI Design

Creating useful UI elements took more time than expected.

Players need immediate access to:

  • Health
  • Energy
  • Score
  • Darkness level

Without clear information, decision-making becomes difficult.


๐Ÿ“š What I Learned

This project helped me improve my skills in:

  • JavaScript game development
  • Phaser.js
  • Game balancing
  • Resource management systems
  • Player feedback design
  • Debugging interactive applications
  • Real-time event handling

Most importantly, I learned how small mechanics can combine to create meaningful gameplay experiences.


๐Ÿค– Future Plans

The current version is only the beginning.

Future updates could include:

Gemini AI Events

Dynamic story events generated by Google Gemini.

Examples:

  • Ancient shrines
  • Wandering spirits
  • Random quests
  • World-changing events

This would make every playthrough unique.


Additional Enemy Types

  • Shadow Brutes
  • Shadow Mages
  • Flying Wraiths
  • Elite Hunters

New Bosses

Multiple bosses with unique abilities and attack patterns.


Skill Tree

Unlockable upgrades:

  • Increased speed
  • Improved energy efficiency
  • Light shields
  • Special abilities

Procedural Maps

Randomly generated worlds for increased replayability.


Sound Design

  • Ambient music
  • Boss themes
  • Collection effects
  • Environmental audio

Sound would dramatically improve immersion.


๐Ÿ† Prize Categories

Best Google AI Usage

Lightkeeper is designed with future Gemini-powered dynamic events in mind.

The goal is to use AI not simply for text generation, but to influence gameplay and create unique experiences for players.


Best Overall Game

The project combines:

  • Survival mechanics
  • Resource management
  • Enemy AI
  • Boss encounters
  • Dynamic difficulty
  • Strong theme integration

into a cohesive gameplay experience centered around the June Solstice.


๐Ÿ™ Final Thoughts

Lightkeeper began as a simple question:

What if the June Solstice itself became a game mechanic?

From that idea emerged a world where light and darkness are not just visual themes, but active forces that shape every decision the player makes.

The project challenged me to think about gameplay, balance, visual feedback, and storytelling in new ways.

While there is still much more I would like to build, I am proud of what was accomplished during the jam.

Thank you for taking the time to play, review, and experience Lightkeeper.

May the light endure.

Top comments (0)