added Asteroids

pull/11/head
Sascha 2023-10-12 19:13:58 +07:00
parent 71eb8701ef
commit 2aa2fec90b
18 changed files with 422 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,38 @@
[gd_scene load_steps=7 format=3 uid="uid://det8556rpxhbv"]
[ext_resource type="PackedScene" uid="uid://tlr55u0gn20l" path="res://Packed-Scenes/player_ship.tscn" id="1_whjxg"]
[ext_resource type="Texture2D" uid="uid://cg6n1hh3lj7rn" path="res://Textures/tile_nebula_green_dff.png" id="2_tilj4"]
[ext_resource type="Script" path="res://Scripts/Background.cs" id="3_h0dib"]
[ext_resource type="PackedScene" uid="uid://6dn1gjqffnt" path="res://Packed-Scenes/asteroid_01.tscn" id="4_5oai7"]
[ext_resource type="PackedScene" uid="uid://cvlxm2yrohsca" path="res://Packed-Scenes/asteroid_02.tscn" id="5_fnf52"]
[ext_resource type="PackedScene" uid="uid://brqqgidqchi88" path="res://Packed-Scenes/asteroid_03.tscn" id="6_qk6ev"]
[node name="Game" type="Node3D"]
[node name="PlayerShip" parent="." instance=ExtResource("1_whjxg")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74227e-08, 0, -1, 0, 0, 5)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 8, 0)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.707106, 0.707106, 0, -0.707106, 0.707106, 10, 10, 10)
[node name="Background" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -0.5, 0)
billboard = 1
shaded = true
double_sided = false
texture = ExtResource("2_tilj4")
region_enabled = true
region_rect = Rect2(0, 0, 810, 1380)
script = ExtResource("3_h0dib")
[node name="Asteroid_01" parent="." instance=ExtResource("4_5oai7")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.81768, 0, -3.05903)
[node name="Asteroid_02" parent="." instance=ExtResource("5_fnf52")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0886679, 0, -5.34222)
[node name="Asteroid_03" parent="." instance=ExtResource("6_qk6ev")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.90635, 0, -4.38904)

@ -1,26 +0,0 @@
[gd_scene load_steps=4 format=3 uid="uid://det8556rpxhbv"]
[ext_resource type="PackedScene" uid="uid://tlr55u0gn20l" path="res://Packed-Scenes/player_ship.tscn" id="1_55pmq"]
[ext_resource type="Texture2D" uid="uid://cg6n1hh3lj7rn" path="res://Textures/tile_nebula_green_dff.png" id="2_sggc1"]
[ext_resource type="Script" path="res://Scripts/Background.cs" id="3_vny2k"]
[node name="Game" type="Node3D"]
[node name="PlayerShip" parent="." instance=ExtResource("1_55pmq")]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74227e-08, 0, -1, 0, 0, 5)
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 8, 0)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.866025, 0.5, 0, -0.5, 0.866025, 10, 10, 10)
[node name="Background" type="Sprite3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -0.5, 0)
billboard = 1
shaded = true
double_sided = false
texture = ExtResource("2_sggc1")
region_enabled = true
region_rect = Rect2(0, 0, 810, 1380)
script = ExtResource("3_vny2k")

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bt2aj3hcmb87q"
path.s3tc="res://.godot/imported/prop_asteroid_01_dff.png-b2d40f2b369ef58eba24bc6407979866.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_01_dff.png"
dest_files=["res://.godot/imported/prop_asteroid_01_dff.png-b2d40f2b369ef58eba24bc6407979866.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://swmr1hw148bp"
path.s3tc="res://.godot/imported/prop_asteroid_01_nrm.png-9cb3b42ae919fb2e44dbd15be3b945dc.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_01_nrm.png"
dest_files=["res://.godot/imported/prop_asteroid_01_nrm.png-9cb3b42ae919fb2e44dbd15be3b945dc.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Textures/prop_asteroid_01_nrm.png"
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c48y5hkprbmre"
path.s3tc="res://.godot/imported/prop_asteroid_02_dff.png-e8a3f9454ec74cf808fcac256fbfccc6.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_02_dff.png"
dest_files=["res://.godot/imported/prop_asteroid_02_dff.png-e8a3f9454ec74cf808fcac256fbfccc6.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://8uqgmlpi6x21"
path.s3tc="res://.godot/imported/prop_asteroid_02_nrm.png-baa96ef898b962c74ea11b682147f26a.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_02_nrm.png"
dest_files=["res://.godot/imported/prop_asteroid_02_nrm.png-baa96ef898b962c74ea11b682147f26a.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Textures/prop_asteroid_02_nrm.png"
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4sc40fjd4myy"
path.s3tc="res://.godot/imported/prop_asteroid_03_dff.png-be8a08ade60283125dcda4a65113c960.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_03_dff.png"
dest_files=["res://.godot/imported/prop_asteroid_03_dff.png-be8a08ade60283125dcda4a65113c960.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
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=0

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://qy0a83vkelqe"
path.s3tc="res://.godot/imported/prop_asteroid_03_nrm.png-6f8c253070ecbacf1ef6ca919338a2bb.s3tc.ctex"
metadata={
"imported_formats": ["s3tc_bptc"],
"vram_texture": true
}
[deps]
source_file="res://Textures/prop_asteroid_03_nrm.png"
dest_files=["res://.godot/imported/prop_asteroid_03_nrm.png-6f8c253070ecbacf1ef6ca919338a2bb.s3tc.ctex"]
[params]
compress/mode=2
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=1
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=1
roughness/src_normal="res://Textures/prop_asteroid_03_nrm.png"
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=0

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="Godot-space Shooter"
run/main_scene="res://Scenes/game.tscn"
run/main_scene="res://Scenes/Game.tscn"
config/features=PackedStringArray("4.2", "C#", "Forward Plus")
config/icon="res://icon.svg"