📄️ Mouse & Click
Learn how to detect mouse clicks, track mouse position, and create interactive elements.
📄️ Keyboard Input
Learn how to detect key presses and create keyboard controls for your games.
📄️ Common Elements
This section provides reference guides for the most commonly needed elements in p5.js game development. Each guide includes clear examples, explanations, and practical usage tips.
📄️ Images & Sprites
Learn how to load and display images in your p5.js games to create sprites, backgrounds, and visual elements.
📄️ Sound Effects
Learn how to add sound effects and music to make your games more immersive and fun.
📄️ Colors & Shapes
Master the basics of drawing and coloring shapes in p5.js to create visual game elements.
📄️ Text & Fonts
Learn how to display text, create UI elements, and use custom fonts in your p5.js games.
📄️ Collision Detection
Learn how to detect when game objects touch, overlap, or collide with each other.
📄️ Random & Noise
Learn how to create randomness, variation, and organic patterns in your games.
📄️ Saving & Loading Data
Learn how to save game data so players can continue where they left off when they return to your game.