Wednesday, December 19, 2012

Simple baby shadow game


The child should find out the good shadow of the animal in the card on left side. If the child presses on a bad shadow card, then the pressed shadow card will be disappeared. If he presses on the right shadow card, then an image of congratulations will be displayed, presses then on the congratulation image to reinitialize the game.

The sample generated application for Android can be downloaded here childShadowGame-release.apk.


If the child presses on the right shadow card, then an image of congratulations will be displayed, presses then on the congratulation image to reinitialize the game.
This simple project will show you:
  • How to integrate and layout a set of image;
  • How to use the Pressed Event Behavior to define the interactions with the images;
  • How to define the EndElementAction to ddisappear the false pressed shadow image cards
  • How to use the StartElemAction to do appear the congratulations image as the good shadow card pressed.
  • etc.


The project is a simple integration of a set of the images. A card front image is overlay on an animal image. The background of the application is set to blue color.

 A pressed event behavior is added on each card front image, that allow to interact with the shadow images to select an animal shadow. For each pressed event behavior an action will be defined. By example:
  • the picture on the left side above show the action when the first shadow is pressed is disappearing the first animal shadow image (EndElemAction on the Image_card_1
  • the picture on the right side above show the action, when the second shadow is pressed, is appearing the congratulation image (StartElemAction on the Image_congratulations)
  • the actions, when the congratulation image is pressed, is disappearing the congratulation image and reappearing the false shadow images (StartElemAction on the Image_card_1/3/4). If the shadow image is displaying the action on this image will be ignored.

You can download the JM-Mobile project of the sample here childShadowGameo.

2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Nice collection of games which help kids to improve their cognetive skills.
    Baby Games

    ReplyDelete