Coder Social home page Coder Social logo

ggj2021's Introduction

UNITY VERSION 2020.2.2f1 Instructions

The project contains the standard assets. Use the folder provided to add to the game

Game Build Auto resizes to 480 270

Under 0_Game/Screens

-North Screen -South Screen -West Screen -East Screen

HOW TO USE VARIABLES:

  1. Create a variable in the project view via right click Create -> Game -> Game Variable For organization Sake move variable to this folder Assets/0_Game/GameVariables

  2. In Scene Add Variable to the Game Variables Game Object

  3. You use the Toggle Game Variable Component to manipulate the variable Drag your variable scriptable object to the slot that says Ref Variable on the Toggle Game Variable Component Use the Method 'Change State' to toggle the variable on and off Use 'Hide World Object' to deactive the gameobject with the toggle game variable Component

Important: Don't rename/delete variables you didn't create

Example Scene :

Go to scene at "Assets/0_Game/Screens/SouthScreen/southscreen.unity" Find the Game Variables Game Object it has a Game Var Dictionary Here add the variables the you'll use in the scene This one has 'gotFrequency' in the variable list. Next go to the "clue1_frequencyCode" game object scroll its components until you find the Toggle Game Variable, in its reference it has 'gotFrequency'

When adding a Game Variable you must also label it with a 'GameVariable' Label found at the lower right corner of the inspector when you click on a game variable asset.

Beforing testin make sure to build the variables via the menu item Tool/Build Variables while in the GameGlue scene

How you develop the logic depends on you, but the game variables will be used to know what point of the game the player is in.

When updating a game screen, tag the gameobjects you want to appear in the scene with "rule" then hit the menu item Tools/Screenify

ggj2021's People

Contributors

vidsneezes avatar

Watchers

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