gd,refacto: added state chart addon and namespace cleanup
This commit is contained in:
17
godot_state_charts_examples/ant_hill/nest/nest.svg
Normal file
17
godot_state_charts_examples/ant_hill/nest/nest.svg
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg width="100%" height="100%" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;">
|
||||
<path d="M2.751,26.163C2.751,26.163 9.264,27.569 14.887,28.036C21.176,28.559 29.249,27.192 29.249,27.192L28.619,18.541L24.672,14.026C24.672,14.026 21.585,13.858 20.367,11.108C19.15,8.357 17.071,7.853 15.349,7.496C13.627,7.139 10.457,9.869 9.68,10.079C8.903,10.289 9.722,11.717 8.063,14.278C6.404,16.84 7.307,18.667 5.921,19.864C4.535,21.06 2.751,26.163 2.751,26.163" style="fill:url(#_Linear1);"/>
|
||||
<path d="M21.816,25.071C21.816,25.071 23.097,21.585 24.714,21.858C26.331,22.131 25.512,21.186 26.268,20.367" style="fill:none;stroke:rgb(174,159,25);stroke-width:1px;"/>
|
||||
<g transform="matrix(1,0,0,0.592883,0,8.94162)">
|
||||
<path d="M5.438,21.963C5.438,21.963 8.987,25.743 11.801,25.512C14.614,25.281 16.567,23.643 16.567,23.643" style="fill:none;stroke:url(#_Linear2);stroke-width:1.22px;"/>
|
||||
</g>
|
||||
<g transform="matrix(1,0,0,0.592883,3.65354,1.99149)">
|
||||
<path d="M5.438,21.963C5.438,21.963 9.533,27.089 12.346,26.858C15.16,26.627 18.163,29.664 18.163,29.664" style="fill:none;stroke:url(#_Linear3);stroke-width:1.22px;"/>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(2.09974,-9.07087,9.07087,2.09974,12.6404,23.2021)"><stop offset="0" style="stop-color:rgb(73,64,28);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(140,131,94);stop-opacity:1"/></linearGradient>
|
||||
<linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(11.1286,0,0,3.55873,5.43832,23.7426)"><stop offset="0" style="stop-color:rgb(30,100,0);stop-opacity:1"/><stop offset="0.54" style="stop-color:rgb(207,198,119);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(174,159,25);stop-opacity:1"/></linearGradient>
|
||||
<linearGradient id="_Linear3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(11.1286,0,0,3.55873,5.43832,23.7426)"><stop offset="0" style="stop-color:rgb(30,100,0);stop-opacity:1"/><stop offset="0.54" style="stop-color:rgb(207,198,119);stop-opacity:1"/><stop offset="1" style="stop-color:rgb(174,159,25);stop-opacity:1"/></linearGradient>
|
||||
</defs>
|
||||
</svg>
|
After Width: | Height: | Size: 2.6 KiB |
37
godot_state_charts_examples/ant_hill/nest/nest.svg.import
Normal file
37
godot_state_charts_examples/ant_hill/nest/nest.svg.import
Normal file
@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://xb5fialweqfw"
|
||||
path="res://.godot/imported/nest.svg-4361abbd79cc59afa101f89034d762a6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://godot_state_charts_examples/ant_hill/nest/nest.svg"
|
||||
dest_files=["res://.godot/imported/nest.svg-4361abbd79cc59afa101f89034d762a6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
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=1
|
||||
svg/scale=2.0
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
16
godot_state_charts_examples/ant_hill/nest/nest.tscn
Normal file
16
godot_state_charts_examples/ant_hill/nest/nest.tscn
Normal file
@ -0,0 +1,16 @@
|
||||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://xb5fialweqfw" path="res://godot_state_charts_examples/ant_hill/nest/nest.svg" id="1_8slek"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_b8f1n"]
|
||||
radius = 37.1214
|
||||
|
||||
[node name="Nest" type="Sprite2D" groups=["nest"]]
|
||||
texture = ExtResource("1_8slek")
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
metadata/owner = NodePath("..")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
position = Vector2(-1, -1)
|
||||
shape = SubResource("CircleShape2D_b8f1n")
|
Reference in New Issue
Block a user