gameboy add
This commit is contained in:
34
model/GameConsole.png.import
Normal file
34
model/GameConsole.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://blkdbhu6usvic"
|
||||||
|
path="res://.godot/imported/GameConsole.png-bdc65204521d9b606b314bfe71d26055.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://model/GameConsole.png"
|
||||||
|
dest_files=["res://.godot/imported/GameConsole.png-bdc65204521d9b606b314bfe71d26055.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
||||||
34
model/Guy39.png.import
Normal file
34
model/Guy39.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c87q4yoh4v2ag"
|
||||||
|
path="res://.godot/imported/Guy39.png-cfad4a5a4bcb8c348f35089bb8e750b3.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://model/Guy39.png"
|
||||||
|
dest_files=["res://.godot/imported/Guy39.png-cfad4a5a4bcb8c348f35089bb8e750b3.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
||||||
34
model/Guy40.png.import
Normal file
34
model/Guy40.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://b4hn2jhj4j64j"
|
||||||
|
path="res://.godot/imported/Guy40.png-4653068898c1fd5978dcaa41bf3e0e46.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://model/Guy40.png"
|
||||||
|
dest_files=["res://.godot/imported/Guy40.png-4653068898c1fd5978dcaa41bf3e0e46.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
||||||
34
model/Guy41.png.import
Normal file
34
model/Guy41.png.import
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://6mktfaqc8o41"
|
||||||
|
path="res://.godot/imported/Guy41.png-5b65644d2321ce280481d9441981e6af.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://model/Guy41.png"
|
||||||
|
dest_files=["res://.godot/imported/Guy41.png-5b65644d2321ce280481d9441981e6af.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=0
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=false
|
||||||
|
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=1
|
||||||
@@ -74,6 +74,11 @@ valid={
|
|||||||
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
|
, Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
game={
|
||||||
|
"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":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null)
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
[rendering]
|
[rendering]
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
29
scene/gameboy.tscn
Normal file
29
scene/gameboy.tscn
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
[gd_scene load_steps=3 format=3 uid="uid://bj1ita42m6vj5"]
|
||||||
|
|
||||||
|
[ext_resource type="Texture2D" uid="uid://blkdbhu6usvic" path="res://model/GameConsole.png" id="1_1xnas"]
|
||||||
|
|
||||||
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fjb7e"]
|
||||||
|
bg_color = Color(0.0862745, 0.0862745, 0.0862745, 0.596078)
|
||||||
|
|
||||||
|
[node name="CanvasLayer" type="CanvasLayer"]
|
||||||
|
|
||||||
|
[node name="Panel" type="Panel" parent="."]
|
||||||
|
anchors_preset = 15
|
||||||
|
anchor_right = 1.0
|
||||||
|
anchor_bottom = 1.0
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
theme_override_styles/panel = SubResource("StyleBoxFlat_fjb7e")
|
||||||
|
|
||||||
|
[node name="CenterContainer" type="CenterContainer" parent="Panel"]
|
||||||
|
layout_mode = 1
|
||||||
|
anchors_preset = 8
|
||||||
|
anchor_left = 0.5
|
||||||
|
anchor_top = 0.5
|
||||||
|
anchor_right = 0.5
|
||||||
|
anchor_bottom = 0.5
|
||||||
|
grow_horizontal = 2
|
||||||
|
grow_vertical = 2
|
||||||
|
|
||||||
|
[node name="GameConsole" type="Sprite2D" parent="Panel/CenterContainer"]
|
||||||
|
texture = ExtResource("1_1xnas")
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=13 format=3 uid="uid://cru3yl7laeiem"]
|
[gd_scene load_steps=11 format=3 uid="uid://cru3yl7laeiem"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"]
|
[ext_resource type="Texture2D" uid="uid://mr6hi8icwyle" path="res://model/Trick or treatBG.png" id="1_4oira"]
|
||||||
[ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"]
|
[ext_resource type="Script" path="res://script/Principal.cs" id="1_5hpqm"]
|
||||||
@@ -6,12 +6,6 @@
|
|||||||
[ext_resource type="StyleBox" uid="uid://cl1mx7tnohwg6" path="res://themes/back_principal.tres" id="5_tyto3"]
|
[ext_resource type="StyleBox" uid="uid://cl1mx7tnohwg6" path="res://themes/back_principal.tres" id="5_tyto3"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cf12hst5y4gfr" path="res://model/Credit.png" id="6_px85q"]
|
[ext_resource type="Texture2D" uid="uid://cf12hst5y4gfr" path="res://model/Credit.png" id="6_px85q"]
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8wh7p"]
|
|
||||||
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kg8au"]
|
|
||||||
bg_color = Color(0.0728426, 0.0728426, 0.0728426, 0.890196)
|
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_luosh"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_luosh"]
|
||||||
bg_color = Color(0, 0, 0, 0.745098)
|
bg_color = Color(0, 0, 0, 0.745098)
|
||||||
|
|
||||||
@@ -245,40 +239,12 @@ theme_override_styles/panel = ExtResource("5_tyto3")
|
|||||||
texture = ExtResource("6_px85q")
|
texture = ExtResource("6_px85q")
|
||||||
centered = false
|
centered = false
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="credit"]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 13.0
|
|
||||||
offset_top = 248.0
|
|
||||||
offset_right = 207.0
|
|
||||||
offset_bottom = 293.0
|
|
||||||
theme = ExtResource("2_ab0tu")
|
|
||||||
theme_override_font_sizes/font_size = 38
|
|
||||||
theme_override_styles/normal = SubResource("StyleBoxFlat_8wh7p")
|
|
||||||
text = "Programming
|
|
||||||
"
|
|
||||||
horizontal_alignment = 1
|
|
||||||
vertical_alignment = 1
|
|
||||||
|
|
||||||
[node name="Label2" type="Label" parent="credit"]
|
|
||||||
layout_mode = 0
|
|
||||||
offset_left = 322.0
|
|
||||||
offset_top = 252.0
|
|
||||||
offset_right = 386.0
|
|
||||||
offset_bottom = 296.0
|
|
||||||
theme = ExtResource("2_ab0tu")
|
|
||||||
theme_override_font_sizes/font_size = 38
|
|
||||||
theme_override_styles/normal = SubResource("StyleBoxFlat_kg8au")
|
|
||||||
text = "Art
|
|
||||||
"
|
|
||||||
horizontal_alignment = 1
|
|
||||||
vertical_alignment = 1
|
|
||||||
|
|
||||||
[node name="Button" type="Button" parent="credit"]
|
[node name="Button" type="Button" parent="credit"]
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
offset_left = 163.0
|
offset_left = 333.0
|
||||||
offset_top = 15.0
|
offset_top = 248.0
|
||||||
offset_right = 215.0
|
offset_right = 385.0
|
||||||
offset_bottom = 53.0
|
offset_bottom = 286.0
|
||||||
theme = ExtResource("2_ab0tu")
|
theme = ExtResource("2_ab0tu")
|
||||||
text = "Exit
|
text = "Exit
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
|||||||
public partial class remplissage : Node2D
|
public partial class remplissage : Node2D
|
||||||
{
|
{
|
||||||
[Export] Array<Texture2D> _textures;
|
[Export] Array<Texture2D> _textures;
|
||||||
[Export] Array<string> _text;
|
|
||||||
|
|
||||||
List<string> questions = new List<string>
|
List<string> questions = new List<string>
|
||||||
{
|
{
|
||||||
@@ -63,7 +63,7 @@ public partial class remplissage : Node2D
|
|||||||
{
|
{
|
||||||
_nodes.Add(node);
|
_nodes.Add(node);
|
||||||
}
|
}
|
||||||
|
|
||||||
shuffle(_nodes, RandSeed);
|
shuffle(_nodes, RandSeed);
|
||||||
|
|
||||||
foreach (Node2D node in _nodes)
|
foreach (Node2D node in _nodes)
|
||||||
|
|||||||
Reference in New Issue
Block a user