From 2f06eb7f8bb780107d4942f5af906ca9e56b7fa6 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Mon, 17 Aug 2020 12:15:41 +0200 Subject: [PATCH] Game1 basics --- images/game1/Herbert-01.png | Bin 0 -> 15804 bytes .../Herbert-01.png.import} | 6 +- images/game1/Herbert-02.png | Bin 0 -> 2158 bytes .../Herbert-02.png.import} | 6 +- images/game1/HerbertSprite1_Left.png | Bin 0 -> 344 bytes images/game1/HerbertSprite1_Left.png.import | 34 ++++++ images/game1/HerbertSprite1_Right.png | Bin 0 -> 342 bytes images/game1/HerbertSprite1_Right.png.import | 34 ++++++ images/game1/HerbertSprite1_Still.png | Bin 0 -> 246 bytes images/game1/HerbertSprite1_Still.png.import | 34 ++++++ images/game1/ParralaxPoutre1.png | Bin 0 -> 1279 bytes images/game1/ParralaxPoutre1.png.import | 34 ++++++ images/game1/ParralaxPoutre2.png | Bin 0 -> 1167 bytes images/game1/ParralaxPoutre2.png.import | 34 ++++++ images/game1/opening.tres | 111 ++++++++++++++++++ images/game1/opening2bg.tres | 15 +++ images/game1/player.tres | 63 ++++++++++ project.godot | 28 +++++ scenes/game1.tscn | 21 ++++ scenes/player.tscn | 16 +++ scripts/game1/Game1Script.gd | 7 ++ 21 files changed, 437 insertions(+), 6 deletions(-) create mode 100644 images/game1/Herbert-01.png rename images/{menu.png.import => game1/Herbert-01.png.import} (69%) create mode 100644 images/game1/Herbert-02.png rename images/{titleCampfire_start.png.import => game1/Herbert-02.png.import} (67%) create mode 100644 images/game1/HerbertSprite1_Left.png create mode 100644 images/game1/HerbertSprite1_Left.png.import create mode 100644 images/game1/HerbertSprite1_Right.png create mode 100644 images/game1/HerbertSprite1_Right.png.import create mode 100644 images/game1/HerbertSprite1_Still.png create mode 100644 images/game1/HerbertSprite1_Still.png.import create mode 100644 images/game1/ParralaxPoutre1.png create mode 100644 images/game1/ParralaxPoutre1.png.import create mode 100644 images/game1/ParralaxPoutre2.png create mode 100644 images/game1/ParralaxPoutre2.png.import create mode 100644 images/game1/opening.tres create mode 100644 images/game1/opening2bg.tres create mode 100644 images/game1/player.tres create mode 100644 scenes/game1.tscn create mode 100644 scenes/player.tscn create mode 100644 scripts/game1/Game1Script.gd diff --git a/images/game1/Herbert-01.png b/images/game1/Herbert-01.png new file mode 100644 index 0000000000000000000000000000000000000000..85a2e0f35b8917e8b69b4e02b422894dcd993dc1 GIT binary patch literal 15804 zcmch8cR*8D`#;oLY*j3^;sR2o6kEWBATw8#pWJu}&1O!xe0$fKGR3OCxqCgak zs0b0m6hf>El@Vsb4hoXQ01>m`hI`NN;^@-%ZNIR6n%eYrYwb6wsc9U-e{Y-e8UF7VZCDfjpL*yfr`2i&^*SOowQtnc+1qW2${6bI zJpKGm>Z*;`9s}TmJX=w*_UY^=se=aj%NA~s4IBTOWE-@65$L^O2$AF z=;LwHvOKNp=prErxHW^&}$;-c;~8L~P$UgJ%>r&h+>q zDkxfclKoIB<5RITxB#$a(06EQbR|}O1(;KL;Jl1KFoF=yV4XJJV0ROIv04nTM?$1g zD0LkO(qn*S4r1UZdEzHWx|uv{5$uIPuAr|8L?eVWjMEItWN;Q%O$SmLv>2u3 zf&(I8gHm090Do0W#jl(kw#RHF&BpLZdLL|q?Z6ED8qN}fpD3-8%j&63AWFth#;S8b zgbdO{OLM@8kgbbSoxqR~wn0LiKwl$ljS#3C-TKtC=9I~sk;<&> z#Zo=)J>w*{?>tWq-)g@8^E(ayRmb<{$Wf3E-ZFW)T!O2f*a4roR#O?j76tAXE+-g0 zUq4Qny8NCvY3U5NMW0K9M9b(QSNR-%fCEsnd!|VDPyV~*-uL>4k!v5LY;Q)lT>C(} z61TSFFx&o@=(5#C80_pfu)$!-ofWUN%oXh>`P3#;H-%p5Y|tdlS$PSR3)#t-ARAaA zv{RT^2rot$Isc*2{v|XXsm7=q7fkK;SVZGc=fF=M*`AW{I;^nL3z={jLW{@5B3KV$ ztcQO+75mq9a7UNf+fkzD`QcrhO+?Ru|Cd1o+j9T%JyN_oyL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uIW69^2;k~dB0ZSXg*5jz z@P{Gs*vS+DSJBLvw)OU`2#hateNPwu3%-YY&rdaRkA|Y}KVs0PrBm*4q>P+j?XL1$ zA81W}ldcB4e->AKBBW{keSn}>V^KERPK)M7^{a9!j`?n&`+?dXXt#ecy9wA-#<$`- zh#%SsA8ZU2-GGz6AEH$h@6;Xp>4x&N7nHA~ZR*3#4}!!TL7el)w>A6Z+6~1eN4l*x z?;7fTw6!!K;!6u^7U?B10Q7&vJrio;sZSbyU?<;nV`zju)jeFzBEC2iw2Fxy-~m^~ z<=~fslm!P7!=o%{5nDw2+lpGkg_%Z&Tv+EW z4itS^2ux^xlR{9{G#Q`27sWk;7mCv`RWp8_OM*i(A~uBLcepToiYh!;5vD7oldFK| zcu-x8i1IZ;bpfadzul$8Q7svthV?bU@PBADS_4XT)QFTVtQV~M?v<=sVa=kZai^EG zl>AoG4r+5;i zA?mjGPw|@OL0w5!=Q{A%6qf{t=Y};DB1$Pc=E?ku#xUvJB?615_h7kwa#IKeZlIVkNhu4t(89j literal 0 HcmV?d00001 diff --git a/images/menu.png.import b/images/game1/Herbert-01.png.import similarity index 69% rename from images/menu.png.import rename to images/game1/Herbert-01.png.import index 9bf9011..45c6f3f 100644 --- a/images/menu.png.import +++ b/images/game1/Herbert-01.png.import @@ -2,15 +2,15 @@ importer="texture" type="StreamTexture" -path="res://.import/menu.png-09788ebfe49b6ddbddfddd3ff6e0248b.stex" +path="res://.import/Herbert-01.png-49eaf794507be21557bb8007dd5cb5ba.stex" metadata={ "vram_texture": false } [deps] -source_file="res://images/menu.png" -dest_files=[ "res://.import/menu.png-09788ebfe49b6ddbddfddd3ff6e0248b.stex" ] +source_file="res://images/game1/Herbert-01.png" +dest_files=[ "res://.import/Herbert-01.png-49eaf794507be21557bb8007dd5cb5ba.stex" ] [params] diff --git a/images/game1/Herbert-02.png b/images/game1/Herbert-02.png new file mode 100644 index 0000000000000000000000000000000000000000..b865b2549618395e4ad83490201e40d7be8d1948 GIT binary patch literal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/images/game1/ParralaxPoutre2.png.import b/images/game1/ParralaxPoutre2.png.import new file mode 100644 index 0000000..36e25da --- /dev/null +++ b/images/game1/ParralaxPoutre2.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/ParralaxPoutre2.png-10d550c3a487fd5aff3d8ffda6739e44.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://images/game1/ParralaxPoutre2.png" +dest_files=[ "res://.import/ParralaxPoutre2.png-10d550c3a487fd5aff3d8ffda6739e44.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/images/game1/opening.tres b/images/game1/opening.tres new file mode 100644 index 0000000..7fbbebf --- /dev/null +++ b/images/game1/opening.tres @@ -0,0 +1,111 @@ +[gd_resource type="SpriteFrames" load_steps=22 format=2] + +[ext_resource path="res://images/game1/Herbert-01.png" type="Texture" id=1] + +[sub_resource type="AtlasTexture" id=1] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 0, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=2] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 192, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=3] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 384, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=4] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 576, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=5] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 768, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=6] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 960, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=7] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1152, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=8] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1344, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=9] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1536, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=10] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1728, 0, 192, 108 ) + +[sub_resource type="AtlasTexture" id=11] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 0, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=12] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 192, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=13] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 384, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=14] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 576, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=15] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 768, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=16] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 960, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=17] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1152, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=18] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1344, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=19] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1536, 108, 192, 108 ) + +[sub_resource type="AtlasTexture" id=20] +flags = 4 +atlas = ExtResource( 1 ) +region = Rect2( 1728, 108, 192, 108 ) + +[resource] +animations = [ { +"frames": [ SubResource( 1 ), SubResource( 2 ), SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ), SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ), SubResource( 11 ), SubResource( 12 ), SubResource( 13 ), SubResource( 14 ), SubResource( 15 ), SubResource( 16 ), SubResource( 17 ), SubResource( 18 ), SubResource( 19 ), SubResource( 20 ) ], +"loop": true, +"name": "default", +"speed": 10.0 +} ] diff --git a/images/game1/opening2bg.tres b/images/game1/opening2bg.tres new file mode 100644 index 0000000..2172663 --- /dev/null +++ b/images/game1/opening2bg.tres @@ -0,0 +1,15 @@ +[gd_resource type="SpriteFrames" load_steps=3 format=2] + +[ext_resource path="res://images/game1/Herbert-02.png" type="Texture" id=1] + +[sub_resource type="AtlasTexture" id=1] +atlas = ExtResource( 1 ) +region = Rect2( 0, 0, 192, 108 ) + +[resource] +animations = [ { +"frames": [ SubResource( 1 ) ], +"loop": true, +"name": "default", +"speed": 10.0 +} ] diff --git a/images/game1/player.tres b/images/game1/player.tres new file mode 100644 index 0000000..a2ed5ea --- /dev/null +++ b/images/game1/player.tres @@ -0,0 +1,63 @@ +[gd_resource type="SpriteFrames" load_steps=14 format=2] + +[ext_resource path="res://images/game1/HerbertSprite1_Still.png" type="Texture" id=1] +[ext_resource path="res://images/game1/HerbertSprite1_Left.png" type="Texture" id=2] +[ext_resource path="res://images/game1/HerbertSprite1_Right.png" type="Texture" id=3] + +[sub_resource type="AtlasTexture" id=3] +atlas = ExtResource( 2 ) +region = Rect2( 0, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=4] +atlas = ExtResource( 2 ) +region = Rect2( 24, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=5] +atlas = ExtResource( 2 ) +region = Rect2( 48, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=6] +atlas = ExtResource( 2 ) +region = Rect2( 72, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=7] +atlas = ExtResource( 3 ) +region = Rect2( 0, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=8] +atlas = ExtResource( 3 ) +region = Rect2( 24, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=9] +atlas = ExtResource( 3 ) +region = Rect2( 48, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=10] +atlas = ExtResource( 3 ) +region = Rect2( 72, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=1] +atlas = ExtResource( 1 ) +region = Rect2( 0, 0, 24, 12 ) + +[sub_resource type="AtlasTexture" id=2] +atlas = ExtResource( 1 ) +region = Rect2( 24, 0, 24, 12 ) + +[resource] +animations = [ { +"frames": [ SubResource( 3 ), SubResource( 4 ), SubResource( 5 ), SubResource( 6 ) ], +"loop": true, +"name": "left", +"speed": 10.0 +}, { +"frames": [ SubResource( 7 ), SubResource( 8 ), SubResource( 9 ), SubResource( 10 ) ], +"loop": true, +"name": "right", +"speed": 10.0 +}, { +"frames": [ SubResource( 1 ), SubResource( 2 ) ], +"loop": true, +"name": "default", +"speed": 10.0 +} ] diff --git a/project.godot b/project.godot index 1a95605..8523472 100644 --- a/project.godot +++ b/project.godot @@ -61,6 +61,34 @@ ui_accept={ , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) ] } +right={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":15,"pressure":0.0,"pressed":false,"script":null) + ] +} +left={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) + ] +} +up={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":12,"pressure":0.0,"pressed":false,"script":null) + ] +} +down={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) + ] +} [rendering] diff --git a/scenes/game1.tscn b/scenes/game1.tscn new file mode 100644 index 0000000..e92bae9 --- /dev/null +++ b/scenes/game1.tscn @@ -0,0 +1,21 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://images/game1/opening.tres" type="SpriteFrames" id=1] +[ext_resource path="res://images/game1/opening2bg.tres" type="SpriteFrames" id=2] +[ext_resource path="res://scripts/game1/Game1Script.gd" type="Script" id=3] +[ext_resource path="res://scenes/player.tscn" type="PackedScene" id=4] + +[node name="Node2D" type="Node2D"] +script = ExtResource( 3 ) + +[node name="Opening2Bg" type="AnimatedSprite" parent="."] +frames = ExtResource( 2 ) +centered = false + +[node name="Opening" type="AnimatedSprite" parent="."] +visible = false +frames = ExtResource( 1 ) +centered = false + +[node name="RigidBody2D" parent="." instance=ExtResource( 4 )] +position = Vector2( -6.22136, 83.6906 ) diff --git a/scenes/player.tscn b/scenes/player.tscn new file mode 100644 index 0000000..b090ffe --- /dev/null +++ b/scenes/player.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://images/game1/player.tres" type="SpriteFrames" id=1] + +[sub_resource type="RectangleShape2D" id=1] +extents = Vector2( 10, 4.01179 ) + +[node name="Player" type="RigidBody2D"] +mode = 2 +gravity_scale = 0.0 + +[node name="CollisionShape2D" type="CollisionShape2D" parent="."] +shape = SubResource( 1 ) + +[node name="Sprite" type="AnimatedSprite" parent="."] +frames = ExtResource( 1 ) diff --git a/scripts/game1/Game1Script.gd b/scripts/game1/Game1Script.gd new file mode 100644 index 0000000..8af9e7d --- /dev/null +++ b/scripts/game1/Game1Script.gd @@ -0,0 +1,7 @@ +extends Node + + +func _ready(): + $Opening.play('default') + yield($Opening, 'animation_finished') + $Opening.hide()