Skip to content

Commit

Permalink
fix: lack of font
Browse files Browse the repository at this point in the history
feat: complement the readme and the gif showcase
  • Loading branch information
lywedo committed Nov 5, 2023
1 parent 8baddf8 commit bc5df80
Show file tree
Hide file tree
Showing 10 changed files with 171 additions and 6 deletions.
147 changes: 142 additions & 5 deletions Assets/Scenes/Init.unity
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1}
m_IndirectSpecularColor: {r: 0.3731193, g: 0.38073996, b: 0.35872698, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
Expand Down Expand Up @@ -315,7 +315,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
Expand Down Expand Up @@ -544,14 +544,86 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 18665404886780757, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 108
objectReference: {fileID: 0}
- target: {fileID: 504359811066860574, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 87
objectReference: {fileID: 0}
- target: {fileID: 695681848991155020, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 89
objectReference: {fileID: 0}
- target: {fileID: 823984405946568002, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 81
objectReference: {fileID: 0}
- target: {fileID: 835975281534223074, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 107
objectReference: {fileID: 0}
- target: {fileID: 1068805958590188527, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 102
objectReference: {fileID: 0}
- target: {fileID: 1542979163988249143, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 98
objectReference: {fileID: 0}
- target: {fileID: 1661127268375325994, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1757134924651052438, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 83
objectReference: {fileID: 0}
- target: {fileID: 2172381969346135807, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 91
objectReference: {fileID: 0}
- target: {fileID: 2646937629154966789, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 111
objectReference: {fileID: 0}
- target: {fileID: 2883372328459414653, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 93
objectReference: {fileID: 0}
- target: {fileID: 2911554672409652221, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 109
objectReference: {fileID: 0}
- target: {fileID: 2976077499078710569, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 99
objectReference: {fileID: 0}
- target: {fileID: 3121957057778658340, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 110
objectReference: {fileID: 0}
- target: {fileID: 3262722559245602254, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 97
objectReference: {fileID: 0}
- target: {fileID: 3439841158989496503, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 94
objectReference: {fileID: 0}
- target: {fileID: 3593374816969602095, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 101
objectReference: {fileID: 0}
- target: {fileID: 4110176156588415264, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_Text
value:
objectReference: {fileID: 0}
- target: {fileID: 4390659891732531658, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 92
objectReference: {fileID: 0}
- target: {fileID: 4530210931540882874, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_Name
value: CloudRoot
Expand Down Expand Up @@ -600,6 +672,70 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4634975589313779810, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 106
objectReference: {fileID: 0}
- target: {fileID: 4930875226605194668, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 103
objectReference: {fileID: 0}
- target: {fileID: 5222732756661750130, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 104
objectReference: {fileID: 0}
- target: {fileID: 5924805394959852170, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 84
objectReference: {fileID: 0}
- target: {fileID: 6198325336168047896, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 79
objectReference: {fileID: 0}
- target: {fileID: 6217008705994239141, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 78
objectReference: {fileID: 0}
- target: {fileID: 6616420275412716675, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 88
objectReference: {fileID: 0}
- target: {fileID: 6786224634993472514, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 85
objectReference: {fileID: 0}
- target: {fileID: 7632102915427526658, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 100
objectReference: {fileID: 0}
- target: {fileID: 7724327841889074093, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 86
objectReference: {fileID: 0}
- target: {fileID: 8100934782216388511, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 82
objectReference: {fileID: 0}
- target: {fileID: 8248494320165470045, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 105
objectReference: {fileID: 0}
- target: {fileID: 8376539947254508298, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 90
objectReference: {fileID: 0}
- target: {fileID: 8588381751901491083, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 96
objectReference: {fileID: 0}
- target: {fileID: 8669851343908388161, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 95
objectReference: {fileID: 0}
- target: {fileID: 9183406256337988443, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
propertyPath: m_RootOrder
value: 80
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3b25afe4b4fcf474693dda7992e4f8f3, type: 3}
--- !u!1 &612852224
Expand Down Expand Up @@ -737,7 +873,7 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: 553a5b8a088e7f14bbf4cfff409ca8d6, type: 3}
m_FontSize: 145
m_FontStyle: 1
m_BestFit: 0
Expand Down Expand Up @@ -950,7 +1086,7 @@ MonoBehaviour:
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
Expand Down Expand Up @@ -1179,7 +1315,7 @@ MonoBehaviour:
m_PersistentCalls:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_Font: {fileID: 12800000, guid: 553a5b8a088e7f14bbf4cfff409ca8d6, type: 3}
m_FontSize: 145
m_FontStyle: 1
m_BestFit: 0
Expand Down Expand Up @@ -1463,6 +1599,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SendPointerHoverToParent: 1
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
Expand Down
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,30 @@
# Carbon
this is an education game, teach people how to save energy and decrease carbon emission
This is an education game, teach people how to save energy and decrease carbon emission

## This is the whole gamplay procedure. It is a farm-like game.

![Effect 0](/ReadmeSource/gameplay.gif)

## Step 1
### There are two buttons in the screen. The first is main entry, and it shows the intranet ip address of this device. the game can receive http message from other device in the same intranet, so it shows the ip to inform that. The second button is cache cleaning, cause the game will record the game progress locally, so you may find the farms built by previous rounds, so it offers the button to clean them.
![Effect 0](/ReadmeSource/ip_cache.gif)

## Step 2
### You can use the progress bar in the right side to scale the world and drag the map.
![Effect 0](/ReadmeSource/scale_drag.gif)

## Step 3
### This is the main procedure. Choice a farm and drag stuff to it. The energy maximent is 2000, otherwise every stuff costs energy.
![Effect 0](/ReadmeSource/build.gif)

## Step 4
### The yellow button is for recycling stuff to return enengy.
![Effect 0](/ReadmeSource/recycle.gif)

## Step 5
### There used to be an additional function here. After you click the generation button, the game will take a screen shot, then upload it to a cloud server, and it will response a picture uri. When the game receive it, the game translate the url to show a qrcode on the screen.
![Effect 0](/ReadmeSource/upload.gif)

## Step 6
### Back to the main screen, there will be empty farms around the built farm.
![Effect 0](/ReadmeSource/replay.gif)
Binary file added ReadmeSource/build.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/capture.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/gameplay.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/ip_cache.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/recycle.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/replay.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/scale_drag.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ReadmeSource/upload.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bc5df80

Please sign in to comment.