TS 61 MobilityGameDesigner

Flow Design Test Specification

Author: Lukas Hasik
Version: 4.0
Lastupdate: 4.3.2008
Introduction: Visual editing support for MIDP 2.0 Game API including creation and editing of Sprites, TiledLayers and their arrangement into scenes. The main goal of the Game Builder module is to reduce the effort involved in creating common game components.

Contents


Test suite: Game Designer Toolbar

Purpose: Switch options from the drop-down menu of Game Designer
Setup: Have a Game Designer with sprites, tiled layers, scene(s) opened in IDE. You can use the GameDesign from __New Project > Samples > Mobility > MIDP > Simple Game Created with Game Builder

  1. Drop-down menu
    1. Select a item from the drop-down menu.
    • EXPECTED RESULT: It displays the selected sprite/tiled layer/scene in the Game Designer' Game Builder view. Navigator window and Property Sheet content are updated as well.
  2. Buttons
    1. Click Create tiled layer, sprite, scene buttons in Game Designer toolbar
    2. When the New layer, sprite, scene dialog opens. Provide a name. For tiled layer/sprite select an image (use Import sample images if you don't have your ones) and set up tile width and height.
    • EXPECTED RESULT: New scene/sprite/tile layer is created.


Test suite: TiledLayers

Purpose: Test TiledLayer dialog which allows user to create a new tiled layer using the appropriate image resource with the correct tile size.
Setup: Create a new Visual Game Designer file

  1. Create a new TiledLayer
    1. Press Create tiled layer button from the main panel of Game Designer
    2. Enter TiledLayer name, and Click Import Sample Images.
    3. Select one of the image's path tiled, and check the zoom box, and set the tiled size with the scroll bars. Press OK.
    • EXPECTED RESULT: ACTION 1: Create a new TiledLayer Dialog appers. ACTION 2: Once that you import sample images, the image's path tiled will appear, select one and the image will be displayed in the Adjust tile size... view. ACTION 3: You can set the correct tile size using the scroll bars.
  1. Design a TiledLayer
    1. Open a tiled layer in Game Designer - click it or use combo box
    2. Select one of the tiles from the Image section. You can fill the columns and row of the map with selected tile image.
    3. Save the TiledLayer.
    • EXPECTED RESULT: ACTION 1: This allows the user to modify the contents of the TiledLayer and receive instant visual feedback. The TiledLayer editor also includes support for animated tiles. ACTION 2: When you save the TiledLayer it will be display in the Navigator Window.
  1. Edit/Delete/Rename
    1. Right click the tiled layer in main game builder view
    2. Select Edit/Delete/Rename
    • EXPECTED RESULT: Tiled layer is opened/deleted or renamed
  1. TiledLayer refresh
    1. Open a tiled layer in Game Designer - click it or use combo box
    2. In Navigator view, there are two buttons - Refresh preview and Continuously Refresh Preview. Press one of the buttons and proceed..
    3. Select one of the tiles from the Image section. You can fill the columns and row of the map with selected tile image.
    • EXPECTED RESULT: If Continuously Refresh Preview is pressed then all the changes made in the TiledLayer have to be synchronized with the Navigator Window otherwise the Navigator preview is refresh when Refresh Preview button is pressed.
  1. Duplicate TiledLayer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Delete TiledLayer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Rename TiledLayer
    1. TDB
    • EXPECTED RESULT: TDB
  1. New From Selection
    1. TDB
    • EXPECTED RESULT: TDB
  1. Select > Row/Column/All/...
    1. TDB
    • EXPECTED RESULT: TDB
  1. Append row/column
    1. TDB
    • EXPECTED RESULT: TDB
  1. Prepend row/column
    1. TDB
    • EXPECTED RESULT: TDB
  1. Delete row/column
    1. TDB
    • EXPECTED RESULT: TDB
  1. Trim to size
    1. TDB
    • EXPECTED RESULT: TDB
  1. New from selection
    1. TDB
    • EXPECTED RESULT: TDB
  1. Erase selected
    1. TDB
    • EXPECTED RESULT: TDB
  1. Create new animated tiled layer
    1. TDB
    • EXPECTED RESULT: TDB


Test suite: Sprite

Purpose: Another layer type supported by the Game Builder is Sprite. In the gaming context, sprites usually serve as animated characters or objects
Setup: Create a new Visual Game Designer file

  1. Create a new Sprite
    1. Press Create sprite from the main panel of Game Designer
    2. Enter Sprite name, and Click Import sample Image.
    3. Select one of the image's path tiled, and check the zoom box, and set the tiled size with the scroll bars. Press OK.
    • EXPECTED RESULT: ACTION 1:Create a new Sprite Dialog appears. ACTION 2:When you import sample images the available images appear. select one and the image will be displayed in the Adjust tile size... view. ACTION 3: You can set the correct tile size using the scroll bars.
  1. Design a Sprite
    1. Open a sprite in Game Designer - click it or use combo box
    2. Select one of the tiles from the Image section. Drag and Drop it on a frame or next to a frame.
    • EXPECTED RESULT: You can create a sequence of tiles.
  1. Edit/Delete/Rename
    1. Right click the sprite in main game builder view
    2. Select Edit/Delete/Rename
    • EXPECTED RESULT: Sprite is opened/deleted or renamed
  1. Add sequence to a Sprite
    1. Have a sprite opened in Game Designer
    2. Right click any frame of existing sprite's sequence. Choose Create sequence. Provide a name
    • EXPECTED RESULT: New sequence is created.
  1. Duplicate sequence
    1. Have a sprite opened in Game Designer
    2. Right click any frame of existing sprite's sequence. Choose Duplicate sequence. Provide new name.
    • EXPECTED RESULT: New sequence is created.
  1. Rename sequence
    1. TDB
    • EXPECTED RESULT: TDB
  1. Default sequence
    1. TDB
    • EXPECTED RESULT: TDB
  1. Delete sequence
    1. TDB
    • EXPECTED RESULT: TDB
  1. Remove frame
    1. TDB
    • EXPECTED RESULT: TDB
  1. Tween frames
    1. TDB
    • EXPECTED RESULT: TDB
  1. Set default sequence
    1. TDB
    • EXPECTED RESULT: TDB
  1. Play sequence
    1. TDB
    • EXPECTED RESULT: TDB



Test suite: Scene

Purpose: The scene editor is provided to organize all layers (sprites and tiled layers) together into scenes. Setup: Have Visual Game Designer with tiled layers, sprites.

  1. Create a new Scene
    1. Press Create scene from the main panel of Game Designer. Name the scene and hit the OK button.
    • EXPECTED RESULT:This creates an empty scene that contains no layers.
  1. Add a tiled layer to a scene
    1. To add a tiled layer to a scene, right click inside the scene editor and select Add tiled layer plus existing tiled layer name.
    2. Drag the tiled layer to the desired position on the scene.
    • EXPECTED RESULT: You can design the scene layout.
  1. Add a sprite to a scene
    1. To add a sprite to a scene, right click inside the scene editor and select Add sprite plus existing sprite name.
    2. Drag the sprite to the desired position on the scene.
    • EXPECTED RESULT: You can design the scene layout.
  1. Rename scene
    1. Right click the scene. Choose Rename scene
    2. Provide new name
    • EXPECTED RESULT: Scene is renamed.
  1. Duplicate scene
    1. Right click the scene. Choose Duplicate scene
    2. Provide new name
    • EXPECTED RESULT: Scene is duplicated with new name.
  1. Navigator
    1. TDB
    • EXPECTED RESULT: TDB


Test suite: Layers management

Purpose: The scene editor is provided to organize all layers (sprites and tiled layers) together into scenes. Setup: Have Visual Game Designer with tiled layers, sprites.

  1. Layer to top
    1. TDB
    • EXPECTED RESULT: TDB
  1. Layer to bottom
    1. TDB
    • EXPECTED RESULT: TDB
  1. Push up layer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Push down layer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Edit layer
    1. TDB
    • EXPECTED RESULT: TDB
  1. View layer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Lock layer
    1. TDB
    • EXPECTED RESULT: TDB
  1. Select
    1. TDB
    • EXPECTED RESULT: TDB
  1. Select All in Scene
    1. TDB
    • EXPECTED RESULT: TDB
  1. Remove
    1. TDB
    • EXPECTED RESULT: TDB




Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo