Play game
TweetTweetJam on screen's itch.io pageHow many characters did you use?
558
Include your code here, if you'd like to show it off!
using UnityEngine; public class LowCode : MonoBehaviour{bool a=false;float g=4;float s=0;Transform t;TextMesh c;void Start(){c=new GameObject().AddComponent<TextMesh>();t = c.transform;a=true;c.anchor=TextAnchor.MiddleCenter;} void Update(){if(!a){if(Input.GetKeyDown(KeyCode.R)){a=true;s=0;};return;}s+=Time.deltaTime;t.position+=Vector3.down*g*Time.deltaTime;g+=.1f*Time.deltaTime;if(Input.GetKeyDown(KeyCode.Space))t.position+=Vector3.up;c.text="#TweetTweetJam "+((int)s);if (!t.GetComponent<Renderer>().isVisible&&s>2){t.position=Vector3.zero;a=false;}}}
Leave a comment
Log in with itch.io to leave a comment.
Comments
Tough spacebar action