beginner

Hyper-Casual Starter Kit

Everything you need to prototype hyper-casual games in hours — one-tap input, endless runner template, stack mechanic, score tracking, and swipe controls.

5 scripts · 18 KB
Hyper CasualMobile Solo devs prototyping hyper-casual games for mobile

Features

One-tap gameplay mechanics
Endless runner template with lane switching
Stack/tower builder mechanic
Score tracking with combos and high score
Swipe and tap input detection
Ready for ad integration points

Included Scripts

/hyper-casual-starter-kit/

Setup Guide

1

Import all scripts into your Unity project

2

Create a Player object with Rigidbody and attach EndlessRunnerController

3

Set up lane positions and obstacle spawners in the inspector

4

Add TapInputHandler and SwipeInputController to a manager object

5

Attach ScoreManager and configure combo thresholds

6

Optionally add StackMechanic for a stacking mini-game mode

Code Preview

C#
// ScoreManager.cs - Track score, combos, and high score
public class ScoreManager : MonoBehaviour
{
    public static ScoreManager Instance { get; private set; }
    public int Score { get; private set; }
    public int HighScore { get; private set; }
    public int ComboMultiplier { get; private set; }

    public void AddScore(int points)
    {
        Score += points * ComboMultiplier;
        if (Score > HighScore) HighScore = Score;
    }
}

// EndlessRunnerController.cs - Lane-based runner
public class EndlessRunnerController : MonoBehaviour
{
    [SerializeField] private float runSpeed = 8f;
    [SerializeField] private float laneDistance = 2.5f;
    [SerializeField] private int laneCount = 3;

    public void SwitchLane(int direction) { /* move left/right */ }
    public void Jump() { /* jump over obstacles */ }
}

Available Individually

These scripts are also available as standalone downloads:

Related Systems