# Scratch Game Techniques Hub > Reusable mechanics for smoother games: jumping, gravity, hitboxes, scrolling, particles, save codes, and optimization. Scratch Game Techniques Hub — Reusable mechanics for smoother games: jumping, gravity, hitboxes, scrolling, particles, save codes, and optimization. ## Core approach Build and test one mechanic at a time in a small sandbox project before combining several mechanics into a full game. - Movement & Physics: jump, gravity, double jump, wall jump, scrolling. - Combat & UI: hitboxes, HP bars, shooting bullets, score counters, timers. - Architecture: state management, save codes, pathfinding, optimization. ## Pro tip & next steps Mastering 5 core techniques unlocks almost any game genre in Scratch. - [Project Tutorials](/en/projects/): Browse more English guides in this section. - [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples. ## All Scratch game techniques (33) Master reusable movement, physics, collision, UI, and optimization patterns. - [Smooth Jump Mechanics](/en/techniques/jump/): Master Smooth Jump Mechanics in Scratch so your games feel responsive, fair, and easy to maintain. - [Gravity & Ground Collision](/en/techniques/gravity/): Master Gravity & Ground Collision in Scratch so your games feel responsive, fair, and easy to maintain. - [Double Jump Counter](/en/techniques/double-jump/): Master Double Jump Counter in Scratch so your games feel responsive, fair, and easy to maintain. - [Wall & Obstacle Collision](/en/techniques/collision/): Master Wall & Obstacle Collision in Scratch so your games feel responsive, fair, and easy to maintain. - [Accurate Hitboxes](/en/techniques/hit-detection/): Master Accurate Hitboxes in Scratch so your games feel responsive, fair, and easy to maintain. - [Health Bar (HP Bar) Display](/en/techniques/hp-bar/): Master Health Bar (HP Bar) Display in Scratch so your games feel responsive, fair, and easy to maintain. - [Enemy Movement & AI Patterns](/en/techniques/enemies/): Master Enemy Movement & AI Patterns in Scratch so your games feel responsive, fair, and easy to maintain. - [Clone IDs & Advanced Clone Control](/en/techniques/clones/): Master Clone IDs & Advanced Clone Control in Scratch so your games feel responsive, fair, and easy to maintain. - [Cloud Variables & High Scores](/en/techniques/cloud-variables/): Master Cloud Variables & High Scores in Scratch so your games feel responsive, fair, and easy to maintain. - [Practical Debugging Workflows](/en/techniques/debugging/): Master Practical Debugging Workflows in Scratch so your games feel responsive, fair, and easy to maintain. - [Angles & Trigonometry (Sin / Cos) in Scratch](/en/techniques/angles-trig/): Use sin and cos to move smoothly in circular orbits, waves, and custom directional velocity. - [Branching Choices & Dialogue Menus](/en/techniques/choices/): Create clean clickable choice buttons for RPGs, visual novels, and interactive quizzes. - [Typewriter Dialogue & Text Boxes](/en/techniques/dialogue/): Reveal story text letter by letter using "join" and "letter (i) of (text)" for RPG-style conversations. - [Boolean Flags (0 / 1 Switches)](/en/techniques/flags/): Use simple 0/1 variables to track doors unlocked, bosses defeated, invulnerability, or pause state. - [Health, Lives & Invulnerability Frames](/en/techniques/health/): Prevent instant death on contact by adding brief invulnerability frames after taking damage. - [Advanced Lists: Parallel Tables & 2D Grids](/en/techniques/list-advanced/): Store multi-field records (like enemy X, Y, HP) or 2D tile maps cleanly using Scratch lists. - [Procedural Maze Generation Basics](/en/techniques/maze-generation/): Generate fresh playable mazes automatically using a grid list and randomized depth-first carving. - [Optimizing Scratch Projects for Smooth 30 FPS](/en/techniques/optimization/): Eliminate lag by reducing expensive color checks, merging forever loops, and avoiding needless costume switches. - [Intro to Grid Pathfinding (BFS)](/en/techniques/pathfinding-intro/): Help enemies navigate around maze walls toward the player using breadth-first search on a grid. - [Pen Rendering & Fast Frame Redraws](/en/techniques/pen-drawing/): Build 100% Pen games, particle trails, graphs, and smooth UI bars by erasing and redrawing inside a no-refresh loop. - [2D Physics Basics: Velocity, Gravity & Bounce](/en/techniques/physics-intro/): Simulate realistic arcs, friction, and elastic bounces with just two variables: x_vel and y_vel. - [Weighted Random & Non-Repeating Draws](/en/techniques/random/): Control rarity (common vs. rare loot) and draw items without duplicates using Scratch lists. - [Save & Load Codes in Scratch](/en/techniques/save/): Encode player level, coins, and unlocks into a short copy-pasteable string and decode it on load. - [Score Counters, Combos & Personal Best](/en/techniques/score/): Track points cleanly, reward combo streaks, and display custom-font digit counters. - [Camera & Smooth Scrolling Worlds](/en/techniques/scrolling/): Build worlds larger than 480×360 by tracking world coordinates (world_x, world_y) relative to a camera. - [Projectile & Bullet Clones](/en/techniques/shooting-bullets/): Fire crisp bullets from the player’s position and direction with cooldowns and automatic cleanup. - [Game State Management (Title / Play / Pause / Over)](/en/techniques/state-management/): Control every screen and pause menu cleanly using one central "state" variable. - [Accurate Timers & Cooldowns](/en/techniques/timer/): Build drift-free countdowns and independent ability cooldowns using Scratch’s built-in timer. - [Wall Slide & Wall Jump Mechanics](/en/techniques/wall-jump/): Let platformer characters slide slowly down walls and kick off horizontally into the air. - [Scratch Technique: Scroll](/en/techniques/scroll/): Practical Scratch game technique: "Scratch Technique: Scroll"—clean variables, smooth feel, and easy debugging. - [Scratch Technique: Sounds](/en/techniques/sounds/): Practical Scratch game technique: "Scratch Technique: Sounds"—clean variables, smooth feel, and easy debugging. - [Scratch Technique: Testing](/en/techniques/testing/): Practical Scratch game technique: "Scratch Technique: Testing"—clean variables, smooth feel, and easy debugging. - [Scratch Technique: Tile Scroll](/en/techniques/tile-scroll/): Practical Scratch game technique: "Scratch Technique: Tile Scroll"—clean variables, smooth feel, and easy debugging. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/techniques/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)