Codex: Lost Words of Atlantis
Studio: People For Words
Genre: 2D Educational Puzzle Game
Development Time: 1Year
Implement CAUS: Codex Auto Update System
Delta file update
Prepare files for the game
Implement GooglePlus Login using OAuth Passport
Make Android builds using NPM Cordova
Polish and bug fixing
Make Android builds
Codex: The Lost Words of Atlantis is a globe-spanning adventure where the player uncovers the mysteries of the lost city of Atlantis. The player visits five diverse locales and interacts with colorful locals, eccentric experts, and forgotten mysteries. Each location holds an array of literacy building mini-games and challenges the player must successfully master to unlock new clues and grow as a reader.
What Went Well
Team worked remotely but the communication is still perfect
Weekly team meeting is useful
People take ownership to their work
Time management is good
What Went Wrong
What We Learned
The progress is slow at the beginning of the project.
People have different ideas and hard to make decisions.
The way we use to track tasks and bugs is not efficient.
How to use NPM and Cordova plugins
Keep positive emotion
Know the strategies about how to work remotely
MECHANICS I MADE
The Codex Auto Update System (CAUS)
Delta File Update
I used Cordova-app-loader plugin to make delta file updates in the CAUS. Mark Marijnissen develops this plugin.
Put simply, it is effective and efficient. It will check the update file list from the server and only download the changes on that list. When the new files are downloaded, the old downloads will be aborted. In addition, this plugin can also handle the case when there is no internet connection.
APK Version Update
Cordova-plugin-app-update is a plugin which is used to make full APK updates. Wen Luo developed this plugin.
This plugin checks the local app version code with the latest version code online to determine whether there is a version update. The version code represents the version of the application. After getting permission for downloading and installing, the plugin will complete a full APK update.
After the CAUS finishes the updating, CAUS will load scripts and other game assets to start the game.
Parse the manifest file
The first step for loading assets is to parse the manifest file; there are several sections in the manifest file. We need to parse the manifest file to get the files information for different sections. The CAUS will load all of the game files based on the information that the manifest file listed.
2. Load scripts
3. Load art assets
After all of the scripts are loaded, the CAUS needs to load the art assets in order to start the game. Following the rules of the Phaser engine, the CAUS uses the following code to load art assets.
Load scripts process
APK version update
Delta file update