Fesh
A downloadable game for Windows, macOS, and Linux
Yu a sily fesh. Yea this is like a physics game tooo, kill time? I dunno. But sure it is sily.
This game is made for TweetTweetJam8, with just 500 characters of code. Yea I counted it one by one, not using any single media named word counter. And also just unity shapes. Cuul.
Beta Issues - No up and down movement for some sily reason that I could not figure out.
Made By - MrEnesDev
So, The Code:
using UnityEngine;
public class GSC : MonoBehaviour
{
public Rigidbody2D r;
public int s;
public GameObject o;
public GameObject f;
void Update()
{
Vector2 move=new Vector2(Input.GetAxis("H")*s*Time.deltaTime,Input.GetAxis("V")*s*Time.deltaTime);
r.AddForce(move,ForceMode2D.Impulse);
}
public void so()
{
Instantiate(o,new Vector2(0f,0f),transform.rotation);
}
public void sf()
{
Instantiate(f,new Vector2(0f,0f),transform.rotation);
}
void OnTriggerEnter2D(Collider2D c)
{
if(c.tag=="f"){
Destroy(c.gameObject);
}
}
}
glory, am I right fellas?
Install instructions
Click 2x to fesh.exe.
Leave a comment
Log in with itch.io to leave a comment.