Code Monkey home page Code Monkey logo

unityfpsproject's Introduction

unityfpsproject

Download: https://drive.google.com/file/d/1y1OtsqM_QKwrNiHYsL8XncqtNyMLTEGT/view?usp=sharing

This is my attemp on using Unity Engine for the first time, I've set a one week limit for myself and see what I could come out with no knowledge and experience of using Unity Engine.

I decided to create a FPS game as I tried to figure out the basic mechanics and get a hang of how a game engine works first.

This is the menu of my game which I tried to recreate the opening style of FINAL FANTASY XIII-2. I really like the intro of it and find it beautiful but I always feel like the intro could do better by matching to its music. It looks good but I think I could do better on it. alt text

What I implemented:

  1. Player Movement(of course)
    It took me a few days to implement as I don't quiet really know how the engine works. At first, I used the Input.Get(KeyCode.W) for all WASD input which is not good and inefficient as there are a lot of repeated code. So I rewrote it in a better style of code. image

  2. Crouching Movement
    The crouching movement isn't that difficult to implement, but what I did is just resizing the collider of the player, which is not doing in a good way as way because the player mesh went underneath the ground. image

  3. Jumping
    Jumping is not that hard to code, but when working with wall sliding/climing, it did really give me a hard time. image

  4. Wall Slilding/Climbing
    It took me a few days to code this part of my game. I used animator to animate the camera rotation, which looks pretty good to me. I tried different way to code how the player could slide/climb the wall but all didn't work as excepted. Even the version now isn't what I except, but it does it job and I'll leave it here. image

  5. A Gun which can fire bullets
    It's fun when working in this part, working in animation of the gun is easier than what I thought it would be. The bullet with trail coming out of the gun is the most satisfying part I've worked in. image

Conclusion:
It's a fun week on making a game by self teaching myself. There are many things I have never thought about. Next time, I may try to make a 2D game as I think there are fewer work to implements when compared to a 3D game and giving me freedom to implement what I wanted to. I have many thoughts of making a game and may want to take part in a bit of music composing next time.

unityfpsproject's People

Contributors

stevenwhatever123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.