-
Notifications
You must be signed in to change notification settings - Fork 8
How to contribute
The easiest way to contribute to the game, without changing the source code, is to create new game themes. Some examples of game themes would be:
- A rabbit reaching a carrot.
- A fish swimming to a coral, etc.
As long as it follows the game’s mechanics, you can easily add new themes by suppling the required graphical and audio resources.
The game is developed as an engine that runs a certain type of game themes. In regards to this, there are some constraints that all new themes should follow:
For this level, there are three required resources:
- A mask image (mask.png) that is being “erased” by the player.
- A background image (dark-background.png) that appears on the erased areas of the mask.
- Audio guidance file (audio-guidance-eraser-game.mp3) that is played on level start.
On this level, there is a theme object that will move linearly after a player’s click on it. The theme object is the car in the car theme, or the monkey in the monkey theme. Below are the required resources:
- A background image (light-background.png) on which the object moves.
- An animation file (animation-idle-object.atlas) of the object while it’s idle (before a player clicks on it). More about creating animations read here.
- An animation file (animation-moving-object.atlas) of the object while it is moving.
- Audio guidance file (audio-guidance-cause-and-effect.mp3) that is played on level start.
- Sound effect for the moving object (moving-object-sound.mp3). For example, this is a car engine sound in the car theme.
The resources for this level are the same as Level 2. The only difference with level 2 is that the object will move in a linear manner on multiple points, and will require multiple player clicks before reaching the destination.
The resources for this level are same as for Level 2, except for the audio guidance file which directs the player to drag and drop the object on the destination point. Below are the required resources:
- A background image (light-background.png) on which the object moves.
- An animation file (animation-idle-object.atlas) of the object while it’s idle (before a player clicks on it). More about creating animations read here.
- An animation file (animation-moving-object.atlas) of the object while it is moving.
- Audio guidance file (audio-guidance-drag-and-drop.mp3) that is played on level start.
- Sound effect for the moving object (moving-object-sound.mp3). For example, this is a car engine sound in the car theme.
For this screen, the below resources are needed:
- A happy animation (happy-animation.atlas) of the theme object. For example, in the monkey theme, the monkey is eating a banana.
- Audio guidance file (audio-guidance-happy-animation.mp3) giving the player a positive feedback on a job well done.
For this screen, the below resources are needed:
- An unhappy animation (unhappy-animation.atlas) of the theme object. For example, in the monkey theme, the monkey is being sad.
- Audio guidance file (audio-guidance-sad-animation.mp3) giving the player a negative feedback and encouraging him to try again.
There are three general steps for creating a new game theme:
- Create a new folder with the theme name and place it in the open\core\resources\theme\ directory.
- Add all the mentioned resources inside the folder. A summary of all theme resources can be found here.
- Update the open/core/resources/cause_and_effect.json JSON file with the new theme data. More on this here.