multiple updates
0
examples/PlatformTemplate/.gitattributes
vendored
Normal file → Executable file
0
examples/PlatformTemplate/.gitignore
vendored
Normal file → Executable file
0
examples/PlatformTemplate/assets/Basic Tilemap.png
Normal file → Executable file
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
0
examples/PlatformTemplate/assets/Basic Tilemap.png.import
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Idle/Player Idle 48x48.aseprite
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Idle/Player Idle 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
0
examples/PlatformTemplate/assets/Player Idle/Player Idle 48x48.png.import
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Idle/Player Idle2 48x48-sheet.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
examples/PlatformTemplate/assets/Player Idle/Player Idle2 48x48-sheet.png.import
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Jump/player jump 48x48.aseprite
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Jump/player jump 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
0
examples/PlatformTemplate/assets/Player Jump/player jump 48x48.png.import
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Land/player land 48x48.aseprite
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Land/player land 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
examples/PlatformTemplate/assets/Player Land/player land 48x48.png.import
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Run/player run 48x48.aseprite
Normal file → Executable file
0
examples/PlatformTemplate/assets/Player Run/player run 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
0
examples/PlatformTemplate/assets/Player Run/player run 48x48.png.import
Normal file → Executable file
0
examples/PlatformTemplate/icon.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 950 B After Width: | Height: | Size: 950 B |
0
examples/PlatformTemplate/icon.svg.import
Normal file → Executable file
0
examples/PlatformTemplate/project.godot
Normal file → Executable file
0
examples/PlatformTemplate/scenes/Player Idle2 48x48-sheet.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
examples/PlatformTemplate/scenes/Player Idle2 48x48-sheet.png.import
Normal file → Executable file
0
examples/PlatformTemplate/scenes/areatrigger.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/blank.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/bullet.gd
Normal file → Executable file
0
examples/PlatformTemplate/scenes/bullet.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/game.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/platform.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/player.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scenes/rigidbody.tscn
Normal file → Executable file
0
examples/PlatformTemplate/scripts/areatrigger.gd
Normal file → Executable file
0
examples/PlatformTemplate/scripts/gamecontroller.gd
Normal file → Executable file
0
examples/PlatformTemplate/scripts/playermovement.gd
Normal file → Executable file
0
graphics_assets/audio/Grass Running.wav
Normal file → Executable file
0
graphics_assets/background/Additional Sky.png
Normal file → Executable file
|
Before Width: | Height: | Size: 123 B After Width: | Height: | Size: 123 B |
0
graphics_assets/background/Additional Water.png
Normal file → Executable file
|
Before Width: | Height: | Size: 122 B After Width: | Height: | Size: 122 B |
0
graphics_assets/background/BG Image.png
Normal file → Executable file
|
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 586 B |
0
graphics_assets/background/forest/block.png
Normal file → Executable file
|
Before Width: | Height: | Size: 934 B After Width: | Height: | Size: 934 B |
0
graphics_assets/background/forestbackground.png
Normal file → Executable file
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
0
graphics_assets/badguys/slime_green.png
Normal file → Executable file
|
Before Width: | Height: | Size: 908 B After Width: | Height: | Size: 908 B |
0
graphics_assets/badguys/slime_purple.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
0
graphics_assets/bullets/bullet.png
Normal file → Executable file
|
Before Width: | Height: | Size: 200 B After Width: | Height: | Size: 200 B |
0
graphics_assets/bullets/pixel_bullet.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
0
graphics_assets/fonts/PixelOperator8-Bold.ttf
Normal file → Executable file
0
graphics_assets/fonts/PixelOperator8.ttf
Normal file → Executable file
0
graphics_assets/objects/crate.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
0
graphics_assets/objects/grenade.png
Normal file → Executable file
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 57 KiB |
0
graphics_assets/packs/legacy_forest/Tiles.png
Normal file → Executable file
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
0
graphics_assets/pickups/coin.png
Normal file → Executable file
|
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 500 B |
0
graphics_assets/player/Player Death/Player Death 64x64.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Death/Player Death 64x64.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
graphics_assets/player/Player Hurt/Player Hurt 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
0
graphics_assets/player/Player Idle/Player Idle 48x48.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Idle/Player Idle 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
0
graphics_assets/player/Player Jump/player jump 48x48.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Jump/player jump 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1021 B After Width: | Height: | Size: 1021 B |
0
graphics_assets/player/Player Land/player land 48x48.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Land/player land 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
graphics_assets/player/Player Punch/Player Punch 64x64.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Punch/Player Punch 64x64.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
0
graphics_assets/player/Player Run/player run 48x48.aseprite
Normal file → Executable file
0
graphics_assets/player/Player Run/player run 48x48.png
Normal file → Executable file
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
0
graphics_assets/terrains/Basic Tilemap.png
Normal file → Executable file
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
0
graphics_assets/terrains/vegetation/mushroom_32x64.png
Normal file → Executable file
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
0
graphics_assets/terrains/vegetation/veg_32x32.png
Normal file → Executable file
|
Before Width: | Height: | Size: 675 B After Width: | Height: | Size: 675 B |
0
week1/3dVersion/.editorconfig
Normal file → Executable file
0
week1/3dVersion/.gitattributes
vendored
Normal file → Executable file
0
week1/3dVersion/.gitignore
vendored
Normal file → Executable file
0
week1/3dVersion/icon.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 994 B After Width: | Height: | Size: 994 B |
0
week1/3dVersion/icon.svg.import
Normal file → Executable file
0
week1/3dVersion/project.godot
Normal file → Executable file
0
week1/3dVersion/scenes/bullet.tscn
Normal file → Executable file
0
week1/3dVersion/scenes/crate.tscn
Normal file → Executable file
0
week1/3dVersion/scenes/game.tscn
Normal file → Executable file
0
week1/3dVersion/scenes/player.tscn
Normal file → Executable file
0
week1/3dVersion/scenes/trigger.tscn
Normal file → Executable file
0
week1/3dVersion/scripts/SceneManager.gd
Normal file → Executable file
0
week1/3dVersion/scripts/SceneManager.gd.uid
Normal file → Executable file
0
week1/3dVersion/scripts/bullet.gd
Normal file → Executable file
0
week1/3dVersion/scripts/bullet.gd.uid
Normal file → Executable file
0
week1/3dVersion/scripts/character_body_3d.gd
Normal file → Executable file
0
week1/3dVersion/scripts/character_body_3d.gd.uid
Normal file → Executable file
0
week1/3dVersion/scripts/crate.gd
Normal file → Executable file
0
week1/3dVersion/scripts/crate.gd.uid
Normal file → Executable file
0
week1/3dVersion/scripts/gamecontroller.gd
Normal file → Executable file
0
week1/3dVersion/scripts/gamecontroller.gd.uid
Normal file → Executable file
0
week1/3dVersion/scripts/trigger.gd
Normal file → Executable file
0
week1/3dVersion/scripts/trigger.gd.uid
Normal file → Executable file
0
week1/GodotSpeedRun/.gitattributes
vendored
Normal file → Executable file
0
week1/GodotSpeedRun/.gitignore
vendored
Normal file → Executable file
0
week1/GodotSpeedRun/icon.svg
Normal file → Executable file
|
Before Width: | Height: | Size: 950 B After Width: | Height: | Size: 950 B |
0
week1/GodotSpeedRun/icon.svg.import
Normal file → Executable file
2
week1/GodotSpeedRun/project.godot
Normal file → Executable file
@ -16,7 +16,7 @@ compatibility/default_parent_skeleton_in_mesh_instance_3d=true
|
|||||||
|
|
||||||
config/name="GodotSpeedRun"
|
config/name="GodotSpeedRun"
|
||||||
run/main_scene="res://scenes/game.tscn"
|
run/main_scene="res://scenes/game.tscn"
|
||||||
config/features=PackedStringArray("4.6", "Forward Plus")
|
config/features=PackedStringArray("4.7", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
||||||
[file_customization]
|
[file_customization]
|
||||||
|
|||||||
41
week1/GodotSpeedRun/scenes/game.tscn
Normal file → Executable file
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=8 format=3 uid="uid://y083suj12rld"]
|
[gd_scene format=3 uid="uid://y083suj12rld"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://cjym0i568q43q" path="res://scripts/gamecontroller.gd" id="1_77wyw"]
|
[ext_resource type="Script" uid="uid://cjym0i568q43q" path="res://scripts/gamecontroller.gd" id="1_77wyw"]
|
||||||
[ext_resource type="Script" uid="uid://cxtom61f1i8rm" path="res://scripts/CharacterBody2D.gd" id="1_u4sui"]
|
[ext_resource type="Script" uid="uid://cxtom61f1i8rm" path="res://scripts/CharacterBody2D.gd" id="1_u4sui"]
|
||||||
@ -15,79 +15,80 @@ size = Vector2(91, 20)
|
|||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ubfw4"]
|
||||||
radius = 13.0384
|
radius = 13.0384
|
||||||
|
|
||||||
[node name="Game" type="Node2D"]
|
[node name="Game" type="Node2D" unique_id=1861522217]
|
||||||
script = ExtResource("1_77wyw")
|
script = ExtResource("1_77wyw")
|
||||||
|
|
||||||
[node name="SB_Boundary" type="StaticBody2D" parent="."]
|
[node name="SB_Boundary" type="StaticBody2D" parent="." unique_id=700150562]
|
||||||
position = Vector2(236, 415)
|
position = Vector2(236, 415)
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="SB_Boundary"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="SB_Boundary" unique_id=1818013331]
|
||||||
shape = SubResource("WorldBoundaryShape2D_3u4a8")
|
shape = SubResource("WorldBoundaryShape2D_3u4a8")
|
||||||
|
|
||||||
[node name="RB_Crate" type="RigidBody2D" parent="."]
|
[node name="RB_Crate" type="RigidBody2D" parent="." unique_id=1335720771]
|
||||||
position = Vector2(141, 231)
|
position = Vector2(141, 231)
|
||||||
rotation = 0.545383
|
rotation = 0.545383
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RB_Crate"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RB_Crate" unique_id=1174533458]
|
||||||
shape = SubResource("RectangleShape2D_4vo4d")
|
shape = SubResource("RectangleShape2D_4vo4d")
|
||||||
debug_color = Color(0.815686, 0.4, 0.207843, 0.419608)
|
debug_color = Color(0.815686, 0.4, 0.207843, 0.419608)
|
||||||
|
|
||||||
[node name="RB_Crate2" type="RigidBody2D" parent="."]
|
[node name="RB_Crate2" type="RigidBody2D" parent="." unique_id=290029641]
|
||||||
position = Vector2(531, 193)
|
position = Vector2(531, 193)
|
||||||
rotation = 0.545383
|
rotation = 0.545383
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="RB_Crate2"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="RB_Crate2" unique_id=1020647178]
|
||||||
shape = SubResource("RectangleShape2D_4vo4d")
|
shape = SubResource("RectangleShape2D_4vo4d")
|
||||||
debug_color = Color(0.815686, 0.4, 0.207843, 0.419608)
|
debug_color = Color(0.815686, 0.4, 0.207843, 0.419608)
|
||||||
|
|
||||||
[node name="level" type="Node2D" parent="."]
|
[node name="level" type="Node2D" parent="." unique_id=706960970]
|
||||||
|
|
||||||
[node name="groundblock2" type="StaticBody2D" parent="level"]
|
[node name="groundblock2" type="StaticBody2D" parent="level" unique_id=459481081]
|
||||||
position = Vector2(548, 315)
|
position = Vector2(548, 315)
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock2"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock2" unique_id=1283593434]
|
||||||
position = Vector2(-1.5, 0)
|
position = Vector2(-1.5, 0)
|
||||||
shape = SubResource("RectangleShape2D_cq7kj")
|
shape = SubResource("RectangleShape2D_cq7kj")
|
||||||
|
|
||||||
[node name="groundblock3" type="StaticBody2D" parent="level"]
|
[node name="groundblock3" type="StaticBody2D" parent="level" unique_id=14509889]
|
||||||
position = Vector2(378, 279)
|
position = Vector2(378, 279)
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock3"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock3" unique_id=466553306]
|
||||||
position = Vector2(-1.5, 0)
|
position = Vector2(-1.5, 0)
|
||||||
shape = SubResource("RectangleShape2D_cq7kj")
|
shape = SubResource("RectangleShape2D_cq7kj")
|
||||||
|
|
||||||
[node name="groundblock" type="StaticBody2D" parent="level"]
|
[node name="groundblock" type="StaticBody2D" parent="level" unique_id=890475829]
|
||||||
position = Vector2(124, 357)
|
position = Vector2(124, 357)
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock" unique_id=1759623524]
|
||||||
position = Vector2(-1.5, 0)
|
position = Vector2(-1.5, 0)
|
||||||
shape = SubResource("RectangleShape2D_cq7kj")
|
shape = SubResource("RectangleShape2D_cq7kj")
|
||||||
|
|
||||||
[node name="groundblock4" type="StaticBody2D" parent="level"]
|
[node name="groundblock4" type="StaticBody2D" parent="level" unique_id=480656762]
|
||||||
position = Vector2(91, 430)
|
position = Vector2(91, 430)
|
||||||
scale = Vector2(3.76, 1)
|
scale = Vector2(3.76, 1)
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock4"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="level/groundblock4" unique_id=852839133]
|
||||||
position = Vector2(-1.5, 0)
|
position = Vector2(-1.5, 0)
|
||||||
shape = SubResource("RectangleShape2D_cq7kj")
|
shape = SubResource("RectangleShape2D_cq7kj")
|
||||||
|
|
||||||
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
|
[node name="CharacterBody2D" type="CharacterBody2D" parent="." unique_id=1976891311]
|
||||||
position = Vector2(82, 331)
|
position = Vector2(82, 331)
|
||||||
collision_mask = 3
|
collision_mask = 3
|
||||||
script = ExtResource("1_u4sui")
|
script = ExtResource("1_u4sui")
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D" unique_id=324441678]
|
||||||
shape = SubResource("CircleShape2D_ubfw4")
|
shape = SubResource("CircleShape2D_ubfw4")
|
||||||
|
|
||||||
[node name="Trigger" parent="." instance=ExtResource("3_8dqk0")]
|
[node name="Trigger" parent="." unique_id=228589396 instance=ExtResource("3_8dqk0")]
|
||||||
|
position = Vector2(442, 394)
|
||||||
effect = "destroy"
|
effect = "destroy"
|
||||||
|
|
||||||
[connection signal="areatrigger" from="Trigger" to="." method="_on_area_2d_areatrigger"]
|
[connection signal="areatrigger" from="Trigger" to="." method="_on_area_2d_areatrigger"]
|
||||||
|
|||||||
7
week1/GodotSpeedRun/scenes/trigger.tscn
Normal file → Executable file
@ -1,16 +1,15 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://bqdsxxxm7gmj4"]
|
[gd_scene format=3 uid="uid://bqdsxxxm7gmj4"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bopx7olk57553" path="res://scripts/Trigger.gd" id="1_4rgu6"]
|
[ext_resource type="Script" uid="uid://bopx7olk57553" path="res://scripts/Trigger.gd" id="1_4rgu6"]
|
||||||
|
|
||||||
[sub_resource type="CircleShape2D" id="CircleShape2D_x8qck"]
|
[sub_resource type="CircleShape2D" id="CircleShape2D_x8qck"]
|
||||||
radius = 60.2993
|
radius = 60.2993
|
||||||
|
|
||||||
[node name="Trigger" type="Area2D"]
|
[node name="Trigger" type="Area2D" unique_id=1543747344]
|
||||||
position = Vector2(624, 416)
|
|
||||||
script = ExtResource("1_4rgu6")
|
script = ExtResource("1_4rgu6")
|
||||||
metadata/_edit_group_ = true
|
metadata/_edit_group_ = true
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1255234318]
|
||||||
shape = SubResource("CircleShape2D_x8qck")
|
shape = SubResource("CircleShape2D_x8qck")
|
||||||
debug_color = Color(0.556863, 0.415686, 0.964706, 0.419608)
|
debug_color = Color(0.556863, 0.415686, 0.964706, 0.419608)
|
||||||
|
|
||||||
|
|||||||