change minigame images

This commit is contained in:
Arnaud Vergnet 2021-05-06 15:10:40 +02:00
parent 060bb7a1e5
commit 498f6ef1d3
22 changed files with 308 additions and 57 deletions

View file

@ -33,6 +33,7 @@ func _ready():
func setup(mode: String, goal: int, difficulty: String, next_lose: String, next_win: String, version: int): func setup(mode: String, goal: int, difficulty: String, next_lose: String, next_win: String, version: int):
version = 4
game_goal = goal game_goal = goal
if(difficulty == "hard"): if(difficulty == "hard"):
game_difficulty = "hard" game_difficulty = "hard"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 KiB

View file

@ -1,34 +0,0 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/background.png-505e23e85d466d6becabf2def4a53663.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/background.png"
dest_files=[ "res://.import/background.png-505e23e85d466d6becabf2def4a53663.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=true
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

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex" path="res://.import/bg1.png-8ae713bba3ad2ecc3258923cae812490.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://mini-game/ressources/backgrounds/road.png" source_file="res://mini-game/ressources/backgrounds/bg1.png"
dest_files=[ "res://.import/road.png-a47382164ab08d2b16ee5556b011c7ae.stex" ] dest_files=[ "res://.import/bg1.png-8ae713bba3ad2ecc3258923cae812490.stex" ]
[params] [params]

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex" path="res://.import/bg2.png-ed986a1e6aeff7730721b86542dccb83.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://mini-game/ressources/backgrounds/road3.png" source_file="res://mini-game/ressources/backgrounds/bg2.png"
dest_files=[ "res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex" ] dest_files=[ "res://.import/bg2.png-ed986a1e6aeff7730721b86542dccb83.stex" ]
[params] [params]

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex" path="res://.import/bg3.png-85672fb13dbe4d129faf660cb55f24ec.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://mini-game/ressources/backgrounds/road2.png" source_file="res://mini-game/ressources/backgrounds/bg3.png"
dest_files=[ "res://.import/road2.png-e0bf36dfcd897889f0653f61c752133d.stex" ] dest_files=[ "res://.import/bg3.png-85672fb13dbe4d129faf660cb55f24ec.stex" ]
[params] [params]

View file

@ -2,15 +2,15 @@
importer="texture" importer="texture"
type="StreamTexture" type="StreamTexture"
path="res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex" path="res://.import/bg4.png-aa6a9a6fa47fc463e4971b9c2630ff93.stex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://mini-game/ressources/backgrounds/ground.png" source_file="res://mini-game/ressources/backgrounds/bg4.png"
dest_files=[ "res://.import/ground.png-4932cc62bec22f379d126a8ed00b8065.stex" ] dest_files=[ "res://.import/bg4.png-aa6a9a6fa47fc463e4971b9c2630ff93.stex" ]
[params] [params]

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bg5.png-2cd6ea5f2184bb027b7b24e45141bb4e.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/bg5.png"
dest_files=[ "res://.import/bg5.png-2cd6ea5f2184bb027b7b24e45141bb4e.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bg6.png-e7c1c3681ff5618e64b93ab189acb346.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/bg6.png"
dest_files=[ "res://.import/bg6.png-e7c1c3681ff5618e64b93ab189acb346.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg1.png-1223bd947bc074f762b942936a2c3080.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg1.png"
dest_files=[ "res://.import/fg1.png-1223bd947bc074f762b942936a2c3080.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg2.png-3c5c1093a1643c1ef511181761a72e0c.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg2.png"
dest_files=[ "res://.import/fg2.png-3c5c1093a1643c1ef511181761a72e0c.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg3.png-ace556d90c80e77c61204459f3601219.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg3.png"
dest_files=[ "res://.import/fg3.png-ace556d90c80e77c61204459f3601219.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg4.png-2d72d37b23620ce49094263e1cd72ade.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg4.png"
dest_files=[ "res://.import/fg4.png-2d72d37b23620ce49094263e1cd72ade.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg5.png-c061aecd9606bd3aa6f8c79d2f3080f1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg5.png"
dest_files=[ "res://.import/fg5.png-c061aecd9606bd3aa6f8c79d2f3080f1.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=true
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

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/fg6.png-5d1e4f373d56fd25324325e27a4d63ab.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://mini-game/ressources/backgrounds/fg6.png"
dest_files=[ "res://.import/fg6.png-5d1e4f373d56fd25324325e27a4d63ab.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=true
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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

View file

@ -1,8 +1,11 @@
[gd_scene load_steps=6 format=2] [gd_scene load_steps=10 format=2]
[ext_resource path="res://mini-game/ressources/backgrounds/road3.png" type="Texture" id=1]
[ext_resource path="res://mini-game/scenes/decor/ForegroundSprite.gd" type="Script" id=2] [ext_resource path="res://mini-game/scenes/decor/ForegroundSprite.gd" type="Script" id=2]
[ext_resource path="res://mini-game/ressources/backgrounds/road.png" type="Texture" id=3] [ext_resource path="res://mini-game/ressources/backgrounds/fg6.png" type="Texture" id=3]
[ext_resource path="res://mini-game/ressources/backgrounds/fg2.png" type="Texture" id=5]
[ext_resource path="res://mini-game/ressources/backgrounds/fg1.png" type="Texture" id=6]
[ext_resource path="res://mini-game/ressources/backgrounds/fg3.png" type="Texture" id=7]
[ext_resource path="res://mini-game/ressources/backgrounds/fg5.png" type="Texture" id=8]
[sub_resource type="Shader" id=1] [sub_resource type="Shader" id=1]
code = "shader_type canvas_item; code = "shader_type canvas_item;
@ -21,15 +24,19 @@ void fragment(){
shader = SubResource( 1 ) shader = SubResource( 1 )
shader_param/scroll_speed = 0.0 shader_param/scroll_speed = 0.0
[sub_resource type="StreamTexture" id=3]
flags = 4
load_path = "res://.import/road3.png-648b2e9aa7ca850c48819c6380f474a0.stex"
[node name="ForegroundSprite" type="Sprite"] [node name="ForegroundSprite" type="Sprite"]
material = SubResource( 2 ) material = SubResource( 2 )
texture = ExtResource( 1 ) texture = SubResource( 3 )
offset = Vector2( 960, 540 ) offset = Vector2( 960, 540 )
script = ExtResource( 2 ) script = ExtResource( 2 )
__meta__ = { __meta__ = {
"_editor_description_": "" "_editor_description_": ""
} }
textures = [ ExtResource( 1 ), ExtResource( 3 ) ] textures = [ ExtResource( 6 ), ExtResource( 5 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 3 ) ]
[node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."] [node name="VisibilityNotifier2D" type="VisibilityNotifier2D" parent="."]
position = Vector2( 1930, 540 ) position = Vector2( 1930, 540 )

View file

@ -1,17 +1,22 @@
[gd_scene load_steps=4 format=2] [gd_scene load_steps=8 format=2]
[ext_resource path="res://mini-game/ressources/backgrounds/city.png" type="Texture" id=1] [ext_resource path="res://mini-game/ressources/backgrounds/city.png" type="Texture" id=1]
[ext_resource path="res://mini-game/scenes/decor/background.gd" type="Script" id=2] [ext_resource path="res://mini-game/scenes/decor/background.gd" type="Script" id=2]
[ext_resource path="res://mini-game/ressources/backgrounds/background.png" type="Texture" id=3] [ext_resource path="res://mini-game/ressources/backgrounds/bg1.png" type="Texture" id=3]
[ext_resource path="res://mini-game/ressources/backgrounds/bg3.png" type="Texture" id=4]
[ext_resource path="res://mini-game/ressources/backgrounds/bg5.png" type="Texture" id=5]
[ext_resource path="res://mini-game/ressources/backgrounds/bg6.png" type="Texture" id=6]
[ext_resource path="res://mini-game/ressources/backgrounds/bg2.png" type="Texture" id=7]
[node name="background" type="Control"] [node name="background" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
script = ExtResource( 2 ) script = ExtResource( 2 )
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false,
"_editor_description_": ""
} }
textures = [ ExtResource( 1 ), ExtResource( 3 ) ] textures = [ ExtResource( 3 ), ExtResource( 7 ), ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ]
[node name="TextureRect" type="TextureRect" parent="."] [node name="TextureRect" type="TextureRect" parent="."]
anchor_right = 1.0 anchor_right = 1.0

View file

@ -3,7 +3,7 @@
[ext_resource path="res://mini-game/scenes/decor/foreground.gd" type="Script" id=1] [ext_resource path="res://mini-game/scenes/decor/foreground.gd" type="Script" id=1]
[ext_resource path="res://mini-game/scenes/decor/ForegroundSprite.tscn" type="PackedScene" id=2] [ext_resource path="res://mini-game/scenes/decor/ForegroundSprite.tscn" type="PackedScene" id=2]
[sub_resource type="RectangleShape2D" id=3] [sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 958.398, 78.6175 ) extents = Vector2( 958.398, 78.6175 )
[node name="foreground" type="Node2D"] [node name="foreground" type="Node2D"]
@ -13,7 +13,7 @@ script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] [node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( 960, 1080 ) position = Vector2( 960, 1080 )
shape = SubResource( 3 ) shape = SubResource( 1 )
[node name="ForegroundSprite" parent="." instance=ExtResource( 2 )] [node name="ForegroundSprite" parent="." instance=ExtResource( 2 )]