This commit is contained in:
pennyrigate 2025-07-23 19:15:15 -04:00
parent 18eab7176a
commit 2ec7e78837
28 changed files with 398 additions and 100 deletions

BIN
assets/balls/baseball.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c7cl00i3a5ob6"
path="res://.godot/imported/baseball.jpg-30458bc6fef31589983e2c805c3e3199.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/baseball.jpg"
dest_files=["res://.godot/imported/baseball.jpg-30458bc6fef31589983e2c805c3e3199.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

BIN
assets/balls/baseball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://1uoq4vxnep0u"
path="res://.godot/imported/baseball.png-bac5341fc81bd30f9dd03eb50d935065.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/baseball.png"
dest_files=["res://.godot/imported/baseball.png-bac5341fc81bd30f9dd03eb50d935065.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

View file

@ -0,0 +1,19 @@
[gd_scene load_steps=5 format=3 uid="uid://1lvtcngw4biv"]
[ext_resource type="PackedScene" uid="uid://dr2lx5x2lrj17" path="res://ball.tscn" id="1_pqkvx"]
[ext_resource type="Texture2D" uid="uid://1uoq4vxnep0u" path="res://assets/balls/baseball.png" id="2_g42ko"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_pqkvx"]
bounce = 0.16
[sub_resource type="CircleShape2D" id="CircleShape2D_pqkvx"]
radius = 8.06226
[node name="Ball" instance=ExtResource("1_pqkvx")]
physics_material_override = SubResource("PhysicsMaterial_pqkvx")
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_g42ko")
[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_pqkvx")

BIN
assets/balls/basketball.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://vlpetnkakqq8"
path="res://.godot/imported/basketball.jpg-f80fe217e5b065140b2fa19a57450ea8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/basketball.jpg"
dest_files=["res://.godot/imported/basketball.jpg-f80fe217e5b065140b2fa19a57450ea8.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

BIN
assets/balls/basketball.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b8761p2m2ntkv"
path="res://.godot/imported/basketball.png-a6a4d29d2c05600291b4bc8ac0ca6d3c.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/basketball.png"
dest_files=["res://.godot/imported/basketball.png-a6a4d29d2c05600291b4bc8ac0ca6d3c.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

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=5 format=3 uid="uid://cs8tmcc82ejiu"]
[ext_resource type="PackedScene" uid="uid://dr2lx5x2lrj17" path="res://ball.tscn" id="1_run6g"]
[ext_resource type="Texture2D" uid="uid://b8761p2m2ntkv" path="res://assets/balls/basketball.png" id="2_srjr7"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_run6g"]
friction = 0.74
bounce = 0.83
[sub_resource type="CircleShape2D" id="CircleShape2D_run6g"]
radius = 23.0
[node name="Ball" instance=ExtResource("1_run6g")]
physics_material_override = SubResource("PhysicsMaterial_run6g")
[node name="Sprite2D" parent="." index="0"]
scale = Vector2(0.7, 0.7)
texture = ExtResource("2_srjr7")
[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_run6g")

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ctl1onnxkbc7c"
path="res://.godot/imported/bowlingball.jpg-ec4c4a8a846237f76edba83bc937c5e5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/bowlingball.jpg"
dest_files=["res://.godot/imported/bowlingball.jpg-ec4c4a8a846237f76edba83bc937c5e5.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 not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d827gguxg37n"
path="res://.godot/imported/bowlingball.png-aa5e5d22ff23b1c75d8b585da383a7e1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/balls/bowlingball.png"
dest_files=["res://.godot/imported/bowlingball.png-aa5e5d22ff23b1c75d8b585da383a7e1.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

View file

@ -0,0 +1,21 @@
[gd_scene load_steps=5 format=3 uid="uid://b2n3dpnervicg"]
[ext_resource type="PackedScene" uid="uid://dr2lx5x2lrj17" path="res://ball.tscn" id="1_twujf"]
[ext_resource type="Texture2D" uid="uid://d827gguxg37n" path="res://assets/balls/bowlingball.png" id="2_p10mx"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_twujf"]
bounce = 0.03
absorbent = true
[sub_resource type="CircleShape2D" id="CircleShape2D_2fprv"]
radius = 40.0
[node name="Ball" instance=ExtResource("1_twujf")]
physics_material_override = SubResource("PhysicsMaterial_twujf")
[node name="Sprite2D" parent="." index="0"]
scale = Vector2(1, 1)
texture = ExtResource("2_p10mx")
[node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_2fprv")