Puzzle game platform.
PuzzleField is puzzle game platform. You can play with the following 2 puzzle games.
- FruitsField
- Sokoban
PuzzleField will run on Windows (desktop application). Keyboard is necessary for play.
- Run PuzzleField.exe.
- In puzzle game select window:
- Use the up/down/8/2 keys to select puzzle (scenario).
- Use the left/right/4/6 keys to move scenario/map field.
- Use the up/down/8/2 keys to select map.
- Hit enter key to start game.
- Up/Down/Left/Right/8/2/4/6 keys to move player. And catch all fruits in map.
- Space key to action arrow block. The arrow block does not stop until it hits an obstacle. The arrow block with obstacles will disappear ahead. The opposite arrow block can not be erased.
- Esc key to abort game, and return to select window.
- Up/Down/Left/Right/8/2/4/6 keys to move player or push box. And move all boxes to goal.
- Esc key to abort game, and return to select window.
The following environment is necessary to build.
- Visual Studio 2017
- cocos2d-x ver3.17 for windows is download at "http://www.cocos2d-x.org/", and install.
- Font "emoir-kaku.ttf" is "http://modi.jpn.org/font_memoir.php". Font "SoukouMincho.ttf" is "https://flopdesign.com/blog/font/5228/". You can use other any fonts supported cocos2d-x.
- Store json/map/slc style map file in "FruitsField/" or "Sokoban/" folder.
It support 3 kinds of map styles.
- Json style: See "fruits_field_original.json".
- Map style: Text style. See "sokoban_uzanka_6x6.map".
- Slc style: XML style. See any web pages containing maps.
- Add new title information in "puzzle_field.json" file.
- Implement new puzzle class (ex: NewPuzzleScene). Make rule, images, maps, ... etc.
- Add new class to PuzzleFieldSceneFactory class for create new scene.
- Add new puzzle class json for characters (ex: "class_NewPuzzle.json").
- Add new title information in "puzzle_field.json" file.
When PuzzleField is started, it automatically detects the map in the user folder.
- Place the map file in the user folder ({ClassName}/user/). Map style is ".json", ".xml" ".slc", or ".map".
- Add or change the "auto_detect" key to "true" in "puzzle_field.json" file.
- Run PuzzleField.exe application. Automatically detect and add map files.
Cleared result is saved in "C:/Users/{username}/AppData/Local/PuzzleField/UserDefault.xml". This is specification of cocos2d-x.
GNU General Public License v3.0
Libraries, fonts and other licenses used in PuzzleField are follow their respective licenses.