Added animated water

master
Martin Felis 2021-06-12 23:42:38 +02:00
parent f0657fbfa6
commit c6304281a9
16 changed files with 379 additions and 80 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.import/*
.*.swp
*.*~

24
BackgroundWater.gd Normal file
View File

@ -0,0 +1,24 @@
extends Sprite
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
export var world_offset = Vector2.ZERO
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
func _process(_delta):
region_rect.size = OS.get_window_safe_area().size
var time = OS.get_system_time_msecs()
var texture_size = texture.get_size()
var texture_offset = Vector2(
world_offset.x / texture_size.x,
world_offset.y / texture_size.y
)
print ("offset: ", texture_offset)
material.set_shader_param("uv_offset", texture_offset)
update()

85
BackgroundWater.tscn Normal file

File diff suppressed because one or more lines are too long

15
DigSite.gd Normal file
View File

@ -0,0 +1,15 @@
extends Node2D
var HasTreasure = false
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
get_node("treasuredigsite").visible = HasTreasure
get_node("digsite").visible = not HasTreasure
update()

View File

@ -1,16 +1,18 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/digsite.svg" type="Texture" id=1]
[ext_resource path="res://assets/treasure.svg" type="Texture" id=2]
[ext_resource path="res://assets/treasuredigsite.svg" type="Texture" id=2]
[ext_resource path="res://DigSite.gd" type="Script" id=3]
[node name="DigSite" type="Node2D"]
[node name="treasure" type="Sprite" parent="."]
position = Vector2( -2.6727, -19.5998 )
z_index = 3
script = ExtResource( 3 )
[node name="treasuredigsite" type="Sprite" parent="."]
visible = false
position = Vector2( -1.7818, -19.5998 )
texture = ExtResource( 2 )
[node name="digsite" type="Sprite" parent="."]
visible = false
z_index = 3
texture = ExtResource( 1 )

View File

@ -4,14 +4,13 @@ var Player
var Level
var GameCamera
var DebugLayer
var BackgroundWater
var NavTarget
var DebugLabel
var DigSite
var DiggedSites = {}
var ChestLocations = {}
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
@ -20,9 +19,11 @@ func _ready():
GameCamera = get_node("GameCamera")
DebugLayer = get_node("DebugLayer")
NavTarget = get_node("DebugLayer/NavTarget")
BackgroundWater = get_node("GameCamera/BackgroundWater")
DebugLabel = GameCamera.get_node("Widgets/HBoxContainer/DebugLabel")
DigSite = preload("res://DigSite.tscn")
Globals.DebugLabel = DebugLabel
ChestLocations[Vector2(3,3)] = true
Player.connect("DigSiteReached", self, "handle_dig_site_reached")
Player.connect("DigStop", self, "handle_dig_stop")
@ -31,21 +32,33 @@ func _ready():
func handle_dig_site_reached(dig_grid_coords):
if not DiggedSites.has(dig_grid_coords):
print ("Starting digging at ", dig_grid_coords)
var new_digsite = DigSite.instance()
new_digsite.transform.origin = dig_grid_coords
print ("digsite world:", new_digsite.transform.origin)
Level.add_child(new_digsite)
DiggedSites[dig_grid_coords] = true
Player.CurrentDigGridCoords = dig_grid_coords
Player.start_dig()
func handle_dig_stop():
print ("Stopping digging")
var dig_grid_coords = Player.CurrentDigGridCoords
if dig_grid_coords == null:
print ("Error: handling stop dig but have no dig coords!")
return
var has_treasure = ChestLocations.has(dig_grid_coords)
DiggedSites[dig_grid_coords] = true
var new_digsite = DigSite.instance()
new_digsite.HasTreasure = has_treasure
new_digsite.transform.origin = Globals.GridCenterToWorldCoord(dig_grid_coords)
Level.add_child(new_digsite)
Player.CurrentDigGridCoords = null
func _process(delta):
Globals.ClearDebugLabel()
GameCamera.transform.origin = Player.transform.origin
var screen_size = OS.get_window_safe_area().size
GameCamera.transform.origin = Player.transform.origin - screen_size * 0
BackgroundWater.world_offset = GameCamera.transform.origin
func _input(event):

View File

@ -2,7 +2,7 @@
[ext_resource path="res://assets/island.svg" type="Texture" id=1]
[ext_resource path="res://Player.gd" type="Script" id=2]
[ext_resource path="res://assets/water.svg" type="Texture" id=3]
[ext_resource path="res://BackgroundWater.tscn" type="PackedScene" id=3]
[ext_resource path="res://assets/pirate.svg" type="Texture" id=4]
[ext_resource path="res://GameScene.gd" type="Script" id=5]
[ext_resource path="res://assets/pirate_with_shovel.svg" type="Texture" id=6]
@ -23,19 +23,28 @@ z_index = 5
script = ExtResource( 9 )
[node name="Level" type="Node2D" parent="."]
z_index = -10
z_index = -1
[node name="Water" type="Sprite" parent="Level"]
scale = Vector2( 1098, 303 )
texture = ExtResource( 3 )
[node name="island" type="Sprite" parent="Level"]
z_index = 1
texture = ExtResource( 1 )
[node name="DigSite" parent="Level" instance=ExtResource( 10 )]
visible = false
z_index = 3
[node name="Player" type="Node2D" parent="."]
script = ExtResource( 2 )
[node name="PirateSprite" type="Sprite" parent="Player"]
texture = ExtResource( 4 )
[node name="PirateWithShovelSprite" type="Sprite" parent="Player"]
texture = ExtResource( 6 )
[node name="ShovelTargetOffset" type="Node2D" parent="Player"]
position = Vector2( 88, 74 )
[node name="GameCamera" type="Camera2D" parent="."]
current = true
@ -67,15 +76,7 @@ __meta__ = {
"_edit_use_anchors_": false
}
[node name="Player" type="Node2D" parent="."]
z_index = -5
script = ExtResource( 2 )
[node name="Node2D" type="Node2D" parent="GameCamera/Widgets"]
z_index = -10
[node name="PirateSprite" type="Sprite" parent="Player"]
texture = ExtResource( 4 )
[node name="PirateWithShovelSprite" type="Sprite" parent="Player"]
texture = ExtResource( 6 )
[node name="ShovelTargetOffset" type="Node2D" parent="Player"]
position = Vector2( 88, 74 )
[node name="BackgroundWater" parent="GameCamera" instance=ExtResource( 3 )]

View File

@ -19,6 +19,7 @@ var shovel_offset = Vector2.ZERO
var NavTarget = Vector2.ZERO
var State = PlayerState.IDLE
var ShovelTimer = 0
var CurrentDigGridCoords = null
# Called when the node enters the scene tree for the first time.
func _ready():
@ -76,7 +77,7 @@ func _process(delta):
self.transform.origin = movement_target
if self.State == PlayerState.WALKING:
emit_signal ("DigSiteReached", Globals.WorldToGridCenter(NavTarget))
emit_signal ("DigSiteReached", Globals.WorldToGridCoord(NavTarget))
ShovelSprite.visible = State == PlayerState.SHOVEL

View File

@ -9,9 +9,9 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="139.35532mm"
height="125.49757mm"
viewBox="0 0 139.35532 125.49757"
width="239.65138mm"
height="282.46094mm"
viewBox="0 0 239.65139 282.46095"
version="1.1"
id="svg8"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
@ -25,9 +25,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="312.85389"
inkscape:cy="337.47507"
inkscape:zoom="0.49497475"
inkscape:cx="375.06063"
inkscape:cy="605.93793"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
@ -56,12 +56,12 @@
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-8.6943134,-3.0129486)">
transform="translate(21.431352,84.065017)">
<path
style="fill:#ffeeaa;fill-rule:evenodd;stroke:#d4aa00;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 72.448245,3.772971 C 65.980061,1.658797 55.016056,4.906704 54.81119,13.363242 51.466096,23.234917 48.104196,34.130641 39.035349,40.30919 32.24372,45.356858 28.045284,53.351857 20.869499,57.636082 11.877884,64.673833 9.601484,76.926242 8.879374,87.700692 c -0.318782,6.98719 0.629337,16.185348 7.915513,19.351208 8.36195,2.63125 17.202915,0.29095 25.78554,1.06673 7.363278,0.15684 14.864377,-0.5699 22.136366,0.53179 8.771839,3.45495 15.159785,11.59907 24.703082,13.32694 8.16537,3.93412 17.744925,8.94225 26.837875,4.91431 7.50153,-3.21306 15.69779,-5.14523 22.87085,-8.76448 6.0229,-4.14004 11.13169,-11.99587 7.66451,-19.344068 -2.56103,-10.04092 -13.42752,-19.1707 -13.18616,-29.602397 1.89674,-11.058764 9.66586,-23.415656 12.35357,-34.317384 1.82227,-7.299459 -5.23263,-11.64173 -9.14978,-16.570586 -4.03468,-4.465983 -8.02062,-8.976966 -11.89932,-13.579434 -9.46,-3.615159 -19.41382,0.444482 -28.148065,4.137063 -8.01856,5.915223 -17.846926,-2.963239 -24.31511,-5.077413 z"
d="M 164.9235,-76.407887 C 128.14915,-98.599468 72.7643,-66.295203 45.189487,-49.177827 17.614674,-32.060452 1.8319771,-28.4283 -16.022174,3.9605343 -33.876324,36.349369 13.2249,13.825088 -8.4492251,71.281104 -30.123351,128.73712 -23.668282,131.02201 5.5695668,162.64396 34.807416,194.26591 66.932058,202.60359 118.48497,196.31757 c 51.55292,-6.28601 58.97137,-16.18856 72.49392,-40.77265 13.52255,-24.58408 -61.0781,-46.27774 -64.32095,-67.120789 -3.24285,-20.84305 52.06429,-45.427004 80.77457,-63.717032 28.71028,-18.2900277 -5.73465,-78.923405 -42.50901,-101.114986 z"
id="path815"
inkscape:connector-curvature="0"
sodipodi:nodetypes="zccccccccccccccccz" />
sodipodi:nodetypes="zzzzzzzzzz" />
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -25,9 +25,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="-0.41554903"
inkscape:cy="43.465462"
inkscape:zoom="5.6"
inkscape:cx="-4.1505634"
inkscape:cy="26.604021"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
@ -58,24 +58,9 @@
inkscape:groupmode="layer"
id="layer1"
transform="translate(-27.626304,-117.94903)">
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.676423,128.71977 1.195111,-0.16396 3.593383,1.7116 -1.935728,2.77254 -3.361939,0.7875 -0.214497,-4.11707 z"
id="path3294-7-56"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 40.830254,128.93442 0.761042,0.93594 0.404623,3.95958 -3.374681,-0.21337 -2.419653,-2.46334 3.406264,-2.32242 z"
id="path3294-7-2"
inkscape:connector-curvature="0" />
<path
style="fill:#803300;fill-rule:evenodd;stroke:#552200;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.224028,130.84028 1.70677,-0.55267 4.421347,0.0488 2.06438,0.81275 -1.86932,1.49545 -4.600152,0.29259 z"
id="path3367"
inkscape:connector-curvature="0" />
<g
id="g4056"
transform="rotate(-7.1766619,96.541896,117.41993)">
transform="rotate(7.9459802,-28.145926,121.74228)">
<rect
y="115.62016"
x="29.274044"
@ -112,26 +97,6 @@
id="rect3428"
style="fill:#c8b7b7;fill-opacity:1;stroke:#241c1c;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 33.76885,129.49117 -1.170293,0.29255 -2.698386,2.92586 2.828439,1.85309 3.41354,-0.52011 -1.332969,-3.90122 z"
id="path3294"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 42.511792,129.54021 1.170293,0.29256 2.698386,2.92586 -2.828438,1.85309 -3.413542,-0.52012 1.332972,-3.90121 z"
id="path3294-7"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 35.192072,136.23043 -1.022112,-0.64067 -1.659356,-3.61781 3.263332,-0.88581 3.084536,1.55191 -2.475842,3.29643 z"
id="path3294-7-5"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 39.419466,136.02939 -1.022112,-0.64067 -1.659356,-3.6178 3.263332,-0.88582 3.084536,1.55192 -2.475842,3.29644 z"
id="path3294-7-5-3"
inkscape:connector-curvature="0" />
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

141
assets/treasuredigsite.svg Normal file
View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="74.496933"
height="70.301506"
viewBox="0 0 19.710645 18.600606"
version="1.1"
id="svg2692"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="treasuredigsite.svg">
<defs
id="defs2686" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="-53.196019"
inkscape:cy="43.465462"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1916"
inkscape:window-height="1041"
inkscape:window-x="0"
inkscape:window-y="37"
inkscape:window-maximized="0"
units="px" />
<metadata
id="metadata2689">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-27.626304,-117.94903)">
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.676423,128.71977 1.195111,-0.16396 3.593383,1.7116 -1.935728,2.77254 -3.361939,0.7875 -0.214497,-4.11707 z"
id="path3294-7-56"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 40.830254,128.93442 0.761042,0.93594 0.404623,3.95958 -3.374681,-0.21337 -2.419653,-2.46334 3.406264,-2.32242 z"
id="path3294-7-2"
inkscape:connector-curvature="0" />
<path
style="fill:#803300;fill-rule:evenodd;stroke:#552200;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.224028,130.84028 1.70677,-0.55267 4.421347,0.0488 2.06438,0.81275 -1.86932,1.49545 -4.600152,0.29259 z"
id="path3367"
inkscape:connector-curvature="0" />
<g
id="g4056"
transform="rotate(-7.1766619,96.541896,117.41993)">
<rect
y="115.62016"
x="29.274044"
height="9.5329189"
width="16.038643"
id="rect3407"
style="fill:#ff7f2a;fill-opacity:1;stroke:#552200;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="111.94521"
x="28.071331"
height="7.0826426"
width="18.374781"
id="rect3409"
style="fill:#ffdd55;fill-opacity:1;stroke:#552200;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="112.21248"
x="32.14719"
height="6.4144669"
width="0.40090266"
id="rect3411"
style="fill:#c87137;fill-opacity:1;stroke:#552200;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="112.27929"
x="41.501625"
height="6.4144669"
width="0.40090266"
id="rect3411-9"
style="fill:#c87137;fill-opacity:1;stroke:#552200;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
y="117.75078"
x="35.266018"
height="3.4076865"
width="3.7417734"
id="rect3428"
style="fill:#c8b7b7;fill-opacity:1;stroke:#241c1c;stroke-width:0.59499997;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 33.76885,129.49117 -1.170293,0.29255 -2.698386,2.92586 2.828439,1.85309 3.41354,-0.52011 -1.332969,-3.90122 z"
id="path3294"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 42.511792,129.54021 1.170293,0.29256 2.698386,2.92586 -2.828438,1.85309 -3.413542,-0.52012 1.332972,-3.90121 z"
id="path3294-7"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 35.192072,136.23043 -1.022112,-0.64067 -1.659356,-3.61781 3.263332,-0.88581 3.084536,1.55191 -2.475842,3.29643 z"
id="path3294-7-5"
inkscape:connector-curvature="0" />
<path
style="fill:#c87137;fill-rule:evenodd;stroke:#000000;stroke-width:0.59500003;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 39.419466,136.02939 -1.022112,-0.64067 -1.659356,-3.6178 3.263332,-0.88582 3.084536,1.55192 -2.475842,3.29644 z"
id="path3294-7-5-3"
inkscape:connector-curvature="0" />
</g>
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Layer 2"
transform="translate(-27.626304,-117.94903)" />
</svg>

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/treasuredigsite.svg-7c70e76f30c7f2c97cc465a05f5bfe40.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/treasuredigsite.svg"
dest_files=[ "res://.import/treasuredigsite.svg-7c70e76f30c7f2c97cc465a05f5bfe40.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=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

BIN
textures/water.kra Normal file

Binary file not shown.

BIN
textures/water.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

13
textures/water.png.import Normal file
View File

@ -0,0 +1,13 @@
[remap]
importer="image"
type="Image"
path="res://.import/water.png-25a75e914e0cd51cf077b48ffc139669.image"
[deps]
source_file="res://textures/water.png"
dest_files=[ "res://.import/water.png-25a75e914e0cd51cf077b48ffc139669.image" ]
[params]

4
textures/water.tres Normal file
View File

@ -0,0 +1,4 @@
[gd_resource type="ImageTexture" format=2]
[resource]
storage = 2