Skip to content

Commit

Permalink
final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
zvoverman committed Aug 31, 2024
1 parent f750b8e commit 968af25
Show file tree
Hide file tree
Showing 28 changed files with 379 additions and 157 deletions.
Binary file added assets/bg_layer_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/bg_layer_1.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://g72h528mv865"
path="res://.godot/imported/bg_layer_1.png-8aa06c673d4d479858fe120eb3580956.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/bg_layer_1.png"
dest_files=["res://.godot/imported/bg_layer_1.png-8aa06c673d4d479858fe120eb3580956.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
Binary file added assets/bg_layer_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/bg_layer_2.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://d4hor7kdbyuee"
path="res://.godot/imported/bg_layer_2.png-70aef8dc03bd50cb9a332df4e578dab2.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/bg_layer_2.png"
dest_files=["res://.godot/imported/bg_layer_2.png-70aef8dc03bd50cb9a332df4e578dab2.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
Binary file modified assets/dumpster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fallen_trash_bin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/fallen_trash_bin.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://ggokg3argpbk"
path="res://.godot/imported/fallen_trash_bin.png-22c9a3dc66092b01faf9cc9dd979a89c.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/fallen_trash_bin.png"
dest_files=["res://.godot/imported/fallen_trash_bin.png-22c9a3dc66092b01faf9cc9dd979a89c.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
Binary file modified assets/floor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/kickflip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/kickflip.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://cs1aswuagw3d5"
path="res://.godot/imported/kickflip.png-57f5795c54b8adfaec426da4840ba0fd.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/kickflip.png"
dest_files=["res://.godot/imported/kickflip.png-57f5795c54b8adfaec426da4840ba0fd.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
Binary file added assets/kickflip_anim.png.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/kickflip_anim.png.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://vqxrxcbghjq1"
path="res://.godot/imported/kickflip_anim.png.png-83de4fce51ea95ff362ba51d74537709.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/kickflip_anim.png.png"
dest_files=["res://.godot/imported/kickflip_anim.png.png-83de4fce51ea95ff362ba51d74537709.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
Binary file modified assets/skate_dude_gray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/traffic_cone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/traffic_cone.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://br5fxiry2swpn"
path="res://.godot/imported/traffic_cone.png-e0fb7ebc04fd69b5864bd396516ebcb2.ctex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/traffic_cone.png"
dest_files=["res://.godot/imported/traffic_cone.png-e0fb7ebc04fd69b5864bd396516ebcb2.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
Binary file modified assets/traffic_cone_placeholder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/trash_bin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ ui_up={
[rendering]

textures/canvas_textures/default_texture_filter=0
environment/defaults/default_clear_color=Color(0.899258, 0.899258, 0.899258, 1)
environment/defaults/default_clear_color=Color(0.87451, 0.87451, 0.87451, 1)
98 changes: 3 additions & 95 deletions scenes/chunk.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://d1ye7lacsmglb"]

[ext_resource type="Script" path="res://scripts/chunk.gd" id="1_t73m7"]
[ext_resource type="Texture2D" uid="uid://fotmrav530xb" path="res://assets/road.png" id="2_k5wgc"]
[ext_resource type="Texture2D" uid="uid://diblvp3gxsr6q" path="res://assets/floor.png" id="2_v0ykj"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_5jwgi"]
size = Vector2(640, 640)
Expand All @@ -20,100 +20,8 @@ position = Vector2(320, 320)
scale = Vector2(1.1, 1)
shape = SubResource("RectangleShape2D_5jwgi")

[node name="Sprite2D9" type="Sprite2D" parent="Floor"]
position = Vector2(-48, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D10" type="Sprite2D" parent="Floor"]
position = Vector2(-16, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D11" type="Sprite2D" parent="Floor"]
position = Vector2(16, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D12" type="Sprite2D" parent="Floor"]
position = Vector2(48, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D13" type="Sprite2D" parent="Floor"]
position = Vector2(80, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D14" type="Sprite2D" parent="Floor"]
position = Vector2(112, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D15" type="Sprite2D" parent="Floor"]
position = Vector2(144, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D16" type="Sprite2D" parent="Floor"]
position = Vector2(176, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D" type="Sprite2D" parent="Floor"]
position = Vector2(-304, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D2" type="Sprite2D" parent="Floor"]
position = Vector2(-272, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D3" type="Sprite2D" parent="Floor"]
position = Vector2(-240, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D4" type="Sprite2D" parent="Floor"]
position = Vector2(-208, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D5" type="Sprite2D" parent="Floor"]
position = Vector2(-176, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D6" type="Sprite2D" parent="Floor"]
position = Vector2(-144, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D7" type="Sprite2D" parent="Floor"]
position = Vector2(-112, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D8" type="Sprite2D" parent="Floor"]
position = Vector2(-80, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D17" type="Sprite2D" parent="Floor"]
position = Vector2(208, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D18" type="Sprite2D" parent="Floor"]
position = Vector2(240, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D19" type="Sprite2D" parent="Floor"]
position = Vector2(272, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D20" type="Sprite2D" parent="Floor"]
position = Vector2(304, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D21" type="Sprite2D" parent="Floor"]
position = Vector2(336, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D22" type="Sprite2D" parent="Floor"]
position = Vector2(368, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D23" type="Sprite2D" parent="Floor"]
position = Vector2(-368, -289)
texture = ExtResource("2_k5wgc")

[node name="Sprite2D24" type="Sprite2D" parent="Floor"]
position = Vector2(-336, -289)
texture = ExtResource("2_k5wgc")
scale = Vector2(1.1, 1)
texture = ExtResource("2_v0ykj")

[connection signal="tree_exited" from="." to="." method="_on_tree_exited"]
5 changes: 3 additions & 2 deletions scenes/dumpster.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@
[ext_resource type="Script" path="res://scripts/obstacle.gd" id="1_875mt"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_gu0a6"]
size = Vector2(44, 30)
size = Vector2(60, 44)

[node name="Dumpster" type="StaticBody2D"]
script = ExtResource("1_875mt")

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -16)
scale = Vector2(2, 2)
texture = ExtResource("1_2cg1o")

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(0, 1)
position = Vector2(0, -6)
shape = SubResource("RectangleShape2D_gu0a6")

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
23 changes: 23 additions & 0 deletions scenes/fallen_trash_bin.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[gd_scene load_steps=4 format=3 uid="uid://cbp36gw8aqkpq"]

[ext_resource type="Script" path="res://scripts/obstacle.gd" id="1_8pcuq"]
[ext_resource type="Texture2D" uid="uid://ggokg3argpbk" path="res://assets/fallen_trash_bin.png" id="2_pahix"]

[sub_resource type="CircleShape2D" id="CircleShape2D_ehy2f"]
radius = 14.0

[node name="Fallen_Trash_Bin" type="StaticBody2D"]
script = ExtResource("1_8pcuq")

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(-3.425, -16)
scale = Vector2(2, 2)
texture = ExtResource("2_pahix")

[node name="Area2D" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2(1, 2)
shape = SubResource("CircleShape2D_ehy2f")

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
Loading

0 comments on commit 968af25

Please sign in to comment.