changed .png to .svg

This commit is contained in:
Kristofers Solo 2021-10-20 17:49:30 +03:00
parent 9b5a48e5f0
commit ba7e0f4e14
16 changed files with 127 additions and 12 deletions

View File

@ -0,0 +1,3 @@
source_md5="9c64c312fe0c5859c87280aebe19b452"
dest_md5="7e50e59190bf14295c7cbedc26ee3b24"

View File

@ -0,0 +1,3 @@
source_md5="8fad288d82d0e9d24f41f65f4d5e4301"
dest_md5="a9d8bb2f96bc788ab0d7fc16f125c927"

View File

@ -1,6 +1,6 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://sprites/floor.png" type="Texture" id=1]
[ext_resource path="res://sprites/floor.svg" type="Texture" id=1]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 960, 24 )

View File

@ -9,3 +9,7 @@ script = ExtResource( 2 )
[node name="floor" parent="." instance=ExtResource( 1 )]
position = Vector2( 960, 1056 )
scale = Vector2( 2, 1 )
[node name="floor2" parent="." instance=ExtResource( 1 )]
position = Vector2( 960, -24 )
scale = Vector2( 2, 1 )

View File

@ -7,6 +7,9 @@
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="multiplayer_configure" type="Control" parent="."]
anchor_right = 1.0

View File

@ -1,18 +1,20 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://sprites/sphere.png" type="Texture" id=1]
[ext_resource path="res://sprites/square.svg" type="Texture" id=1]
[ext_resource path="res://code/player.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 45.7813
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 16, 16 )
[node name="player" type="KinematicBody2D"]
script = ExtResource( 2 )
[node name="sphere" type="Sprite" parent="."]
[node name="square" type="Sprite" parent="."]
scale = Vector2( 2.5, 2.5 )
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
scale = Vector2( 2.5, 2.5 )
shape = SubResource( 1 )
[node name="Tween" type="Tween" parent="."]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

51
Game_4/sprites/floor.svg Normal file
View File

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="1920"
height="48"
viewBox="0 0 508.00001 12.7"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="floor.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:document-units="mm"
showgrid="false"
width="7256.6929px"
units="px"
inkscape:zoom="1.1224747"
inkscape:cx="959.93251"
inkscape:cy="109.5793"
inkscape:window-width="1920"
inkscape:window-height="1006"
inkscape:window-x="1920"
inkscape:window-y="45"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:#008000;stroke-width:0.259237"
id="rect31"
width="508"
height="12.7"
x="0"
y="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/floor.png-8870646e23ec8c3ad77089faabc9e773.stex"
path="res://.import/floor.svg-297905206d682966af5dba035b7d5368.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/floor.png"
dest_files=[ "res://.import/floor.png-8870646e23ec8c3ad77089faabc9e773.stex" ]
source_file="res://sprites/floor.svg"
dest_files=[ "res://.import/floor.svg-297905206d682966af5dba035b7d5368.stex" ]
[params]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

49
Game_4/sprites/square.svg Normal file
View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="32"
height="32"
viewBox="0 0 32 32"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="square.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#505050"
bordercolor="#ffffff"
borderopacity="1"
inkscape:pageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="1"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="8"
inkscape:cx="54.6875"
inkscape:cy="42.75"
inkscape:window-width="1920"
inkscape:window-height="1006"
inkscape:window-x="1920"
inkscape:window-y="45"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" />
<defs
id="defs2" />
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:#aa0000"
id="rect65"
width="32"
height="32"
x="0"
y="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
path="res://.import/sphere.png-b735a7d58a47546099ef1144a282cd43.stex"
path="res://.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/sphere.png"
dest_files=[ "res://.import/sphere.png-b735a7d58a47546099ef1144a282cd43.stex" ]
source_file="res://sprites/square.svg"
dest_files=[ "res://.import/square.svg-eb5ce7ff66dca983c1acbf7134c96e32.stex" ]
[params]