[av_section min_height=” min_height_px=’500px’ padding=’default’ shadow=’no-border-styling’ bottom_border=’no-border-styling’ bottom_border_diagonal_color=’#333333′ bottom_border_diagonal_direction=” bottom_border_style=” custom_margin=’0px’ custom_margin_sync=’true’ custom_arrow_bg=” id=” color=’main_color’ background=’bg_color’ custom_bg=’#eddfcb’ background_gradient_color1=” background_gradient_color2=” background_gradient_direction=’vertical’ src=” attachment=” attachment_size=” attach=’scroll’ position=’top left’ repeat=’no-repeat’ video=” video_ratio=’16:9′ overlay_opacity=’0.5′ overlay_color=” overlay_pattern=” overlay_custom_pattern=” av_element_hidden_in_editor=’0′ av_uid=’av-k12xwowt’]
[av_heading heading=’Good Tank Bad Tank’ tag=’h1′ link_apply=” link=’manually,http://’ link_target=” style=’blockquote modern-quote modern-centered’ size=” subheading_active=” subheading_size=’15’ margin=” padding=’10’ color=” custom_font=” custom_class=” admin_preview_bg=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-2vmj7k’][/av_heading]
[/av_section]
[av_tab_section transition=’av-tab-slide-transition’ padding=’default’ tab_pos=’av-tab-above-content’ content_height=” tab_padding=’default’ initial=’2′ id=” av_element_hidden_in_editor=’0′ av_admin_tab_active=’4′ bg_color=” color=” av_uid=’av-7ffivk’]
[av_tab_sub_section tab_title=’Overview’ vertical_align=’top’ icon_select=’image_top’ icon=’ue800′ font=’entypo-fontello’ tab_image=’2333′ tab_image_style=” color=” background_color=” src=” attachment=” attachment_size=” background_attachment=’scroll’ background_position=’top left’ background_repeat=’no-repeat’ av_uid=’av-k12xnm29′]
[av_textblock size=” font_color=” color=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-k12xxrvz’ admin_preview_bg=”]
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
[/av_textblock]
[/av_tab_sub_section][av_tab_sub_section tab_title=’Play’ vertical_align=’top’ icon_select=’image_top’ icon=’ue800′ font=’entypo-fontello’ tab_image=’2334′ tab_image_style=” color=” background_color=” src=” attachment=” attachment_size=” background_attachment=’scroll’ background_position=’top left’ background_repeat=’no-repeat’ av_uid=’av-k12wwx3a’]
[av_textblock size=” font_color=” color=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-k12wxn1a’ admin_preview_bg=”]
Samples
Duck
[/av_textblock]
[/av_tab_sub_section][av_tab_sub_section tab_title=’Tutorials’ vertical_align=’top’ icon_select=’image_top’ icon=’ue81f’ font=’entypo-fontello’ tab_image=’2330′ tab_image_style=” color=” background_color=” src=” attachment=” attachment_size=” background_attachment=’scroll’ background_position=’top left’ background_repeat=’no-repeat’ av_uid=’av-k12wvj35′]
[av_heading heading=’Slide Show Helper’ tag=’h3′ link_apply=” link=’manually,http://’ link_target=” style=” size=” subheading_active=” subheading_size=’15’ margin=” padding=’10’ color=” custom_font=” custom_class=” admin_preview_bg=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=”][/av_heading]
[av_codeblock wrapper_element=” wrapper_element_attributes=” codeblock_type=” av_uid=’av-k1ufdqnx’]
[/av_codeblock]
[av_heading heading=’Video Tutorials’ tag=’h3′ link_apply=” link=’manually,http://’ link_target=” style=” size=” subheading_active=” subheading_size=’15’ margin=” padding=’10’ color=” custom_font=” custom_class=” admin_preview_bg=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=”][/av_heading]
[av_textblock size=” font_color=” color=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-k12wvz5g’ admin_preview_bg=”]
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
[/av_textblock]
[/av_tab_sub_section][av_tab_sub_section tab_title=’Assessment’ vertical_align=’top’ icon_select=’image_top’ icon=’ue800′ font=’entypo-fontello’ tab_image=’2328′ tab_image_style=” color=” background_color=” src=” attachment=” attachment_size=” background_attachment=’scroll’ background_position=’top left’ background_repeat=’no-repeat’ av_uid=’av-46shr4′]
[av_two_third first min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ row_boxshadow=” row_boxshadow_color=” row_boxshadow_width=’10’ link=” linktarget=” link_hover=” padding=’0px’ highlight=” highlight_size=” border=” border_color=” radius=’0px’ column_boxshadow=” column_boxshadow_color=” column_boxshadow_width=’10’ background=’bg_color’ background_color=” background_gradient_color1=” background_gradient_color2=” background_gradient_direction=’vertical’ src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_breaking=” mobile_display=” av_uid=’av-43dw68′]
[av_textblock size=” font_color=” color=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-k1rr6w2d’ admin_preview_bg=”]
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
[/av_textblock]
[/av_two_third][av_one_third min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ row_boxshadow=” row_boxshadow_color=” row_boxshadow_width=’10’ link=” linktarget=” link_hover=” padding=’0px’ highlight=” highlight_size=” border=” border_color=” radius=’0px’ column_boxshadow=” column_boxshadow_color=” column_boxshadow_width=’10’ background=’bg_color’ background_color=” background_gradient_color1=” background_gradient_color2=” background_gradient_direction=’vertical’ src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_breaking=” mobile_display=” av_uid=’av-2m9lkw’]
[av_image src=’https://www.mrboll.com/wp-content/uploads/2019/05/Coding-with-Game-Salad-1.png’ attachment=’2486′ attachment_size=’full’ align=’center’ styling=” hover=” link=’lightbox’ target=” caption=” font_size=” appearance=” overlay_opacity=’0.4′ overlay_color=’#000000′ overlay_text_color=’#ffffff’ copyright=” animation=’no-animation’ av_uid=’av-k2fn0fcb’ admin_preview_bg=”][/av_image]
[av_textblock size=” font_color=” color=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=” av_uid=’av-k1rr6w2d’ admin_preview_bg=”]
Games from other classes (They might not all work)
[/av_textblock]
[/av_one_third][/av_tab_sub_section][av_tab_sub_section tab_title=’Student Arcade’ vertical_align=’top’ icon_select=’image_top’ icon=’ue800′ font=’entypo-fontello’ tab_image=’2473′ tab_image_style=” color=” background_color=” src=” attachment=” attachment_size=” background_attachment=’scroll’ background_position=’top left’ background_repeat=’no-repeat’ av_uid=’av-k2b9op9g’]
[av_two_third first min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ row_boxshadow=” row_boxshadow_color=” row_boxshadow_width=’10’ link=” linktarget=” link_hover=” padding=’0px’ highlight=” highlight_size=” border=” border_color=” radius=’0px’ column_boxshadow=” column_boxshadow_color=” column_boxshadow_width=’10’ background=’bg_color’ background_color=” background_gradient_color1=” background_gradient_color2=” background_gradient_direction=’vertical’ src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_breaking=” mobile_display=” av_uid=’av-5lou9c’]
[av_heading heading=’Add your published game here’ tag=’h3′ link_apply=” link=’manually,http://’ link_target=” style=” size=” subheading_active=” subheading_size=’15’ margin=” padding=’10’ color=” custom_font=” custom_class=” admin_preview_bg=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=”][/av_heading]
[av_codeblock wrapper_element=” wrapper_element_attributes=” codeblock_type=” av_uid=’av-k86mu2k3′]
[/av_codeblock]
[/av_two_third][av_one_third min_height=” vertical_alignment=” space=” custom_margin=” margin=’0px’ row_boxshadow=” row_boxshadow_color=” row_boxshadow_width=’10’ link=” linktarget=” link_hover=” padding=’0px’ highlight=” highlight_size=” border=” border_color=” radius=’0px’ column_boxshadow=” column_boxshadow_color=” column_boxshadow_width=’10’ background=’bg_color’ background_color=” background_gradient_color1=” background_gradient_color2=” background_gradient_direction=’vertical’ src=” background_position=’top left’ background_repeat=’no-repeat’ animation=” mobile_breaking=” mobile_display=” av_uid=’av-4jzgio’]
[av_heading heading=’Forgot how to publish? Watch this video’ tag=’h3′ link_apply=” link=’manually,http://’ link_target=” style=” size=” subheading_active=” subheading_size=’15’ margin=” padding=’10’ color=” custom_font=” custom_class=” admin_preview_bg=” av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av-medium-font-size-title=” av-small-font-size-title=” av-mini-font-size-title=” av-medium-font-size=” av-small-font-size=” av-mini-font-size=”][/av_heading]
[av_video src=’https://youtu.be/c4DJzRECUD8′ mobile_image=” attachment=” attachment_size=” format=’16-9′ width=’16’ height=’9′ conditional_play=” av_uid=’av-k86mw9vb’]
[/av_one_third][av_hr class=’default’ height=’50’ shadow=’no-shadow’ position=’center’ custom_border=’av-border-thin’ custom_width=’50px’ custom_border_color=” custom_margin_top=’30px’ custom_margin_bottom=’30px’ icon_select=’yes’ custom_icon_color=” icon=’ue808′ av-desktop-hide=” av-medium-hide=” av-small-hide=” av-mini-hide=” av_uid=’av-28hucw’]
[/av_tab_sub_section][/av_tab_section]
Leave a comment