Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
A jam submission

TweetTweetJam on screenView game page

Keep the text on the screen
Submitted by MrTroy (@MrTroy) — 6 days, 2 hours before the deadline
Add to collection

Play game

TweetTweetJam on screen's itch.io page

How 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

Submitted

Tough spacebar action