Ensure you use Unity 2020.3.24f1(or similar versions)
File structure:
BayatGames: (can be removed once we have all our art) default package with all the art used in the game currently
Materials: physical properties of an object e.g. slippery, ouch(spikes having bounciness)
Models: All the default art packages / animations that we are using. Should not contain any game objects or colliders.
Photon: photon library for networking (do not touch)
Plugins: (do not touch)
Prefabs: Game Objects to be duplicated in the game. Should have scripts and colliders attached (can drag and drop public / serialized fields
Resources: Only PUN related, used for spawning in the network (e.g. having multiple views for each player)
Scenes: Loading Screen, Winning Screen, levels in games etc. Best to seperate it out instead of making the scenes together
Scripts:
Activator: in charge of the activation of button and mover
ButtonMover: attached to button for activating mover
Mover: attached to mover to move object
ConnectToServer: contact point for connecting to PUN
CreateAndJoinLobby: for creating nickname, naming of lobbies
GameManager: main manager of the game state that is global (static) - should only be attached to sync (currently not)
isWalking: animation-related
NextLevel: attached to goal, procedes to next level
PlayerController: player movements, key bindings etc.
Spawner: starts when a player joins the lobby, different for each player (PUN-related)
Things to do (every time you start working on an issue):
Assign yourselves to issues you can fix
Pull the latest version
Create your own branch and specify what you doing e.g. leeroy/changeUI
Make your changes
Commit changes with action verbs in front (present tense) e.g. Add sprite, Update movements
Push changes and create pull request specifying what you changed
Tag your issue number e.g. #1
If there are any duplicates, mark as "Duplicate of #?"
Notes: You have to test the game from Loading scene, if not PUN wont work.
You can also move your character around during play mode by dragging around in the Scene
Ensure you use Unity 2020.3.24f1(or similar versions)
File structure:
Things to do (every time you start working on an issue):
Notes: You have to test the game from Loading scene, if not PUN wont work. You can also move your character around during play mode by dragging around in the Scene