惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Spread Privacy
Spread Privacy
大猫的无限游戏
大猫的无限游戏
F
Fortinet All Blogs
M
MIT News - Artificial intelligence
G
Google Developers Blog
Hacker News: Ask HN
Hacker News: Ask HN
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
H
Help Net Security
V
Visual Studio Blog
WordPress大学
WordPress大学
博客园 - 司徒正美
TaoSecurity Blog
TaoSecurity Blog
Webroot Blog
Webroot Blog
Hugging Face - Blog
Hugging Face - Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
W
WeLiveSecurity
C
CERT Recently Published Vulnerability Notes
Y
Y Combinator Blog
S
Schneier on Security
Recent Announcements
Recent Announcements
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
宝玉的分享
宝玉的分享
T
Troy Hunt's Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 三生石上(FineUI控件)
Microsoft Azure Blog
Microsoft Azure Blog
N
News and Events Feed by Topic
A
About on SuperTechFans
小众软件
小众软件
K
Kaspersky official blog
Help Net Security
Help Net Security
V2EX - 技术
V2EX - 技术
P
Proofpoint News Feed
S
Secure Thoughts
IT之家
IT之家
云风的 BLOG
云风的 BLOG
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
I
Intezer
NISL@THU
NISL@THU
GbyAI
GbyAI
P
Privacy & Cybersecurity Law Blog
T
Threatpost
C
Check Point Blog
Forbes - Security
Forbes - Security
C
Cisco Blogs
AI
AI
Recorded Future
Recorded Future
F
Full Disclosure

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
🌞 Lightkeeper — Defending the Last Light of the Solstice
Ekram Zafar · 2026-06-22 · via DEV Community

🌞 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.