A downloadable game for Windows

my first 3d platformer made with unity

the 3zda is a 3d platformer where you control a yellow capsule (very original character) with a white cube.

this game is challenging and short

controls are: w a s d, up left down right and spacebar. if you want to exit, press alt f4

this game is nothing about catel albastru and my first game that does not have any catel albastru

what will you platform on ? you will platform on: pheres, sqares and cubes.

the game is 1 minute long and you have beaten the game if it says: you won.

the proccess of making this game is i downloaded 21 tutorial videos from youtube but used 4 tutorials. one for character, rotation, jumping and camera. i followed the tutorials carefully and in coding, i did at least 1 mistake every time the coding part got finished and i asked copilot, an AI to fix the code and i did this all with a laptop. while coding i layed in bed then on chair and desk to charge the laptop, i ate protein chocolate pudding while coding for the game and took breaks throughout the proccess

this game took me 3:30 hours to make and heres the character code:

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

public class MovementScript : MonoBehaviour

{

    public float speed;

    public float rotationSpeed;

    public float jumpSpeed;

    private float ySpeed;

    private CharacterController conn;

    public bool isGrounded;

   
    // Start is called before the first frame update

    void Start()

    {

        conn = GetComponent<CharacterController>();

    }

    // Update is called once per frame

    void Update()

    {

        float horizontalMove = Input.GetAxis("Horizontal");

        float verticalMove = Input.GetAxis("Vertical"); // Corrected variable name

        Vector3 moveDirection = new Vector3(horizontalMove, 0, verticalMove);

        float magnitute = moveDirection.magnitude;

        magnitute = Mathf.Clamp01(magnitute);

        transform.Translate(moveDirection * speed * Time.deltaTime, Space.World);

        conn.SimpleMove(moveDirection * magnitute * speed);

        ySpeed += Physics.gravity.y * Time.deltaTime;

        if(Input.GetButtonDown("Jump"))

        {

           ySpeed = -0.5f;

           isGrounded = false;

        }

        Vector3 vel = moveDirection * magnitute;

        vel.y = ySpeed;

        transform.Translate (vel * Time.deltaTime);

        conn.Move(vel * Time.deltaTime);

        if(conn.isGrounded)

        {

           ySpeed = -0.5f;

           isGrounded = true;

           if(Input.GetButtonDown("Jump"))

           {

              ySpeed = jumpSpeed;

              isGrounded = false;

           }

        }

        if (moveDirection != Vector3.zero)

        {

            Quaternion toRotate = Quaternion.LookRotation(moveDirection, Vector3.up);

            transform.rotation = Quaternion.RotateTowards(transform.rotation, toRotate, rotationSpeed * Time.deltaTime);

        }

    }

}


Published 4 days ago
StatusReleased
PlatformsWindows
Authorcatel albastru developer
GenrePlatformer

Download

Download
the 3zda.zip 26 MB

Install instructions

download zip, extract and find the unity icon saying: i can't be a 3d master

Leave a comment

Log in with itch.io to leave a comment.