additional graphics
This commit is contained in:
1 parent
8ad370fa42
commit
55ba9498aa
186 files changed
+102
-77
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
@@ -1,13 +1,14 @@
|
||||
ea4bc82a6ad023ab7ee23ee620429895
|
||||
::res://::1725904718
|
||||
::res://::1726506541
|
||||
icon.svg::CompressedTexture2D::9114977118871582245::1718541837::1718541843::1::::<><>::
|
||||
::res://assets/::1718552371
|
||||
::res://scenes/::1725906775
|
||||
bullet.tscn::PackedScene::6880909734590904373::1725906775::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1725906775::0::1::::<><>::res://scripts/CharacterBody2D.gd
|
||||
game.tscn::PackedScene::1738196330916037717::1725913478::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>res://scripts/Trigger.gd
|
||||
::res://scripts/::1725906775
|
||||
bullet.gd::GDScript::-1::1722021779::0::1::::<>Area2D<>::
|
||||
CharacterBody2D.gd::GDScript::-1::1725906775::0::1::::<>CharacterBody2D<>::
|
||||
gamecontroller.gd::GDScript::-1::1718560874::0::1::::<>Node2D<>::
|
||||
::res://scenes/::1725933556
|
||||
bullet.tscn::PackedScene::6880909734590904373::1725917736::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1725933556::0::1::::<><>::res://scripts/CharacterBody2D.gd
|
||||
crate.tscn::PackedScene::2493377528876753974::1725917736::0::1::::<><>::
|
||||
game.tscn::PackedScene::1738196330916037717::1725917760::0::1::::<><>::res://scripts/SceneManager.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>res://scripts/Trigger.gd<>uid://bbr2tfsjefwn3::::res://scenes/crate.tscn
|
||||
::res://scripts/::1725917191
|
||||
bullet.gd::GDScript::-1::1725916885::0::1::::Bullet<>Area2D<>::
|
||||
CharacterBody2D.gd::GDScript::-1::1725917150::0::1::::<>CharacterBody2D<>::
|
||||
SceneManager.gd::GDScript::-1::1725917191::0::1::::<>Node<>::
|
||||
Trigger.gd::GDScript::-1::1718561036::0::1::::<>Area2D<>::
|
||||
@@ -1,7 +0,0 @@
|
||||
res://scenes/game.tscn
|
||||
res://scripts/CharacterBody2D.gd
|
||||
res://scenes/character.tscn
|
||||
res://scenes/bullet.tscn
|
||||
res://scripts/SceneManager.gd
|
||||
res://scripts/bullet.gd
|
||||
res://scenes/crate.tscn
|
||||
@@ -11,7 +11,7 @@ run_debug_collisions=true
|
||||
|
||||
[recent_files]
|
||||
|
||||
scenes=["res://scenes/crate.tscn", "res://scenes/game.tscn", "res://scenes/bullet.tscn", "res://scenes/character.tscn"]
|
||||
scenes=["res://scenes/crate.tscn", "res://scenes/bullet.tscn", "res://scenes/character.tscn", "res://scenes/game.tscn"]
|
||||
scripts=["res://scripts/Trigger.gd", "res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/gamecontroller.gd"]
|
||||
|
||||
[linked_properties]
|
||||
|
||||
@@ -7,7 +7,7 @@ state={
|
||||
"folded_lines": Array[int]([]),
|
||||
"h_scroll_position": 0,
|
||||
"row": 41,
|
||||
"scroll_position": 33.0,
|
||||
"scroll_position": 41.0,
|
||||
"selection": false,
|
||||
"syntax_highlighter": "GDScript"
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
## Week 3: Animated Graphics, Tilemap Layers
|
||||
|
||||
### Description:
|
||||
Understand how to animate a player character (as well as other items and NPCs) using animated sprites. Learn to use a Tilemap Layer and Terrain to build out your game world.
|
||||
|
||||
### Code Concepts:
|
||||
|
||||
* SceneManager
|
||||
* Asset Pooling
|
||||
|
||||
Learn to use a central scene manager to manage the state of what we see upon the screen.
|
||||
Implement pooling to keep track of bullets.
|
||||
|
||||
### Development Exercise 1 - Pooling
|
||||
|
||||
In this exercise create the SceneManager and learn to use it for spawning bullets. (Move this responsibility from the player to the SceneManager)
|
||||
|
||||
### Exercise 2 - Player Animation
|
||||
|
||||
Learn to use the AnimatedSprite2D to provide several animations to your player character, based on the actions they are able to do.
|
||||
|
||||
### Exercise 3 - Tilemap Layer
|
||||
|
||||
Create a tilemap layer, learn to import and use tilesets for fleshing out your game world.
|
||||
@@ -1,5 +1,5 @@
|
||||
ea4bc82a6ad023ab7ee23ee620429895
|
||||
::res://::1724630022
|
||||
::res://::1726514291
|
||||
icon.svg::CompressedTexture2D::9114977118871582245::1721179661::1721179661::1::::<><>::
|
||||
::res://graphics/::1721682223
|
||||
Terrain (32x32).png::CompressedTexture2D::8707534964839485024::1721679370::1721679370::1::::<><>::
|
||||
@@ -13,11 +13,11 @@ player jump 48x48.png::CompressedTexture2D::1627608568707791839::1721673245::172
|
||||
player land 48x48.png::CompressedTexture2D::3499637713582873633::1721673245::1721673245::1::::<><>::
|
||||
::res://graphics/Player Run/::1721673245
|
||||
player run 48x48.png::CompressedTexture2D::1502492849971408816::1721673245::1721673245::1::::<><>::
|
||||
::res://scenes/::1724625813
|
||||
bullet.tscn::PackedScene::6880909734590904373::1724625813::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1724625813::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://c0iiaebonyhh0::::res://graphics/Player Idle/Player Idle 48x48.png<>uid://xgoqfqmvorcx::::res://graphics/Player Jump/player jump 48x48.png<>uid://vn23qn3f0dvc::::res://graphics/Player Run/player run 48x48.png
|
||||
crate.tscn::PackedScene::41931541512830250::1724625813::0::1::::<><>::uid://ddxm7hj323fta::::res://graphics/items/cannister.png
|
||||
game.tscn::PackedScene::1738196330916037717::1724625813::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://dwb83f7uoweuy::::res://graphics/Terrain (32x32).png<>res://scripts/Trigger.gd<>uid://ukuu7p7vhlq::::res://scenes/crate.tscn
|
||||
::res://scenes/::1724630256
|
||||
bullet.tscn::PackedScene::6880909734590904373::1724630119::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1724630119::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://c0iiaebonyhh0::::res://graphics/Player Idle/Player Idle 48x48.png<>uid://xgoqfqmvorcx::::res://graphics/Player Jump/player jump 48x48.png<>uid://vn23qn3f0dvc::::res://graphics/Player Run/player run 48x48.png
|
||||
crate.tscn::PackedScene::41931541512830250::1724630119::0::1::::<><>::uid://ddxm7hj323fta::::res://graphics/items/cannister.png
|
||||
game.tscn::PackedScene::1738196330916037717::1724630256::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://dwb83f7uoweuy::::res://graphics/Terrain (32x32).png<>res://scripts/Trigger.gd<>uid://ukuu7p7vhlq::::res://scenes/crate.tscn
|
||||
::res://scripts/::1721681291
|
||||
bullet.gd::GDScript::-1::1721179661::0::1::::<>Area2D<>::
|
||||
CharacterBody2D.gd::GDScript::-1::1721681291::0::1::::<>CharacterBody2D<>::
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
res://scenes/game.tscn
|
||||
res://scenes/character.tscn
|
||||
res://scenes/bullet.tscn
|
||||
res://scenes/crate.tscn
|
||||
@@ -21,7 +21,7 @@ state={
|
||||
"folded_lines": Array[int]([]),
|
||||
"h_scroll_position": 0,
|
||||
"row": 46,
|
||||
"scroll_position": 0.0,
|
||||
"scroll_position": 31.0,
|
||||
"selection": false,
|
||||
"syntax_highlighter": "GDScript"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ea4bc82a6ad023ab7ee23ee620429895
|
||||
::res://::1725904667
|
||||
::res://::1726506575
|
||||
icon.svg::CompressedTexture2D::9114977118871582245::1722277386::1722277386::1::::<><>::
|
||||
::res://graphics/::1722285155
|
||||
Terrain (32x32).png::CompressedTexture2D::8707534964839485024::1722277386::1722277386::1::::<><>::
|
||||
|
||||
@@ -21,6 +21,10 @@ dock_filesystem_file_sort=0
|
||||
dock_filesystem_file_list_display_mode=1
|
||||
dock_filesystem_selected_paths=PackedStringArray("res://graphics/Player Death/")
|
||||
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scenes/", "res://graphics/")
|
||||
dock_bottom=[]
|
||||
dock_closed=[]
|
||||
dock_filesystem_h_split_offset=240
|
||||
dock_filesystem_v_split_offset=0
|
||||
dock_3="Scene,Import"
|
||||
dock_4="FileSystem"
|
||||
dock_5="Inspector,Node,History"
|
||||
@@ -37,13 +41,15 @@ selected_bottom_panel_item=0
|
||||
[ScriptEditor]
|
||||
|
||||
open_scripts=["res://scripts/badguy.gd", "res://scripts/bullet.gd", "res://scripts/CharacterBody2D.gd", "res://scripts/coin.gd", "res://scripts/gamecontroller.gd", "res://scripts/Trigger.gd"]
|
||||
selected_script="res://scripts/badguy.gd"
|
||||
selected_script="res://scripts/gamecontroller.gd"
|
||||
open_help=[]
|
||||
script_split_offset=70
|
||||
list_split_offset=0
|
||||
zoom_factor=1.0
|
||||
|
||||
[ShaderEditor]
|
||||
|
||||
open_shaders=[]
|
||||
split_offset=0
|
||||
selected_shader=""
|
||||
text_shader_zoom_factor=1.0
|
||||
@@ -1,5 +1,5 @@
|
||||
ea4bc82a6ad023ab7ee23ee620429895
|
||||
::res://::1724626343
|
||||
::res://::1726506615
|
||||
icon.svg::CompressedTexture2D::9114977118871582245::1723471253::1723471253::1::::<><>::
|
||||
::res://graphics/::1723498498
|
||||
coin.png::CompressedTexture2D::7063880403899111552::1723478773::1723478782::1::::<><>::
|
||||
@@ -21,14 +21,14 @@ player jump 48x48.png::CompressedTexture2D::1627608568707791839::1723471253::172
|
||||
player land 48x48.png::CompressedTexture2D::3499637713582873633::1723471253::1723471253::1::::<><>::
|
||||
::res://graphics/Player Run/::1723471253
|
||||
player run 48x48.png::CompressedTexture2D::1502492849971408816::1723471253::1723471253::1::::<><>::
|
||||
::res://scenes/::1724154767
|
||||
::res://scenes/::1724627196
|
||||
area_trigger.tscn::PackedScene::2953141911562060689::1723489409::0::1::::<><>::res://scripts/Trigger.gd
|
||||
badguy.tscn::PackedScene::8923528729538756339::1724154767::0::1::::<><>::res://scripts/badguy.gd<>uid://c4g3ypigewuuu::::res://graphics/slime_green.png
|
||||
bullet.tscn::PackedScene::6880909734590904373::1724154767::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1724154767::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://c0iiaebonyhh0::::res://graphics/Player Idle/Player Idle 48x48.png<>uid://bwnec1thq1btr::::res://graphics/Player Death/Player Death 64x64.png<>uid://xgoqfqmvorcx::::res://graphics/Player Jump/player jump 48x48.png<>uid://vn23qn3f0dvc::::res://graphics/Player Run/player run 48x48.png
|
||||
badguy.tscn::PackedScene::8923528729538756339::1724627196::0::1::::<><>::res://scripts/badguy.gd<>uid://c4g3ypigewuuu::::res://graphics/slime_green.png
|
||||
bullet.tscn::PackedScene::6880909734590904373::1724627196::0::1::::<><>::res://scripts/bullet.gd
|
||||
character.tscn::PackedScene::451838158579532324::1724627196::0::1::::<><>::res://scripts/CharacterBody2D.gd<>uid://c0iiaebonyhh0::::res://graphics/Player Idle/Player Idle 48x48.png<>uid://bwnec1thq1btr::::res://graphics/Player Death/Player Death 64x64.png<>uid://xgoqfqmvorcx::::res://graphics/Player Jump/player jump 48x48.png<>uid://vn23qn3f0dvc::::res://graphics/Player Run/player run 48x48.png
|
||||
coin.tscn::PackedScene::61828818800194477::1723489409::0::1::::<><>::uid://c7v2cwn2826lg::::res://graphics/coin.png<>res://scripts/coin.gd
|
||||
crate.tscn::PackedScene::41931541512830250::1724154767::0::1::::<><>::uid://ddxm7hj323fta::::res://graphics/items/cannister.png
|
||||
game.tscn::PackedScene::1738196330916037717::1724154767::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://dwb83f7uoweuy::::res://graphics/Terrain (32x32).png<>uid://ukuu7p7vhlq::::res://scenes/crate.tscn<>uid://dvd1p6xue0ub2::::res://scenes/platform.tscn<>uid://dly4g7fvvtamm::::res://graphics/background/BG Image.png<>uid://bicr20de8c3jp::::res://scenes/area_trigger.tscn<>uid://cw50mfjp2np08::::res://graphics/background/Additional Sky.png<>uid://6olcj1w1svdg::::res://graphics/background/Additional Water.png<>uid://47kuhu1ukph::::res://scenes/coin.tscn<>uid://d0evhj5ayp0ep::::res://scenes/badguy.tscn
|
||||
crate.tscn::PackedScene::41931541512830250::1724627196::0::1::::<><>::uid://ddxm7hj323fta::::res://graphics/items/cannister.png
|
||||
game.tscn::PackedScene::1738196330916037717::1724627196::0::1::::<><>::res://scripts/gamecontroller.gd<>uid://go4yc8hfo1gq::::res://scenes/character.tscn<>uid://dwb83f7uoweuy::::res://graphics/Terrain (32x32).png<>uid://ukuu7p7vhlq::::res://scenes/crate.tscn<>uid://dvd1p6xue0ub2::::res://scenes/platform.tscn<>uid://dly4g7fvvtamm::::res://graphics/background/BG Image.png<>uid://bicr20de8c3jp::::res://scenes/area_trigger.tscn<>uid://cw50mfjp2np08::::res://graphics/background/Additional Sky.png<>uid://6olcj1w1svdg::::res://graphics/background/Additional Water.png<>uid://47kuhu1ukph::::res://scenes/coin.tscn<>uid://d0evhj5ayp0ep::::res://scenes/badguy.tscn
|
||||
menu.tscn::PackedScene::1738029604261438007::1723489409::0::1::::<><>::
|
||||
platform.tscn::PackedScene::8641027994130079701::1723489409::0::1::::<><>::
|
||||
::res://scripts/::1723498913
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
res://scenes/game.tscn
|
||||
res://scenes/character.tscn
|
||||
res://scenes/bullet.tscn
|
||||
res://scenes/crate.tscn
|
||||
res://scenes/badguy.tscn
|
||||
@@ -1,6 +1,6 @@
|
||||
[editor_metadata]
|
||||
|
||||
executable_path="/home/timbot/Documents/Software/godot/Godot_v4.2.1-stable_linux.x86_64"
|
||||
executable_path="/home/timbot/Documents/Software/godot/Godot_v4.3-stable_linux.x86_64"
|
||||
use_advanced_connections=false
|
||||
tile_source_sort=0
|
||||
tile_snap_option=0
|
||||
|
||||
@@ -7,7 +7,7 @@ state={
|
||||
"folded_lines": Array[int]([]),
|
||||
"h_scroll_position": 0,
|
||||
"row": 32,
|
||||
"scroll_position": 19.0,
|
||||
"scroll_position": 0.0,
|
||||
"selection": false,
|
||||
"syntax_highlighter": "GDScript"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
[res://scenes/crate.tscn]
|
||||
|
||||
groups=[&"boxes"]
|
||||
|
||||
[res://scenes/game.tscn]
|
||||
|
||||
groups=[&"player"]
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -12,7 +12,7 @@ config_version=5
|
||||
|
||||
config/name="Week5-UpdatedExample"
|
||||
run/main_scene="res://scenes/game.tscn"
|
||||
config/features=PackedStringArray("4.2", "Forward Plus")
|
||||
config/features=PackedStringArray("4.3", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[display]
|
||||
@@ -35,11 +35,11 @@ folder_colors={
|
||||
|
||||
push={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":88,"key_label":0,"unicode":120,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":88,"key_label":0,"unicode":120,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
shoot={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"echo":false,"script":null)
|
||||
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
|
||||
]
|
||||
}
|
||||
@@ -21,6 +21,10 @@ dock_filesystem_file_sort=0
|
||||
dock_filesystem_file_list_display_mode=1
|
||||
dock_filesystem_selected_paths=PackedStringArray("res://scenes/ui.tscn")
|
||||
dock_filesystem_uncollapsed_paths=PackedStringArray("Favorites", "res://", "res://scripts/", "res://scripts/resources/", "res://scripts/gameManager/", "res://scenes/", "res://graphics/fonts/")
|
||||
dock_bottom=[]
|
||||
dock_closed=[]
|
||||
dock_filesystem_h_split_offset=240
|
||||
dock_filesystem_v_split_offset=0
|
||||
dock_3="Scene,Import"
|
||||
dock_4="FileSystem"
|
||||
dock_5="Inspector,Node,History"
|
||||
@@ -31,7 +35,7 @@ open_scenes=PackedStringArray("res://scenes/game.tscn", "res://scenes/character.
|
||||
current_scene="res://scenes/game.tscn"
|
||||
center_split_offset=-252
|
||||
selected_default_debugger_tab_idx=0
|
||||
selected_main_editor_idx=0
|
||||
selected_main_editor_idx=2
|
||||
selected_bottom_panel_item=0
|
||||
|
||||
[ScriptEditor]
|
||||
@@ -41,9 +45,11 @@ selected_script="res://scripts/gamecontroller.gd"
|
||||
open_help=[]
|
||||
script_split_offset=70
|
||||
list_split_offset=0
|
||||
zoom_factor=1.0
|
||||
|
||||
[ShaderEditor]
|
||||
|
||||
open_shaders=[]
|
||||
split_offset=0
|
||||
selected_shader=""
|
||||
text_shader_zoom_factor=1.0
|
||||
Loaded 100 of 186 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user