shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Packages
Search packages... ⌘K
  • Data & Persistence
    • Databases 3
    • Object Storage 1
    • File Formats 2
    • Enumerations 2
    • Content 1
    • Codegen 2
  • System Integration
    • Secrets 1
    • CLI Tools 5
    • Media Processing 2
    • Adapters 2
  • UI & Components
    • Primitives 1
    • Blocks 1
    • Sections & Layouts 1
    • Entities 1
    • Media 1
    • Utilities 1
    • State & Presenter 1
    • Branding & Style 1
  • Game Engine
    • Framework 1
    • Engine 2
    • Presets 1
    • Vendor 1
Packages/ Game Engine/ Presets/ Game Preset Arcade
SvelteKit Package

game-preset-arcade

Arcade game preset — preconfigured runtime with score, lives, levels, and collision

SvelteKit Ready UI
Arcade Preset typescript
1
2
3
4
5
6
7
8
9
10
11
import { ConfigBuilder, ArcadeRuntime } from '@sbx/game-preset-arcade';

const config = new ConfigBuilder()
  .setGrid(20, 20)
  .setSpeed(5)
  .setLives(3)
  .build();

const runtime = new ArcadeRuntime(config);
runtime.onScoreChange = (score) => updateUI(score);
runtime.onGameOver = (finalScore) => showLeaderboard(finalScore);

About

Ready-to-use arcade game configuration. Bundles a game state manager (score, lives, level progression), collision detection, sprite animation helpers, and standard arcade mechanics (powerups, enemy waves, difficulty scaling). Drop it into a Game component as a preset for instant arcade-style gameplay.

Public API

NameKindSignature
ArcadeRuntimetypeclass ArcadeRuntime — score, lives, level, update(dt)
ArcadeStatetypeclass ArcadeState — playing, paused, gameOver, highScore
ConfigBuildertypeclass ConfigBuilder — setGrid(), setSpeed(), setLives(), build()
arcadePresetconstconst arcadePreset: GamePreset

Dependencies

Imports (2)

engine-renderer SvelteKit Ready

Rendering engine — PixiJS-based game renderer with grid, backgrounds, and visual effects

game-enginerenderingpixijswebglgrideffectsparticles
4 exports 2 deps
engine-input SvelteKit Ready

Input manager — unified keyboard, mouse, and touch input handling for games

game-engineinputkeyboardmousetouchgestures
4 exports 1 deps

Related Packages

game-svelte SvelteKit Ready

Svelte game framework — Game component shell with lifecycle, loop, and renderer integration

svelte-5gamepixijscanvasgame-loop
1 exports 2 deps
engine-renderer SvelteKit Ready

Rendering engine — PixiJS-based game renderer with grid, backgrounds, and visual effects

game-enginerenderingpixijswebglgrideffectsparticles
4 exports 2 deps
engine-input SvelteKit Ready

Input manager — unified keyboard, mouse, and touch input handling for games

game-engineinputkeyboardmousetouchgestures
4 exports 1 deps

Source

@sbx/game-preset-arcade
game-enginearcadepresetscorecollisionlevels
shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |