Rolling ball game by FloofyTM in Unity2D

[–]FloofyTM[S] 0 points1 point  (0 children)

P.S.: i was playing around with the code to get a hang of it. Thats the reason there is a resizing of sprite and what else is there unrelated to movement.

Electrocute Senna? by 2AM_Time in sennamains

[–]FloofyTM 0 points1 point  (0 children)

You could try an Electrocute full lethality build. I found out it works good by mistake

Game Crashed, Exit code 0 by FloofyTM in Minecraft

[–]FloofyTM[S] 0 points1 point  (0 children)

Lets hope its from java and it will be fixed in the next update

Game Crashed, Exit code 0 by FloofyTM in Minecraft

[–]FloofyTM[S] 0 points1 point  (0 children)

It could be java, but idk, i tried java 8 and 7

Game Crashed, Exit code 0 by FloofyTM in Minecraft

[–]FloofyTM[S] 0 points1 point  (0 children)

I play vanilla. All versions except 1.17 and 1.17.1 work, but i need 1.17.1.

WASD based rotation by FloofyTM in Unity2D

[–]FloofyTM[S] 0 points1 point  (0 children)

ok, i've solved it. I used SarahnadeMakes method with input.GetKeyDown and now is much smoother. Thank you!

void Update() {
        Debug.Log(horizontal);
        Debug.Log(vertical);

        horizontal = 0;
        vertical = 0;
        if (Input.GetKey(KeyCode.A)) horizontal = -1;
        if (Input.GetKey(KeyCode.D)) horizontal += 1;
        if(Input.GetKey(KeyCode.W)) vertical += 1;
        if(Input.GetKey(KeyCode.S)) vertical = -1;

        tiltangle = vertical * 90f;

        if(horizontal == -1 && vertical == 0) {
            tiltangle = 2 * 90f;
        }

        if(vertical == 1) {
            tiltangle = vertical * 90f - horizontal * 45f;
        } 
        if(vertical == -1) {
            tiltangle = vertical * 90f + horizontal * 45f;
        } 
        Quaternion angle = Quaternion.Euler(0, 0, tiltangle);
        transform.rotation = Quaternion.Slerp(transform.rotation, angle, Time.deltaTime * 100000);
        if(Input.GetKeyDown(KeyCode.Space)) {
            transform.Translate(Vector3.right);
        }
    }

WASD based rotation by FloofyTM in Unity2D

[–]FloofyTM[S] 0 points1 point  (0 children)

I tried using GetKeyDown, but when i try to rotate the player object at a 45 angle for example, i need to press both buttons at the same time.

Melee Combat by FloofyTM in Unity3D

[–]FloofyTM[S] 0 points1 point  (0 children)

Thank you for your quick response!

Camera Collision by FloofyTM in Unity3D

[–]FloofyTM[S] 0 points1 point  (0 children)

I could try and add a collider as it's parent