Skip to content
Cawd Logo GAWD
  • Home
  • About
  • Assignments
  • Resources
  • Contact

Thursday, May 28th

Thursday, May 28th

Class Hours: 10:05 – 2:40
Mr. Bohmann | wbohmann@ewsd.org

10:05 Today’s Notes & Attendance

  • Friday we will have a fire drill at 10:15
  • Next week, begin to take things home with you
  • EHS Exam Schedule – Lion and MJ have a look
  • Sebastian will not be at CTE after 11am on Friday
  • MJ – Show me on your screen your Illuminated Rocky Path
  • Collin – Friday – 12:40 in front of EHS for Phys Ed Field Trip

10:05 GAWD Game Studio

Updates – Let’s hear from groups about their current game situation. Three Questions:

  1. What did you accomplish yesterday?
  2. What will you accomplish today
  3. What challengers / barriers / road blocks might you be facing

Shooting (hugs)

Want some code for a 2D shooter? – I was working on a simple example over the weekend. You will need to create an empty for the location of the bullet to spawn on your player. You will also need to create a prefab for your bullet. Two Scripts – One for the Player and one for the Bullet

Player Shooter

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem; 

public class PlayerShoot : MonoBehaviour
{
    public float fireRate = 0.05f; 
    public Transform firingPoint; 
    public GameObject bulletPreFab;
    private float timeUntilFire;

    
    public void OnFire(InputAction.CallbackContext context)
    {
        // context.started fires the exact frame the button is pressed (equivalent to GetMouseButtonDown)
        if (context.started && Time.time >= timeUntilFire)
        {
            Shoot();
            timeUntilFire = Time.time + fireRate;
        }
    }

    private void Shoot()
    {
        Instantiate(bulletPreFab, firingPoint.position, Quaternion.identity);
    }
}

Bullet Script

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BulletScript : MonoBehaviour
{
    public float bulletSpeed = 15.0f;
    public float bulletDamage = 2.0f;
    public Rigidbody2D rb;
  
    void FixedUpdate()
    {
      rb.velocity = Vector2.right * bulletSpeed;
      Destroy(gameObject, 3); // this will destroy the bullet after 3 seconds
    }

    private void OnCollisionEnter2D(Collision2D collision)
    {
        if(collision.gameObject.tag == "enemy")
        {
            Destroy(collision.gameObject);
            
        }
        
    }
}

10:50 Morning Break (10 minutes)

11:00 Setting Up Compass Cloud Accounts

Creating Compass Cloud Accounts – Getting Reading for testing. Write down your password in your phone. We will login to these accounts next Tuesday and I’ll give you the access code.

11:10 GAWD Game Studio

software cycle

Have another 5 Minute Scrum Meeting with yourself! Then, update your Trello board with things you need to do, are doing or are done with. You are in good shape if you know what you are building and are setting time limits. Rough look ahead:

  1. Friday – Build Day (alpha should be ready)
  2. Monday – Set up Testing Questions / Finish Build
  3. Tuesday – Alpha Testing / Beta Testing / Finish Build
  4. Wednesday – Alpha / Beta Testing
  5. Thursday – Game Jam (all games will be ready!)
  6. Friday (Game Presentations and final publishing)
Creative Commons Attribution 4.0 – Animal Style Burgers from In-n-Out

12:25 English with Mx. Yopp

Word Cloud of literacy terms

1:10 Afternoon Break

1:25 Worksession

2:10 Dailies

2:15 Independent Reading

book covers

2:40 Dismissal

GAWD Instructors:

Matt Cronin

Will Bohmann

Instragram Facebook Twitter

A little about GAWD:

Serving high school students interested in Gaming, Animation, and Web Development in North Western Vermont.

Students continue at:

University of Vermont Ringling School of Art and Design Northeastern University Rochester Institute of Technology Concordia University

Students find careers at:

Dealer.com Union Street Media Rovers North Prudential Investments DockYard
Navigate to top of page