add weather entity
This commit is contained in:
parent
a4abfb6afb
commit
70c26df198
21
app/assets/weather/LICENSE
Normal file
21
app/assets/weather/LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020-2021 Bas Milius
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
45
app/assets/weather/README.md
Normal file
45
app/assets/weather/README.md
Normal file
|
@ -0,0 +1,45 @@
|
|||
<a href="https://bas.dev" target="_blank" rel="noopener">
|
||||
<img src="https://bas.dev/module/@bas/website/resource/image/logo.svg" alt="Bas Milius Logo" height="60" width="60" />
|
||||
</a>
|
||||
|
||||
---
|
||||
|
||||
# Meteocons
|
||||
Free to use animated SVG weather icons. Handcrafted by [Bas Milius](https://bas.dev).
|
||||
|
||||
## 👀 Preview
|
||||
- **Filled icons**: https://basmilius.github.io/weather-icons/index-fill.html
|
||||
- **Outlined icons**: https://basmilius.github.io/weather-icons/index.html
|
||||
|
||||
### ⚒ Process
|
||||
- An icon is designed in Adobe Illustrator.
|
||||
- Icons are exported to plain SVG files.
|
||||
- Animations are added by editing SVG files.
|
||||
- A node.js script minifies the SVG's.
|
||||
|
||||
### 🎨 Design files
|
||||
This repository not only contains the production-ready files, but also the original design
|
||||
files. You may use these files to adjust icons or even create new ones. The design files
|
||||
are Adobe Illustrator .ai-files.
|
||||
|
||||
### 🌥 Missing an icon?
|
||||
Please let me know by creating an issue. Keep in mind that I only accept icons that are
|
||||
somewhat weather related.
|
||||
|
||||
---
|
||||
|
||||
<p float="left">
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/fill/clear-day.svg" alt="Partly Cloudy Day" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/fill/partly-cloudy-day.svg" alt="Partly Cloudy Day" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/fill/rain.svg" alt="Rain" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/fill/tornado.svg" alt="Tornado" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/fill/clear-night.svg" alt="Clear Night" height="48"/>
|
||||
</p>
|
||||
|
||||
<p float="left">
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/line/clear-day.svg" alt="Partly Cloudy Day" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/line/partly-cloudy-day.svg" alt="Partly Cloudy Day" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/line/rain.svg" alt="Rain" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/line/tornado.svg" alt="Tornado" height="48"/>
|
||||
<img src="https://bmcdn.nl/assets/weather-icons/v2.0/line/clear-night.svg" alt="Clear Night" height="48"/>
|
||||
</p>
|
1
app/assets/weather/lottie/clear-day.json
Normal file
1
app/assets/weather/lottie/clear-day.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Clear day - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"clear-day","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"rays","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":359,"s":[45]}],"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[180,0],[130.345,0]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-130.345,0],[-180,0]],"c":false},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[127.279,127.279],[92.168,92.168]],"c":false},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-92.168,-92.168],[-127.279,-127.279]],"c":false},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ind":4,"ty":"sh","ix":5,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-127.279,127.279],[-92.168,92.168]],"c":false},"ix":2},"nm":"Path 5","mn":"ADBE Vector Shape - Group","hd":false},{"ind":5,"ty":"sh","ix":6,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[92.168,-92.168],[127.279,-127.279]],"c":false},"ix":2},"nm":"Path 6","mn":"ADBE Vector Shape - Group","hd":false},{"ind":6,"ty":"sh","ix":7,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0,180],[0,130.345]],"c":false},"ix":2},"nm":"Path 7","mn":"ADBE Vector Shape - Group","hd":false},{"ind":7,"ty":"sh","ix":8,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0,-130.345],[0,-180]],"c":false},"ix":2},"nm":"Path 8","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.984313726425,0.749019622803,0.141176477075,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":24,"ix":5},"lc":2,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"core","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-46.392],[46.392,0],[0,46.392],[-46.392,0]],"o":[[0,46.392],[-46.392,0],[0,-46.392],[46.392,0]],"v":[[84,0],[0,84],[-84,0],[0,-84]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.972549021244,0.686274528503,0.0941176489,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.984,0.749,0.141,0.225,0.984,0.749,0.141,0.45,0.984,0.749,0.141,0.725,0.973,0.684,0.092,1,0.961,0.62,0.043],"ix":9}},"s":{"a":0,"k":[-41.517,-71.871],"ix":5},"e":{"a":0,"k":[42.497,73.645],"ix":6},"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/clear-day.png
Normal file
3
app/assets/weather/lottie/clear-day.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f64aaa065a58378b86a32d03e0ae4d4a41bd3d36005ad0c17744b197ab2f73db
|
||||
size 8415208
|
36
app/assets/weather/lottie/clear-day.png.import
Normal file
36
app/assets/weather/lottie/clear-day.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://caqghtbin4b02"
|
||||
path.s3tc="res://.godot/imported/clear-day.png-897da93bef881f43a8c41a0ca503ab67.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/clear-day.png-897da93bef881f43a8c41a0ca503ab67.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/clear-day.png"
|
||||
dest_files=["res://.godot/imported/clear-day.png-897da93bef881f43a8c41a0ca503ab67.s3tc.ctex", "res://.godot/imported/clear-day.png-897da93bef881f43a8c41a0ca503ab67.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/clear-night.json
Normal file
1
app/assets/weather/lottie/clear-night.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Clear night - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"clear-night","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"moon","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[-15]},{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":180,"s":[9]},{"t":359,"s":[-15]}],"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[4.989,0],[0,73.133],[-2.789,10.632],[0,-68.211],[-74.124,0],[-14.959,57.027]],"o":[[-74.124,0],[0,-11.492],[-67.179,7.251],[0,73.133],[62.476,0],[-4.848,0.523]],"v":[[117.254,33.632],[-16.96,-98.787],[-12.532,-132],[-132,-0.419],[2.214,132],[132,32.794]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.447058826685,0.72549021244,0.835294127464,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":2,"lj":2,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.525,0.765,0.859,0.225,0.525,0.765,0.859,0.45,0.525,0.765,0.859,0.725,0.447,0.725,0.835,1,0.369,0.686,0.812],"ix":9}},"s":{"a":0,"k":[-80.517,-105.871],"ix":5},"e":{"a":0,"k":[52.333,124.231],"ix":6},"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false},{"ty":"tr","p":{"a":0,"k":[0,0],"ix":2},"a":{"a":0,"k":[0,0],"ix":1},"s":{"a":0,"k":[100,100],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"Group 1","np":3,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/clear-night.png
Normal file
3
app/assets/weather/lottie/clear-night.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e5e2ce82a894325c1b3ebde265517116d9eb714e5dd489a1166ff2a2e023736c
|
||||
size 4687226
|
36
app/assets/weather/lottie/clear-night.png.import
Normal file
36
app/assets/weather/lottie/clear-night.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://h1cl8ixk3d7p"
|
||||
path.s3tc="res://.godot/imported/clear-night.png-68c3a0f566be1a5917c737c10e866ce4.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/clear-night.png-68c3a0f566be1a5917c737c10e866ce4.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/clear-night.png"
|
||||
dest_files=["res://.godot/imported/clear-night.png-68c3a0f566be1a5917c737c10e866ce4.s3tc.ctex", "res://.godot/imported/clear-night.png-68c3a0f566be1a5917c737c10e866ce4.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/code-red.json
Normal file
1
app/assets/weather/lottie/code-red.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Code red - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"code-red","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"alert","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ty":"gr","it":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[2.006,-1.721],[5.386,0],[0,0],[2.006,1.73],[0,4.635],[0,0],[-2.001,1.729],[-5.386,0],[0,0],[-2.006,-1.729],[0,-4.644]],"o":[[0,4.635],[-2.006,1.73],[0,0],[-5.386,0],[-2.001,-1.721],[0,0],[0,-4.644],[2.006,-1.729],[0,0],[5.386,0],[2.006,1.729],[0,0]],"v":[[16.053,68.211],[13.049,77.755],[1.97,80.354],[-1.97,80.354],[-13.049,77.755],[-16.053,68.211],[-16.053,65.296],[-13.049,55.744],[-1.97,53.154],[1.97,53.154],[13.049,55.744],[16.053,65.296]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[-0.998,0.86],[-2.627,0],[0,0],[-1.069,-0.869],[0.122,-2.265],[0,0],[0.937,-0.808],[2.627,0],[0,0],[0.947,0.808],[0.127,2.265],[0,0]],"o":[[1.003,-0.869],[0,0],[2.627,0],[1.059,0.86],[0,0],[-0.122,2.265],[-0.937,0.808],[0,0],[-2.627,0],[-0.937,-0.808],[0,0],[-0.122,-2.265]],"v":[[-13.049,-39.436],[-7.601,-40.736],[7.795,-40.736],[13.334,-39.436],[14.739,-34.748],[11.735,37.131],[10.137,41.741],[4.791,42.952],[-4.598,42.952],[-9.954,41.741],[-11.547,37.131],[-14.363,-34.748]],"c":true},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"tr","p":{"a":0,"k":[0,19.809],"ix":2},"a":{"a":0,"k":[0,19.809],"ix":1},"s":{"a":1,"k":[{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":0,"s":[100,100]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":60,"s":[110,110]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":120,"s":[100,100]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":180,"s":[110,110]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":240,"s":[100,100]},{"i":{"x":[0.667,0.667],"y":[1,1]},"o":{"x":[0.333,0.333],"y":[0,0]},"t":300,"s":[110,110]},{"t":359,"s":[100,100]}],"ix":3},"r":{"a":0,"k":0,"ix":6},"o":{"a":0,"k":100,"ix":7},"sk":{"a":0,"k":0,"ix":4},"sa":{"a":0,"k":0,"ix":5},"nm":"Transform"}],"nm":"exclamation","np":2,"cix":2,"bm":0,"ix":1,"mn":"ADBE Vector Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[8.765,16.163],[0,0],[0,0],[9.14,-16.854],[0,0],[0,0],[-18.305,0],[0,0],[0,0]],"o":[[0,0],[0,0],[-9.14,-16.854],[0,0],[0,0],[-8.765,16.163],[0,0],[0,0],[18.305,0]],"v":[[125.021,84.131],[72.237,-13.198],[21.171,-107.36],[-21.171,-107.36],[-72.237,-13.198],[-125.021,84.131],[-103.851,120],[0,120],[103.851,120]],"c":true},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.937254905701,0.266666680574,0.266666680574,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.973,0.443,0.443,0.225,0.973,0.443,0.443,0.45,0.973,0.443,0.443,0.725,0.918,0.296,0.296,1,0.863,0.149,0.149],"ix":9}},"s":{"a":0,"k":[-93,-71],"ix":5},"e":{"a":0,"k":[40.138,159.601],"ix":6},"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/code-red.png
Normal file
3
app/assets/weather/lottie/code-red.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:501cb88fb52a4139359720ad3c47035a9bc60ffa9a3879e8f04892338a5660dc
|
||||
size 17893
|
36
app/assets/weather/lottie/code-red.png.import
Normal file
36
app/assets/weather/lottie/code-red.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bn4tjmnvn16k2"
|
||||
path.s3tc="res://.godot/imported/code-red.png-def0cc292a7732869f9baa9be8fbb141.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/code-red.png-def0cc292a7732869f9baa9be8fbb141.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/code-red.png"
|
||||
dest_files=["res://.godot/imported/code-red.png-def0cc292a7732869f9baa9be8fbb141.s3tc.ctex", "res://.godot/imported/code-red.png-def0cc292a7732869f9baa9be8fbb141.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/drizzle.json
Normal file
1
app/assets/weather/lottie/drizzle.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/drizzle.png
Normal file
3
app/assets/weather/lottie/drizzle.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:031f06b4e08bb6e504a2b9e70384c246493282e7a5be0038ead4cbf49f881091
|
||||
size 1813221
|
36
app/assets/weather/lottie/drizzle.png.import
Normal file
36
app/assets/weather/lottie/drizzle.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ca1dib2528x55"
|
||||
path.s3tc="res://.godot/imported/drizzle.png-0602526ae91e60ab03612554192e30ab.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/drizzle.png-0602526ae91e60ab03612554192e30ab.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/drizzle.png"
|
||||
dest_files=["res://.godot/imported/drizzle.png-0602526ae91e60ab03612554192e30ab.s3tc.ctex", "res://.godot/imported/drizzle.png-0602526ae91e60ab03612554192e30ab.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/fog.json
Normal file
1
app/assets/weather/lottie/fog.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Fog - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"fog","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"fog-2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[232,414,0],"to":[8,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":180,"s":[280,414,0],"to":[0,0,0],"ti":[8,0,0]},{"t":359,"s":[232,414,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-120,0],[120,0]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":24,"ix":10},"g":{"p":5,"k":{"a":0,"k":[0,0.831,0.843,0.867,0.225,0.831,0.843,0.867,0.45,0.831,0.843,0.867,0.725,0.788,0.8,0.822,1,0.745,0.757,0.776],"ix":8}},"s":{"a":0,"k":[-37,-63],"ix":4},"e":{"a":0,"k":[35,61.708],"ix":5},"t":1,"lc":2,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"fog-1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":1,"k":[{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":0,"s":[280,462,0],"to":[-8,0,0],"ti":[0,0,0]},{"i":{"x":0.833,"y":0.833},"o":{"x":0.167,"y":0.167},"t":180,"s":[232,462,0],"to":[0,0,0],"ti":[-8,0,0]},{"t":359,"s":[280,462,0]}],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-120,0],[120,0]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":24,"ix":10},"g":{"p":5,"k":{"a":0,"k":[0,0.831,0.843,0.867,0.225,0.831,0.843,0.867,0.45,0.831,0.843,0.867,0.725,0.788,0.8,0.822,1,0.745,0.757,0.776],"ix":8}},"s":{"a":0,"k":[-36,-63],"ix":4},"e":{"a":0,"k":[36,61.708],"ix":5},"t":1,"lc":2,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":13},"bm":0,"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"cloud","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[30.928,0],[0.844,-0.038],[0,6.951],[46.392,0],[14.803,-23.924],[10.461,0],[0,-30.928],[-0.484,-2.963],[0,-29.306],[-33.137,0],[-1.328,0.088],[0,0],[0,0],[0,30.928]],"o":[[-0.854,0],[1.592,-6.459],[0,-46.392],[-30.201,0],[-8.378,-4.994],[-30.928,0],[0,3.1],[-27.779,5.25],[0,33.137],[1.351,0],[0,0],[0,0],[30.928,0],[0,-30.928]],"v":[[116,-4],[113.471,-3.873],[116,-24],[32,-108],[-39.404,-68.085],[-68,-76],[-124,-20],[-123.199,-10.917],[-172,48],[-112,108],[-108,107.798],[-108,108],[116,108],[172,52]],"c":true},"ix":2},"nm":"cloud-path","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.901960790157,0.937254905701,0.988235294819,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"cloud-stroke","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.953,0.969,0.996,0.225,0.953,0.969,0.996,0.45,0.953,0.969,0.996,0.725,0.912,0.943,0.99,1,0.871,0.918,0.984],"ix":9}},"s":{"a":0,"k":[-76,-81],"ix":5},"e":{"a":0,"k":[57.186,149.685],"ix":6},"t":1,"nm":"cloud-fill","mn":"ADBE Vector Graphic - G-Fill","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/fog.png
Normal file
3
app/assets/weather/lottie/fog.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:129b3a182a39806539d5c7c0b5a3bc76db0d4fbf607ed637a84c07235dcf42ed
|
||||
size 2230029
|
36
app/assets/weather/lottie/fog.png.import
Normal file
36
app/assets/weather/lottie/fog.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b8ts1h5ketlht"
|
||||
path.s3tc="res://.godot/imported/fog.png-c36dcc04f66f40bced10e5447935fd18.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/fog.png-c36dcc04f66f40bced10e5447935fd18.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/fog.png"
|
||||
dest_files=["res://.godot/imported/fog.png-c36dcc04f66f40bced10e5447935fd18.s3tc.ctex", "res://.godot/imported/fog.png-c36dcc04f66f40bced10e5447935fd18.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/hail.json
Normal file
1
app/assets/weather/lottie/hail.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/hail.png
Normal file
3
app/assets/weather/lottie/hail.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c093ad828d221d3a50f9687f10ded2180659025804bc846edaeb9d45287e47e
|
||||
size 2268713
|
36
app/assets/weather/lottie/hail.png.import
Normal file
36
app/assets/weather/lottie/hail.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://h0fri4qxts8a"
|
||||
path.s3tc="res://.godot/imported/hail.png-222af7b4d000e797adec5dba203e1b35.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/hail.png-222af7b4d000e797adec5dba203e1b35.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/hail.png"
|
||||
dest_files=["res://.godot/imported/hail.png-222af7b4d000e797adec5dba203e1b35.s3tc.ctex", "res://.godot/imported/hail.png-222af7b4d000e797adec5dba203e1b35.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/partly-cloudy-day.json
Normal file
1
app/assets/weather/lottie/partly-cloudy-day.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Partly cloudy day - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"partly-cloudy-day","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"cloud","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[260,256,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[30.928,0],[0.844,-0.038],[0,6.951],[46.392,0],[14.803,-23.924],[10.461,0],[0,-30.928],[-0.484,-2.963],[0,-29.306],[-33.137,0],[-1.328,0.088],[0,0],[0,0],[0,30.928]],"o":[[-0.854,0],[1.592,-6.459],[0,-46.392],[-30.201,0],[-8.378,-4.994],[-30.928,0],[0,3.1],[-27.779,5.25],[0,33.137],[1.351,0],[0,0],[0,0],[30.928,0],[0,-30.928]],"v":[[116,-4],[113.471,-3.873],[116,-24],[32,-108],[-39.404,-68.085],[-68,-76],[-124,-20],[-123.199,-10.917],[-172,48],[-112,108],[-108,107.798],[-108,108],[116,108],[172,52]],"c":true},"ix":2},"nm":"cloud-path","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.901960790157,0.937254905701,0.988235294819,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":6,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"cloud-stroke","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.953,0.969,0.996,0.225,0.953,0.969,0.996,0.45,0.953,0.969,0.996,0.725,0.912,0.943,0.99,1,0.871,0.918,0.984],"ix":9}},"s":{"a":0,"k":[-76,-81],"ix":5},"e":{"a":0,"k":[57.186,149.685],"ix":6},"t":1,"nm":"cloud-fill","mn":"ADBE Vector Graphic - G-Fill","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"sun-rays","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":359,"s":[45]}],"ix":10},"p":{"a":0,"k":[164,196,0],"ix":2},"a":{"a":0,"k":[-92,-60,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[0,-60],[-25.379,-60]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ind":1,"ty":"sh","ix":2,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-184,-60],[-158.621,-60]],"c":false},"ix":2},"nm":"Path 2","mn":"ADBE Vector Shape - Group","hd":false},{"ind":2,"ty":"sh","ix":3,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-26.946,5.054],[-44.892,-12.892]],"c":false},"ix":2},"nm":"Path 3","mn":"ADBE Vector Shape - Group","hd":false},{"ind":3,"ty":"sh","ix":4,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-139.108,-107.108],[-157.054,-125.054]],"c":false},"ix":2},"nm":"Path 4","mn":"ADBE Vector Shape - Group","hd":false},{"ind":4,"ty":"sh","ix":5,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-157.054,5.054],[-139.108,-12.892]],"c":false},"ix":2},"nm":"Path 5","mn":"ADBE Vector Shape - Group","hd":false},{"ind":5,"ty":"sh","ix":6,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-44.892,-107.108],[-26.946,-125.054]],"c":false},"ix":2},"nm":"Path 6","mn":"ADBE Vector Shape - Group","hd":false},{"ind":6,"ty":"sh","ix":7,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-92,32],[-92,6.621]],"c":false},"ix":2},"nm":"Path 7","mn":"ADBE Vector Shape - Group","hd":false},{"ind":7,"ty":"sh","ix":8,"ks":{"a":0,"k":{"i":[[0,0],[0,0]],"o":[[0,0],[0,0]],"v":[[-92,-126.621],[-92,-152]],"c":false},"ix":2},"nm":"Path 8","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.984313726425,0.749019622803,0.141176477075,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":12,"ix":5},"lc":2,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":3,"ty":4,"nm":"sun-core","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[164,196,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,-22.091],[22.091,0],[0,22.091],[-22.091,0]],"o":[[0,22.091],[-22.091,0],[0,-22.091],[22.091,0]],"v":[[40,0],[0,40],[-40,0],[0,-40]],"c":true},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"st","c":{"a":0,"k":[0.972549021244,0.686274528503,0.0941176489,1],"ix":3},"o":{"a":0,"k":100,"ix":4},"w":{"a":0,"k":4,"ix":5},"lc":1,"lj":1,"ml":10,"bm":0,"nm":"Stroke 1","mn":"ADBE Vector Graphic - Stroke","hd":false},{"ty":"gf","o":{"a":0,"k":100,"ix":10},"r":1,"bm":0,"g":{"p":5,"k":{"a":0,"k":[0,0.984,0.749,0.141,0.225,0.984,0.749,0.141,0.45,0.984,0.749,0.141,0.725,0.973,0.684,0.092,1,0.961,0.62,0.043],"ix":9}},"s":{"a":0,"k":[-21,-35],"ix":5},"e":{"a":0,"k":[19.007,34.294],"ix":6},"t":1,"nm":"Gradient Fill 1","mn":"ADBE Vector Graphic - G-Fill","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/partly-cloudy-day.png
Normal file
3
app/assets/weather/lottie/partly-cloudy-day.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b0547e255cdcd282bc701f3d221166b3a32d3942afd034a0294cc54e921ca41
|
||||
size 2530236
|
36
app/assets/weather/lottie/partly-cloudy-day.png.import
Normal file
36
app/assets/weather/lottie/partly-cloudy-day.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dhywsapaxilpx"
|
||||
path.s3tc="res://.godot/imported/partly-cloudy-day.png-a7bd1b8cf73af938c4268b04a4b8d511.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/partly-cloudy-day.png-a7bd1b8cf73af938c4268b04a4b8d511.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/partly-cloudy-day.png"
|
||||
dest_files=["res://.godot/imported/partly-cloudy-day.png-a7bd1b8cf73af938c4268b04a4b8d511.s3tc.ctex", "res://.godot/imported/partly-cloudy-day.png-a7bd1b8cf73af938c4268b04a4b8d511.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/rain.json
Normal file
1
app/assets/weather/lottie/rain.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/rain.png
Normal file
3
app/assets/weather/lottie/rain.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f09d56ae2904d8e147d8fba94ce4fec74ea4046a7162ec1a642bce10f8d88156
|
||||
size 2130787
|
36
app/assets/weather/lottie/rain.png.import
Normal file
36
app/assets/weather/lottie/rain.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cq0jaqjcgk08k"
|
||||
path.s3tc="res://.godot/imported/rain.png-7bd169559279b609ed3630d946e46d79.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/rain.png-7bd169559279b609ed3630d946e46d79.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/rain.png"
|
||||
dest_files=["res://.godot/imported/rain.png-7bd169559279b609ed3630d946e46d79.s3tc.ctex", "res://.godot/imported/rain.png-7bd169559279b609ed3630d946e46d79.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/sleet.json
Normal file
1
app/assets/weather/lottie/sleet.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/sleet.png
Normal file
3
app/assets/weather/lottie/sleet.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:241a7ba82b0907f983e11089f1d2972a65ea8d6bf49d29a721ef2357b443fdfc
|
||||
size 3686023
|
36
app/assets/weather/lottie/sleet.png.import
Normal file
36
app/assets/weather/lottie/sleet.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d1prruw0xu2s"
|
||||
path.s3tc="res://.godot/imported/sleet.png-f4fb36ed6cb108b37087243ee6448ec0.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/sleet.png-f4fb36ed6cb108b37087243ee6448ec0.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/sleet.png"
|
||||
dest_files=["res://.godot/imported/sleet.png-f4fb36ed6cb108b37087243ee6448ec0.s3tc.ctex", "res://.godot/imported/sleet.png-f4fb36ed6cb108b37087243ee6448ec0.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/snow.json
Normal file
1
app/assets/weather/lottie/snow.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/snow.png
Normal file
3
app/assets/weather/lottie/snow.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bab4c24eb2fea5a004e9842b8119ab5c0b7b16775654cdf80d7284b347939f35
|
||||
size 3415028
|
36
app/assets/weather/lottie/snow.png.import
Normal file
36
app/assets/weather/lottie/snow.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b1wdvmakl8ed"
|
||||
path.s3tc="res://.godot/imported/snow.png-d30462d37eb5b796a6e94543c3ebf887.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/snow.png-d30462d37eb5b796a6e94543c3ebf887.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/snow.png"
|
||||
dest_files=["res://.godot/imported/snow.png-d30462d37eb5b796a6e94543c3ebf887.s3tc.ctex", "res://.godot/imported/snow.png-d30462d37eb5b796a6e94543c3ebf887.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/thunderstorms-rain.json
Normal file
1
app/assets/weather/lottie/thunderstorms-rain.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/thunderstorms-rain.png
Normal file
3
app/assets/weather/lottie/thunderstorms-rain.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b11a8daa0daef3179b75b4cd4e0fbcb6bf4a7e004f2c83a137871ec60a77a0f
|
||||
size 2838727
|
36
app/assets/weather/lottie/thunderstorms-rain.png.import
Normal file
36
app/assets/weather/lottie/thunderstorms-rain.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dnbddauwthelo"
|
||||
path.s3tc="res://.godot/imported/thunderstorms-rain.png-624361fb29d6bab73110309914fb5257.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/thunderstorms-rain.png-624361fb29d6bab73110309914fb5257.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/thunderstorms-rain.png"
|
||||
dest_files=["res://.godot/imported/thunderstorms-rain.png-624361fb29d6bab73110309914fb5257.s3tc.ctex", "res://.godot/imported/thunderstorms-rain.png-624361fb29d6bab73110309914fb5257.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/thunderstorms.json
Normal file
1
app/assets/weather/lottie/thunderstorms.json
Normal file
File diff suppressed because one or more lines are too long
3
app/assets/weather/lottie/thunderstorms.png
Normal file
3
app/assets/weather/lottie/thunderstorms.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce1f25ff739e2d2d0a4be6ab3937663705e8f4d0ab78f0f87c2ff550838cd82a
|
||||
size 2213098
|
36
app/assets/weather/lottie/thunderstorms.png.import
Normal file
36
app/assets/weather/lottie/thunderstorms.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bfxn87eutro1s"
|
||||
path.s3tc="res://.godot/imported/thunderstorms.png-92d609060e6780ab8dc93938c3e8ba95.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/thunderstorms.png-92d609060e6780ab8dc93938c3e8ba95.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/thunderstorms.png"
|
||||
dest_files=["res://.godot/imported/thunderstorms.png-92d609060e6780ab8dc93938c3e8ba95.s3tc.ctex", "res://.godot/imported/thunderstorms.png-92d609060e6780ab8dc93938c3e8ba95.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
1
app/assets/weather/lottie/wind.json
Normal file
1
app/assets/weather/lottie/wind.json
Normal file
|
@ -0,0 +1 @@
|
|||
{"v":"4.8.0","meta":{"g":"LottieFiles AE 1.0.0","a":"Bas Milius","k":"Meteocons, Weather icons, Icon set","d":"Wind - Meteocons.com","tc":""},"fr":60,"ip":0,"op":360,"w":512,"h":512,"nm":"wind","ddd":0,"assets":[],"layers":[{"ddd":0,"ind":1,"ty":4,"nm":"blow-2","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[198,324,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-11.333,0],[0,22.091],[22.091,0],[0,0],[0,0]],"o":[[7.278,7.573],[22.091,0],[0,-22.091],[0,0],[0,0],[0,0]],"v":[[35.157,27.714],[64,40],[104,0],[64,-40],[44,-40],[-104,-40]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":24,"ix":10},"g":{"p":5,"k":{"a":0,"k":[0,0.831,0.843,0.867,0.225,0.831,0.843,0.867,0.45,0.831,0.843,0.867,0.725,0.788,0.8,0.822,1,0.745,0.757,0.776],"ix":8}},"s":{"a":0,"k":[-37.517,-90.871],"ix":4},"e":{"a":0,"k":[53.807,67.306],"ix":5},"t":1,"lc":2,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":13},"bm":0,"d":[{"n":"d","nm":"dash","v":{"a":0,"k":110,"ix":1}},{"n":"o","nm":"offset","v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":359,"s":[1540]}],"ix":7}}],"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0},{"ddd":0,"ind":2,"ty":4,"nm":"blow-1","sr":1,"ks":{"o":{"a":0,"k":100,"ix":11},"r":{"a":0,"k":0,"ix":10},"p":{"a":0,"k":[256,188,0],"ix":2},"a":{"a":0,"k":[0,0,0],"ix":1},"s":{"a":0,"k":[100,100,100],"ix":6}},"ao":0,"shapes":[{"ind":0,"ty":"sh","ix":1,"ks":{"a":0,"k":{"i":[[0,0],[-11.333,0],[0,-22.091],[22.091,0],[0,0],[0,0]],"o":[[7.278,-7.573],[22.091,0],[0,22.091],[0,0],[0,0],[0,0]],"v":[[93.157,-27.714],[122,-40],[162,0],[122,40],[102,40],[-162,40]],"c":false},"ix":2},"nm":"Path 1","mn":"ADBE Vector Shape - Group","hd":false},{"ty":"gs","o":{"a":0,"k":100,"ix":9},"w":{"a":0,"k":24,"ix":10},"g":{"p":5,"k":{"a":0,"k":[0,0.831,0.843,0.867,0.225,0.831,0.843,0.867,0.45,0.831,0.843,0.867,0.725,0.788,0.8,0.822,1,0.745,0.757,0.776],"ix":8}},"s":{"a":0,"k":[-34.517,-46.871],"ix":4},"e":{"a":0,"k":[51.166,101.536],"ix":5},"t":1,"lc":2,"lj":1,"ml":10,"ml2":{"a":0,"k":10,"ix":13},"bm":0,"d":[{"n":"d","nm":"dash","v":{"a":0,"k":148,"ix":1}},{"n":"o","nm":"offset","v":{"a":1,"k":[{"i":{"x":[0.833],"y":[0.833]},"o":{"x":[0.167],"y":[0.167]},"t":0,"s":[0]},{"t":359,"s":[2960]}],"ix":7}}],"nm":"Gradient Stroke 1","mn":"ADBE Vector Graphic - G-Stroke","hd":false}],"ip":0,"op":360,"st":0,"bm":0}],"markers":[]}
|
3
app/assets/weather/lottie/wind.png
Normal file
3
app/assets/weather/lottie/wind.png
Normal file
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0601dc42b15f51f5076491bb33a6379e497f856159d7c7c2be3757a0b2dcb204
|
||||
size 1751310
|
36
app/assets/weather/lottie/wind.png.import
Normal file
36
app/assets/weather/lottie/wind.png.import
Normal file
|
@ -0,0 +1,36 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bkywf5ish2l5u"
|
||||
path.s3tc="res://.godot/imported/wind.png-d6f04a6fde8d6271e9b7cce8b1223855.s3tc.ctex"
|
||||
path.etc2="res://.godot/imported/wind.png-d6f04a6fde8d6271e9b7cce8b1223855.etc2.ctex"
|
||||
metadata={
|
||||
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||
"vram_texture": true
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://assets/weather/lottie/wind.png"
|
||||
dest_files=["res://.godot/imported/wind.png-d6f04a6fde8d6271e9b7cce8b1223855.s3tc.ctex", "res://.godot/imported/wind.png-d6f04a6fde8d6271e9b7cce8b1223855.etc2.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=2
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=true
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=0
|
|
@ -10,7 +10,7 @@
|
|||
[sub_resource type="BoxShape3D" id="BoxShape3D_3qyo4"]
|
||||
size = Vector3(0.32, 0.16, 0.02)
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_71h4x"]
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_mq5r1"]
|
||||
resource_local_to_scene = true
|
||||
render_priority = 10
|
||||
shader = ExtResource("6_40cd1")
|
||||
|
@ -21,11 +21,11 @@ shader_parameter/size = Vector2(8, 4)
|
|||
shader_parameter/border_size = 0.01
|
||||
shader_parameter/border_fade_in = 0.05
|
||||
shader_parameter/border_fade_out = 0.0
|
||||
shader_parameter/corner_radius = 0.2
|
||||
shader_parameter/corner_radius = 0.8
|
||||
shader_parameter/roughness = 0.3
|
||||
shader_parameter/grain_amount = 0.02
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_3qjpe"]
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_x7s0p"]
|
||||
size = Vector2(0.32, 0.16)
|
||||
|
||||
[node name="Timer" type="StaticBody3D" groups=["entity"]]
|
||||
|
@ -78,6 +78,7 @@ label = "stop"
|
|||
icon = true
|
||||
|
||||
[node name="Panel" parent="." instance=ExtResource("5_j3gsb")]
|
||||
material_override = SubResource("ShaderMaterial_71h4x")
|
||||
mesh = SubResource("QuadMesh_3qjpe")
|
||||
material_override = SubResource("ShaderMaterial_mq5r1")
|
||||
mesh = SubResource("QuadMesh_x7s0p")
|
||||
size = Vector2(0.32, 0.16)
|
||||
corner_radius = 0.8
|
||||
|
|
81
app/content/entities/weather/weather.gd
Normal file
81
app/content/entities/weather/weather.gd
Normal file
|
@ -0,0 +1,81 @@
|
|||
extends Entity
|
||||
|
||||
const Entity = preload ("../entity.gd")
|
||||
|
||||
@onready var animation: AnimatedSprite3D = $AnimatedSprite3D
|
||||
@onready var weather_label: Label3D = $WeatherLabel
|
||||
@onready var temp_label: Label3D = $TempLabel
|
||||
@onready var humid_label: Label3D = $HumidLabel
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
super()
|
||||
var stateInfo = await HomeApi.get_state(entity_id)
|
||||
|
||||
set_state(stateInfo)
|
||||
|
||||
await HomeApi.watch_state(entity_id, func(new_state):
|
||||
set_state(new_state)
|
||||
)
|
||||
|
||||
func set_state(stateInfo):
|
||||
if stateInfo == null:
|
||||
return
|
||||
|
||||
print(stateInfo)
|
||||
|
||||
var state = stateInfo["state"]
|
||||
var attributes = stateInfo["attributes"]
|
||||
|
||||
if attributes.has("temperature")&&attributes.has("temperature_unit"):
|
||||
temp_label.text = str(attributes["temperature"]) + " " + attributes["temperature_unit"]
|
||||
|
||||
if attributes.has("humidity"):
|
||||
humid_label.text = str(attributes["humidity"]) + "%"
|
||||
|
||||
match state:
|
||||
"clear-night":
|
||||
weather_label.text = "Clear Night"
|
||||
animation.play("clear-night")
|
||||
"cloudy":
|
||||
weather_label.text = "Cloudy"
|
||||
animation.play("cloudy")
|
||||
"fog":
|
||||
weather_label.text = "Fog"
|
||||
animation.play("fog")
|
||||
"hail":
|
||||
weather_label.text = "Hail"
|
||||
animation.play("hail")
|
||||
"lightning":
|
||||
weather_label.text = "Lightning"
|
||||
animation.play("thunderstorms")
|
||||
"lightning-rainy":
|
||||
weather_label.text = "Lightning Rainy"
|
||||
animation.play("thunderstorms-rain")
|
||||
"partlycloudy":
|
||||
weather_label.text = "Partly Cloudy"
|
||||
animation.play("partly-cloudy-day")
|
||||
"pouring":
|
||||
weather_label.text = "Pouring"
|
||||
animation.play("rain")
|
||||
"rainy":
|
||||
weather_label.text = "Rainy"
|
||||
animation.play("drizzle")
|
||||
"snowy":
|
||||
weather_label.text = "Snowy"
|
||||
animation.play("snow")
|
||||
"snowy-rainy":
|
||||
weather_label.text = "Snowy Rainy"
|
||||
animation.play("sleet")
|
||||
"sunny":
|
||||
weather_label.text = "Sunny"
|
||||
animation.play("clear-day")
|
||||
"windy":
|
||||
weather_label.text = "Windy"
|
||||
animation.play("wind")
|
||||
"windy-variant":
|
||||
weather_label.text = "Windy Variant"
|
||||
animation.play("wind")
|
||||
"exceptional":
|
||||
weather_label.text = "Exceptional"
|
||||
animation.play("code-red")
|
30484
app/content/entities/weather/weather.tscn
Normal file
30484
app/content/entities/weather/weather.tscn
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -11,6 +11,7 @@ const ButtonEntity = preload ("res://content/entities/button/button.tscn")
|
|||
const NumberEntity = preload ("res://content/entities/number/number.tscn")
|
||||
const LineGraphEntity = preload ("res://content/entities/line_chart/line_chart.tscn")
|
||||
const TimerEntity = preload ("res://content/entities/timer/timer.tscn")
|
||||
const WeatherEntity = preload ("res://content/entities/weather/weather.tscn")
|
||||
|
||||
static func create_entity(id: String, type=null):
|
||||
var entity = null
|
||||
|
@ -37,6 +38,8 @@ static func create_entity(id: String, type=null):
|
|||
entity = LineGraphEntity.instantiate()
|
||||
"timer":
|
||||
entity = TimerEntity.instantiate()
|
||||
"weather":
|
||||
entity = WeatherEntity.instantiate()
|
||||
_:
|
||||
return null
|
||||
|
||||
|
@ -63,5 +66,7 @@ static func get_entity_icon(type: String) -> String:
|
|||
return "finance"
|
||||
"timer":
|
||||
return "timer"
|
||||
"weather":
|
||||
return "partly_cloudy_day"
|
||||
_:
|
||||
return "question_mark"
|
Loading…
Reference in New Issue
Block a user