Skip to content

My attempt to implement basic mechanics of idle games

License

Notifications You must be signed in to change notification settings

fzfking/SimpleClickerGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

About

Simple Clicker Game is incremental game that focused on production and consumption cycle.

Documentation

Game entry point is placed on scene as Bootstrapper. It creates new GameStateMachine and this load all needed services and load saved data if it exists. States in that state machine divided by their functional. There are 3 in total:

  1. InitServices state - loads all services that needed game to work.
  2. Init state - loads saved data or creating new and generating presenters for game elements.
  3. GameLoop state - linking popup show invokes to generator production ended events and saves progress when player exit game.

Game elements

  • Resource - value that player increasing and spend. Has image and description.
  • Generator - thing that produces resources. Has image, description, productivity and level. Can be upgraded by spending resources.
  • Manager - thing that automatize generators. Has image, description, linked generator and resource cost. Allows generators to produce resources while player offline.

Services

You can change and adjust this game as you want. All static data contains in Assets/Data/Resources/StaticData/StaticDataContainer.asset

image

You can create new game resources and settings by context menu in assets field:

Create-Menu

Gameplay example

Gameplay video

Distribution

You can download actual build on:

License

fzfking-SimpleClickerGame is distributed under the MIT license.

About

My attempt to implement basic mechanics of idle games

Topics

Resources

License

Stars

Watchers

Forks

Languages