Giter Site home page Giter Site logo

2.5d_control-game's Introduction

Twin Stick 2.5D

Exploring the elements of a 2.5D game The Complete Unity Developer course - Udemy's most successful Unity 3D tutorial.

If you are interested in seeing how this code was written as part of our epic 40+ hour course, then use this coupon to gain 80% of the RRP.


Introduction To Twin Stick

  • Using 3D with 2D controls (2.5D game).
  • Using world-space UI in a 3D game.
  • CrossPlatformInputManager & virtual controls.
  • Saving game state to PlayerPrefs.
  • UI anchors + much more.

Introducing Version Control

  • Why you may want to use version control.
  • An overview of how we use it.
  • Follow us on GitHub.
  • Where to find the course repositories.

Sharing Your Game With Git

  • How Git can help you share your project.
  • How we use Git for the course.
  • What’s different about how you may use it.
  • Read Dan’s blog post

Using SourceTree & Git

  • Download SourceTree
  • Creating local & remote repos.
  • Using a .gitignore file for Unity.
  • Connect to GitHub (or BitBucket).
  • Share your repo in the discussions.

Using CrossPlatformInputManager

  • What is CrossPlatformInputManager.
  • How a virtual control layer works.
  • Setting-up and reading control values.

Using Analog Gamepad (Optional)

  • About using gamepad input.
  • Setting up a PS4 controller on a Mac.
  • Using an Xbox controller on a PC.
  • Using the input gravity setting.
  • Other input settings such as sensitivity.

Using The RollerBall Prefab

  • Import the Characters standard asset pack.
  • Use the RollerBall prefab game object.
  • Using physics freeze position constraints.
  • Explore the control options.

Designing A Replay System

  • An overview of replay systems.
  • Deterministic vs. non-deterministic replays.
  • An overview of how we will do things.
  • Introducing a circular (ring) buffer.
  • (No Unity project file changes in this video).

Class Vs Struct In C#

  • Why we’re not using Unity’s Keyframe struct
  • Comparing classes and structs as options.
  • Creating our own MyKeyframe struct.

Creating A Replay System

  • An overview of our replay system code.
  • Implementing a ring buffer for frames.
  • Testing our record and playback.

Building A Game Manager

  • Create a simple Game Manager.
  • Use it to keep track of recording / playback.
  • Wire it to the ReplaySystem.cs script.
  • Test playback.

Touchscreen Joystick Control

  • Using the MobileSingleStickControl prefab.
  • Creating a button to trigger the replay.
  • A little more about UI anchors.
  • Building to Android & testing performance.

Level Unlocks In Unity

  • Dig-up your old PlayerPrefsManager
  • Add code to handle level unlocks.
  • Create a simple proof of concept.

Pausing Your Game

  • See one way of pausing your game in Unity.
  • Look at OnApplicationPause message.
  • Understand Time.timeScale better.

Reading From 2nd Stick

  • Reading from 3rd and 4th joystick axis.
  • Import & explore “selfie stick” prefab.
  • Write code to make camera track player.
  • Write code to make right stick orbit the camera.
  • Test it’s all working.

2.5d_control-game's People

Contributors

rjvv avatar

Watchers

James Cloos 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.