Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Project source to a 2D unity "Sokoban" mobile game; grid-based gameplay and level editor.

License

Notifications You must be signed in to change notification settings

peteschmitz/Graphite.Unity.Sokoban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warehouse Dash - Sokoban

alt text

About

This repository contains source code for a Unity game influenced by the game "Sokoban". There are compatible builds for Android and iOS phones, with additional functionality support for Android TV. The application is publically free to download on the following app stores:

Note: Sound effects in this repository are empty placeholders due to distribution restrictions.

Noteworthy Features

alt text

  • Grid-based gameplay: Control one GameObject and push other GameObjects around
  • Level editor: Load/save levels to json, test levels during creation
  • Local IO filesystem using json serialization (works across Editor/PC/Mobile)
  • Runtime localization for 8 different languages (using StreamingAssets and Application.systemLanguage); works on mobile
  • Runtime evaluation for gamepad input (determine if the user is using a TV remote)
  • In-app purchase lifecycle for non-consumables: Ability to purchase, and functionality to grant and restore IAPs.
  • Example of interstitial unity advertisements between levels.
  • Modified version of Instant Screenshot: Support for 2019.1.9f1, capture iPhone/iPad/Android Phone/Android TV images with a single click

Install

  • Requires Unity 2019.1.9f1
  • Clone and open the "Sokoban.UnityClient" folder in Unity
  • Open the services panel and add a Project ID
  • Enable "Ads" service (make sure to "Continue" past COPPA compliance)
  • Restart the editor (to force recompile and resolve ads/purchasing errors)

Scenes

  • Title scene - Entry scene; toggles between the "Main Menu" panel and a "Level Select" panel
  • Editor scene - Allows new levels to be quickly created and exported. This scene is intended to be ran only from the Unity editor. However, the exported files (Assets\Resources\Data\Levels) may be included in the game once they are included in a difficulty folder (Easy/Medium/Hard).
  • Game scene - Gameplay; builds and plays a predefined level (as set by the "Level Select" panel or Editor scene).
  • Ad scene - Dedicated empty scene for running ads. Fail-safe "Continue" after a specific timeout.

About

Project source to a 2D unity "Sokoban" mobile game; grid-based gameplay and level editor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published