This game gives you a chance to create an actor versus actor game (Tank v. Tank) that includes artificial intelligence and a health bar for points.
Summary of skills we will learn
- Spawn bullets
- Bounce feature of walls
- Artificial intelligence (AI) by using constrain attribute
- Bad actor chases good actor
- Else statement
- Start button
- Pause button
- Health Bar
Slide Show Helper
Video Tutorials
Part 1 Setting Up The Scenes
- Level1
- Level2
- Level3
- Pause
- Start
- Instructions
Part 2 Make and Move good tank
- Turning objects
- Move tank
Part 3 Creating walls
- Creating walls using bounciness, moveable
- Interact with wall. Change the bounciness setting for wall and tank
- Add a background actor
- Work with layers in a scene
Part 4 Shooting projectiles
- Spawn bullet with sound
- Have bullet move
- Have bullet shoot from rear of tank`
- Destroy bullet on contact with wall
Part 5 Make and Moving Bad Tank
- Bad actor (tank) with artificial intelligence
- X position and Y position
- Create “real” attribute for game (not player)
- Constrain attribute
- Self.position.x
- Self.position.y
- AI effect
- Move to behavior
- Rotate to behavior
- Add shoot for bad actor (red tank)
- Destroy bullet if it hits wall or good tank
- If any conditions are valid as there are more than one condition
- Destroy bullet if it hits wall or good tank
- Add a timer for shooting
Part 6 Keep score and changing scenes
- Destroy good tank when hit.
- Destroy bad tank when hit
- Change scenes
- Change image
- Create image indent effect
- Timer
- Do logic
- Else statement
Part 7 Creating the Intro
- Intro scene with start button
- Instructions scene
- Back button
- Pause functions. Add a pause and resume button
Part 8 Creating Health Bars
- Create health bar
- Using bar to check lives left instead of number
- Reduce health bar after hit
- Destroy actor when health is gone
- Show health bar graphics
- Replicate (Clone) behavior
- Direction of line drawn (0 or 180)
- Reset health to full after game over
Good Blank Bad Blank Independent Game and Assessment
Overview
Create a game where a good guy and a bad guy fight each other. The bad guy should have artificial intelligence and chase the good guy
Getting Started
- After looking at the requirements below, complete this game design proposal
- Open this check sheet and share it with Mr. Boll
- Fill in the check sheet as you complete each task
- Start building your awesome program
- Publish it to Game Salad after you have spent about one hour working on it.
Requirements
- Win, lose, pause, instructions and intro scenes
- Instructions on how to play
- Use of AI for bad guy
- Health bar for points
- Sounds for shooting, hits and more
- Interesting theme for the game. For example, good Bart Simpson versus bad Bart Simpson
Minimum Needed Scenes
- Start/Splash
- YouWin
- YouLose
- Pause
- Level 1
Possible Upgrades
- Difficulty level choices
- Change characters choices
- Change themes (sounds, characters, etc)
At Least These Actors
- Background actor 1
- Background actor 2
- Background actor 3
- Good Top Down Actor
- Bad Top Down Actor
- DisplayScore Actor
- Pause
- YouWin
- GameOver
At least These Behaviors (code)
- Score
- Display text
- Random objects falling in random places
- Sound behavior
- Music behavior (played during the game)
- Move basket left
- Move basket right
- Destroy Actor
Attributes
- WhichItem (actor level)
- Score (game level)
- Others that help set difficulty levels?
Other
- Use of tags for hazards and non hazards
- Proper naming and syntax. For example, RuleSpawnBanana
- All objects are transparent