GithubHelp home page GithubHelp logo

2dsurvival's Introduction

We use Unity v2020.3.24f1 GitHub link: https://github.com/DareDevil-GGWP/2DSurvival Trello link: https://trello.com/b/ThElTOmG/2dsurvival

Changelog:

v0.0.4:

Changed CamController script:

  • Now only one Control(E)
  • Added Linear interpolated (smoothed) movement when Cam movement is enabled/disabled

v0.0.3:

Main Menu.


v0.0.2:

Playerlook script:

  • Gets mouse input, processes it
  • Rotates an object (and all its children. Here the object attached should be the player's weapon) wherever the mouse is pointing to. ONLY WORKS PROPERLY WHEN BUILT AND RUN, doesn't work in unity editor.
  • Deadzone value of 100. If cursor is <100 pix away from center, it doesn't rotate. ~100 seems fine for a 1080p screen

Tweaks in CamController script:

  • Added a control "X"
  • When cam movement is disabled (Toggle with E), press X to recenter it.

WeaponChoose script:

  • Takes inputs 0-9
  • If same number is pressed twice, it sets to 0. For ex, you press 0, it stays 0, you press 1, it stays 1, if you press 1 again it goes to 0.
  • Made it like this so 0 can be the equivalent of UNEQUIPPED, 1-9 are the items that are available in hotbar.
  • The hotbar is an array(ordered) containing IDs of objects that are equipped.

Removed data in Fire.cs and WeapHandler.cs


2dsurvival's People

Contributors

mugilan-b avatar

Stargazers

Remi  avatar ray avatar Ixee avatar

Watchers

Ixee avatar Remi  avatar ray avatar  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.