Skip to content

markbouwmangames/citystatesystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

City State System

While playing the ChainGame you can be in either buildmode or playmode. These two modes share a lot of the same functionality, so I wanted to make a good system that allowed us to reuse as much code as possible.

Something I really liked about this system was how the ripple worked. All I had to do was to start a coroutine and pass a function as parameter. Whenever a tile got selected by the ripple coroutine, the function given as parameter would then decide what happened to the tile, making a very reusable system.

About

A system I used in one of the games at Little Chicken Game Company

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages