The Delivererance
A downloadable game for Windows
Download NowName your own price
Entry for TweetTweetJam 4 made in Unity.
WASD/Arrow Keys to move
Code:
using UnityEngine;using UnityEngine.UI;public class G:MonoBehaviour{public Transform[]l;public Text c;public Rigidbody2D r;int i=0;int s=0;void Update(){var h=Input.GetAxis("H");var v=Input.GetAxis("V");r.velocity=new Vector3(h,v)*3;c.text=s.ToString();}void OnTriggerEnter2D(Collider2D c){if(c.tag=="e"){transform.position=Vector3.up;M();s=0;}if(c.tag=="t"){if(i==1){s+=1;M();i=0;}}if(c.tag=="p"){l[1].position=Vector3.up*9;i=1;}}void M(){l[0].position=V();l[1].position=V();l[2].position=V();}Vector3 V()=>new Vector3(Random.Range(-8,8),Random.Range(-5,5));}
Status | Released |
Platforms | Windows |
Author | wyvernsword |
Genre | Action |
Tags | Singleplayer |
Download
Download NowName your own price
Click download now to get access to the following files:
TheDelivererance_dl.zip 19 MB
Leave a comment
Log in with itch.io to leave a comment.