Skip to content

kotaoue/examtimer

Repository files navigation

ExamTimer

A simple Unity application for tracking time during exams.

Overview

ExamTimer displays a real-time timer to help instructors and students monitor elapsed time during an exam. The timer is split into two values shown on screen:

Display Description
Top Seconds elapsed within the current 30-second cycle (0–29)
Bottom Number of completed 30-second intervals

Tap (or click) anywhere on the screen to reset the timer back to zero.

The scene also spawns physics balls at regular intervals as a visual indicator.

Tech Stack

  • Engine: Unity
  • Language: C# (.NET 3.5)
  • Target platform: Android (also runnable on PC / Mac via Unity Editor)

Project Structure

Assets/
  MainScene.cs       # Main scene controller — timer logic and reset on click
  Gui.cs             # GUI layout helpers
  Launcher.cs        # Spawns ball objects at a configurable interval
  Ball.cs            # Ball physics controller (auto-destroys when off-screen)
  MainScene.unity    # Main Unity scene
ProjectSettings/     # Unity project configuration
examtimer.sln        # Visual Studio solution

Getting Started

Prerequisites

  • Unity (developed with Unity 4.x)
  • Visual Studio or MonoDevelop (optional, for editing C# scripts)

Running in the Unity Editor

  1. Open Unity and select Open Project.
  2. Navigate to the root of this repository and open it.
  3. In the Project panel, open Assets/MainScene.unity.
  4. Press Play (▶) to run the timer.

Building for Android

  1. Go to File → Build Settings.
  2. Select Android and click Switch Platform.
  3. Click Build (or Build and Run to deploy directly to a connected device).

Usage

  • The timer starts automatically when the scene loads.
  • Click / tap anywhere on the screen to reset the timer.
  • The top number counts up from 0 to 29 and then wraps back to 0.
  • The bottom number increments by 1 every 30 seconds, giving the total number of completed 30-second intervals.

License

See LICENSE if available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages