Useful Links

Previous Global Game Jams

2019

2018

2017

 

Job Listing in the Industry

https://orcahq.com/

Ball Rolling Script:

using UnityEngine;
using System.Collections;

public class Roll : MonoBehaviour {

    private Rigidbody rb;
    public float moveSpeed;

    private int score;

    public GameObject ItemPrefab;

    // Use this for initialization
    void Start () {
    
        rb = GetComponent<Rigidbody> ();
        score = 0;
        spawnItem ();
    }
    
    // Update is called once per frame
    void Update () {
    
        rb.velocity = new Vector3 (Input.GetAxis ("Horizontal"), 0, Input.GetAxis ("Vertical")) * moveSpeed;

    }

    void spawnItem() {
        
        Vector3 spawnPos = Random.insideUnitCircle * 50;
        spawnPos.z = spawnPos.y;
        spawnPos.y = 1.5F;
        
        Instantiate (ItemPrefab, spawnPos, Quaternion.identity);
        
    }

    void OnTriggerEnter(Collider other) {
        if (other.name.Contains("Item")) {
            Destroy(other.gameObject);
            score++;
            spawnItem();
        }
    }

    void OnGUI() {
        GUI.contentColor = Color.black;
        GUI.Label (new Rect (20, 20, 200, 100), "Score: " + score);
    }


}