浏览代码

Merge branch 'main' into art-assets

/main
Llaczky 4 年前
当前提交
a05af5c2
共有 5 个文件被更改,包括 35 次插入12 次删除
  1. 15
      README.md
  2. 4
      UOP1_Project/Assets/Art/Props/Boat/Boat.FBX.meta
  3. 21
      UOP1_Project/Assets/Prefabs/Props/Boat.prefab
  4. 4
      UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/AscendActionSO.cs
  5. 3
      UOP1_Project/Assets/Scripts/SceneManagement/EditorInitialisationLoader.cs

15
README.md


The first game, which is currently under development, is an action-adventure titled _Chop Chop_ ([more info](https://open.codecks.io/unity-open-project-1/decks/32/card/126-what-is-this)).
![OP1 WIP Screenshot](https://imgur.com/eK7l8TG.png)
_A work in progress screenshot of the main character_
![OP1 WIP Screenshot](https://imgur.com/033Ucqz.png)
_A work in progress screenshot
## Follow the progress
✍🏻 The [dedicated sub-forum](https://forum.unity.com/forums/open-projects.531/) on the Unity forums is where the Unity team and the whole community discuss and brainstorm ideas.

## Contribute
We would love to get your contributions into the game! Whether you create code, art, narrative, sounds; whether you feel you are experienced enough or not; there is probably something you can add to it.
We would love to get your contributions into the game! Whether you create code, art, narrative, sounds; whether you feel you are experienced enough or not; there is probably [something](https://open.codecks.io/unity-open-project-1) you can add to it.
To learn all about contributing, head to the [Contribution Guidelines](https://docs.google.com/document/d/1PwBF4yQl69RxvVHZ2m2iiy5pYjd9QO-VcuXWDjB7QwA/edit#). For code style, scene hierarchy, and project organisation standards, read the [Conventions](https://docs.google.com/document/d/1-eUWZ0lWREFu5iH-ggofwnixDDQqalOoT4Yc0NpWR3k/edit) document.
⚠ Please **read the [forums](https://forum.unity.com/forums/open-projects.531/) and check the [roadmap](https://open.codecks.io/unity-open-project-1) before starting to work on big contributions!**
To learn all about contributing, we have [a series of short videos
🎬](https://www.youtube.com/watch?v=RbSrx0QoTG4&list=PLZplUm29-Z-xOYY9Tw6t3tSIvlbhVhzUn) to get you started with Git and with this project in general.
In addition to that, make sure you read the [📃 Contribution Guidelines](https://docs.google.com/document/d/1PwBF4yQl69RxvVHZ2m2iiy5pYjd9QO-VcuXWDjB7QwA/edit#). For code style, scene hierarchy, and project organisation standards, read the [📃 Conventions](https://docs.google.com/document/d/1-eUWZ0lWREFu5iH-ggofwnixDDQqalOoT4Yc0NpWR3k/edit) document. And for art contributions, we have the [📃 Art Guidelines](https://docs.google.com/document/d/1nP17PV9d3OdOOOq0ueaRg5LdhkCbDkanCBvQKWegauw/edit#).
⚠ Please **post on the [forums](https://forum.unity.com/forums/open-projects.531/) and check the [roadmap](https://open.codecks.io/unity-open-project-1) before starting to work on big contributions!**
![OP1 WIP Screenshot](https://imgur.com/eK7l8TG.png)
_A work in progress screenshot of the main character_
## Play the game
Just want to try the game out? Head to the [release page](https://github.com/UnityTechnologies/open-project-1/releases) and grab the latest version.

4
UOP1_Project/Assets/Art/Props/Boat/Boat.FBX.meta


globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 1
hasExtraRoot: 0
animationType: 0
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
additionalBone: 0

21
UOP1_Project/Assets/Prefabs/Props/Boat.prefab


- target: {fileID: -8679921383154817045, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}
propertyPath: m_LocalPosition.x
value: -15.18
value: 0
value: 16.46
value: 0
value: 29.65
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: fd5a3a6ab87b35247a36016573eb6a71, type: 2}
- target: {fileID: -6763744868875059711, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}
propertyPath: m_LocalRotation.x

propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: fd5a3a6ab87b35247a36016573eb6a71, type: 2}
- target: {fileID: 4033887618262999257, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: fd5a3a6ab87b35247a36016573eb6a71, type: 2}
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: fd5a3a6ab87b35247a36016573eb6a71, type: 2}
- target: {fileID: 8527266879734532673, guid: ca59427d5deb3374287c9c7a2279f768,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:

4
UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/AscendActionSO.cs


private float _verticalMovement;
private float _gravityContributionMultiplier;
private float _initialJumpForce;
private const float GRAVITY_COMEBACK_MULTIPLIER = 15f;
private const float GRAVITY_COMEBACK_MULTIPLIER = .03f;
private const float GRAVITY_DIVIDER = .6f;
private const float GRAVITY_MULTIPLIER = 5f;

public override void OnUpdate()
{
_gravityContributionMultiplier += Time.deltaTime * GRAVITY_COMEBACK_MULTIPLIER;
_gravityContributionMultiplier += GRAVITY_COMEBACK_MULTIPLIER;
_gravityContributionMultiplier *= GRAVITY_DIVIDER; //Reduce the gravity effect
_verticalMovement += Physics.gravity.y * GRAVITY_MULTIPLIER * Time.deltaTime * _gravityContributionMultiplier;
//Note that even if it's added, the above value is negative due to Physics.gravity.y

3
UOP1_Project/Assets/Scripts/SceneManagement/EditorInitialisationLoader.cs


{
#if UNITY_EDITOR
public GameSceneSO initializationScene;
public int targetFramerate = 0; // For debugging purposes
Application.targetFrameRate = targetFramerate; // For debugging purposes
for (int i = 0; i < SceneManager.sceneCount; ++i)
{
Scene scene = SceneManager.GetSceneAt(i);

正在加载...
取消
保存