Thursday, 7 January 2016

Core 3: Project Management Updates

The videos for Core 3: Project Management have been reviewed and very minor edits made. There is no change to the instructional content, so there is no need to revisit videos that students have already viewed. The old versions of the videos are now marked private.

The downloadable AIA file SimpleBowling_example.aia has been updated to add missing images and to prevent the app from crashing when the game is played. It therefore differs from the code shown in video 4 as follows:
  • add a bowling pin image to the TitleSprite on the home screen so that the sprite is visible
  • set the Speed of the sprite in the TitleMove procedure (the Interval is set by default) to make it move
  • add bowling pin images to the remaining PinSprites on the play screen
  • set the Ball speed to a multiple of the Flung speed for more realistic movement
  • add handling for a collision with the BallSprite to the PinCollide procedure, because a Ball sprite cannot be referenced with an Any ImageSprite block
  • set the Speed and Heading of the ball and pin sprites to zero in the ResetPins procedure to stop them from moving and 'stand the pins up' ready to play again
This is the minimum set of changes needed to get a working game. There is ample scope for enhancing this app, even beyond the fourth and fifth deliverables mentioned in the lesson plans; this will be the subject of a future post, with a sample app to follow.

No comments:

Post a Comment