Walking Idle - Documentation


Walking Idle v0.1 - Documentation 

Technical Documentation

Project Overview

  • Project Name: Walking Idle (will be changed)
  • Version: 0.1
  • Release Date: 24th July 20244
  • Developer: Niobium Face

System Requirements

  • Modern web browser (Chrome 80+, Firefox 75+, Safari 13+, Edge 80+)
  • JavaScript enabled
  • Minimum screen resolution: 800x600

Game Architecture

The game is built using vanilla JavaScript, HTML5, and CSS3. It follows an object-oriented approach with a main Game object containing all game logic and state.

File Structure

  • index.html: Main HTML file
  • styles.css: CSS styles
  • game.js: Core game logic

Core Components

  1. Game Loop: Handled by requestAnimationFrame for smooth animations
  2. State Management: Managed within the Game object
  3. DOM Manipulation: Direct manipulation for updating game elements
  4. Event Handling: Click events and keyboard inputs

Key Features

  • Manual and auto-walking mechanics
  • Upgradeable walking speed
  • Double points system
  • Bonus step rewards
  • Dynamic ground generation

Known Issues

  • Display inconsistencies:
  • Step counter occasionally shows incorrect values
  • Visual glitches in ground tile generation at high speeds
  • Performance degradation after extended play sessions
  • Auto-walk animation desynchronization at very high speeds

Debugging

A debug panel is available for testing and development purposes. Access it by pressing Ctrl+Alt+D.

Debug features include:

  • Toggle auto-walk
  • Add steps
  • Reset game state
  • Adjust walk and auto-walk speeds

Future Development

  • Planned features for upcoming versions:
  • Achievements system
  • More diverse upgrade paths
  • Visual enhancements and animations
  • Performance optimizations
  • Mobile responsiveness

Leave a comment

Log in with itch.io to leave a comment.