diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-05-30 02:05:19 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-05-30 02:05:19 -0600 |
commit | 0aa26dc19da1c8907cd69d18b423c33f351d3f2f (patch) | |
tree | 1f66ccb21df5d7cd508e50be7b4fe97fe400c580 /src/entities/actors/snake/body_segment | |
parent | 8165182a3ec840726eaa75678ea23f7ef8e6938e (diff) |
working path2d with only the head, need to figure out the segments part
Diffstat (limited to 'src/entities/actors/snake/body_segment')
-rw-r--r-- | src/entities/actors/snake/body_segment/1x1.png | bin | 0 -> 82 bytes | |||
-rw-r--r-- | src/entities/actors/snake/body_segment/1x1.png.import | 35 | ||||
-rw-r--r-- | src/entities/actors/snake/body_segment/BodySegment.tscn | 9 |
3 files changed, 44 insertions, 0 deletions
diff --git a/src/entities/actors/snake/body_segment/1x1.png b/src/entities/actors/snake/body_segment/1x1.png Binary files differnew file mode 100644 index 0000000..89d23b0 --- /dev/null +++ b/src/entities/actors/snake/body_segment/1x1.png diff --git a/src/entities/actors/snake/body_segment/1x1.png.import b/src/entities/actors/snake/body_segment/1x1.png.import new file mode 100644 index 0000000..ec15366 --- /dev/null +++ b/src/entities/actors/snake/body_segment/1x1.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/1x1.png-6e89afd7f217fca93b741eefef4d6779.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://entities/actors/snake/body_segment/1x1.png" +dest_files=[ "res://.import/1x1.png-6e89afd7f217fca93b741eefef4d6779.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=false +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/src/entities/actors/snake/body_segment/BodySegment.tscn b/src/entities/actors/snake/body_segment/BodySegment.tscn new file mode 100644 index 0000000..065a42d --- /dev/null +++ b/src/entities/actors/snake/body_segment/BodySegment.tscn @@ -0,0 +1,9 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://entities/actors/snake/body_segment/1x1.png" type="Texture" id=1] + +[node name="BodySegment" type="Sprite"] +modulate = Color( 0, 1, 0, 1 ) +position = Vector2( 0, 16 ) +scale = Vector2( 32, 32 ) +texture = ExtResource( 1 ) |