Browse our latest blog articles

Build a Bicycle tap Game in React Native Part 6: Game Menu
This tutorial shows how to build a smooth side-scrolling tap game in React Native using Reanimated and Lottie animations, without relying on a physics engine or full game framework. It walks through the core gameplay mechanics, including tap-based acceleration, camera-driven world movement, dynamic level configuration, and enemy pursuit. The approach emphasizes running animation and game logic on the UI thread to achieve consistent 60-fps performance. The tutorial is structured in clear, progressive steps from project setup and asset integration to menus, level selection, and in-game logic. By the end, readers will have a fully playable mini-game and a solid mental model they can reuse for building similar interactive experiences.

Build a Bicycle tap Game in React Native Part 5: Game Logic
This section explains how game logic is structured using a centralized state machine to control when the simulation runs, pauses, and ends. It covers introducing explicit game states to prevent automatic start, gating frame-based updates through state checks, and synchronizing animations with gameplay transitions. It also details how pause, win, and lose conditions are detected in world space and handled consistently through state changes. The focus is on keeping all gameplay rules in one place, allowing the UI to simply reflect the current state while the frame loop drives progression.

Build a Bicycle tap Game in React Native Part 4: Game Movement
This section explains how game movement and camera behavior are implemented by separating world logic from screen rendering to ensure smooth, predictable motion. It covers updating entity positions in world space using frame-based updates, converting those positions into on-screen transforms, and applying player input as speed rather than direct movement. It also introduces a camera system that moves along with the character, scrolling the world while keeping the character visually centered. The focus is on building a clean, self-contained movement and camera loop that operates independently of rendering.

Build a Bicycle tap Game in React Native Part 3: Assets
This section explains how the game’s visual assets are loaded, and rendered to achieve smooth performance and consistent visuals across devices. It covers the use of Lottie animations for characters and gameplay feedback, SVG components for scalable and resolution-independent UI elements, and tiled background images for infinite scrolling environments. The focus is on keeping assets lightweight, predictable, and easy to maintain while ensuring they integrate cleanly with Reanimated and the game loop.

Build a Bicycle tap Game in React Native Part 2: Initial Setup
This initial setup section walks you through installing the required dependencies, configuring Metro and Expo, and preparing the project (including the app icon and development build) so the game runs correctly in a production-like environment from the start.

Build a Bicycle tap Game in React Native Part 1: Introduction
This tutorial demonstrates how to build a side-scrolling tap game in React Native using Reanimated and Lottie animations without relying on a physics engine. It covers the core mechanics, including tap-based acceleration, camera-driven background scrolling, and enemy pursuit. The approach focuses on running movement and game logic on the UI thread for smooth, consistent performance. The tutorial is structured in clear steps, from setup and assets to movement and game logic. By the end, readers will have a playable mini-game and a reusable mental model for similar interactive experiences.