move title in own scene
This commit is contained in:
parent
a75788b4d6
commit
f8fff0a925
3 changed files with 23 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[ext_resource path="res://scenes/Credits.gd" type="Script" id=1]
|
[ext_resource path="res://scenes/Credits.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=2]
|
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=2]
|
||||||
[ext_resource path="res://fonts/Title.tres" type="DynamicFont" id=3]
|
[ext_resource path="res://scenes/typo/GameTitle.tscn" type="PackedScene" id=3]
|
||||||
[ext_resource path="res://fonts/open-sans/OpenSans-Regular.ttf" type="DynamicFontData" id=4]
|
[ext_resource path="res://fonts/open-sans/OpenSans-Regular.ttf" type="DynamicFontData" id=4]
|
||||||
[ext_resource path="res://scenes/typo/Title.tscn" type="PackedScene" id=5]
|
[ext_resource path="res://scenes/typo/Title.tscn" type="PackedScene" id=5]
|
||||||
[ext_resource path="res://scenes/typo/CreditsItem.tscn" type="PackedScene" id=6]
|
[ext_resource path="res://scenes/typo/CreditsItem.tscn" type="PackedScene" id=6]
|
||||||
|
@ -49,11 +49,7 @@ margin_top = 10.0
|
||||||
margin_right = 1820.0
|
margin_right = 1820.0
|
||||||
margin_bottom = 1070.0
|
margin_bottom = 1070.0
|
||||||
|
|
||||||
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
|
[node name="GameTitle" parent="MarginContainer/VBoxContainer" instance=ExtResource( 3 )]
|
||||||
margin_right = 1720.0
|
|
||||||
margin_bottom = 137.0
|
|
||||||
custom_fonts/font = ExtResource( 3 )
|
|
||||||
text = "Serious Game on Ethics"
|
|
||||||
|
|
||||||
[node name="Credits" type="Label" parent="MarginContainer/VBoxContainer"]
|
[node name="Credits" type="Label" parent="MarginContainer/VBoxContainer"]
|
||||||
margin_top = 141.0
|
margin_top = 141.0
|
||||||
|
@ -119,6 +115,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 201.0
|
margin_bottom = 201.0
|
||||||
title = "Abir Benazzouz"
|
title = "Abir Benazzouz"
|
||||||
subtile = "Dessins et animations"
|
subtile = "Dessins et animations"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Arnaud" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Arnaud" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -128,6 +125,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 319.0
|
margin_bottom = 319.0
|
||||||
title = "Arnaud Vergnet"
|
title = "Arnaud Vergnet"
|
||||||
subtile = "Programmation"
|
subtile = "Programmation"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Auriane" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Auriane" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -137,6 +135,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 437.0
|
margin_bottom = 437.0
|
||||||
title = "Auriane Lartigue"
|
title = "Auriane Lartigue"
|
||||||
subtile = "Dessins"
|
subtile = "Dessins"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Clémentine" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Clémentine" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -146,6 +145,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 555.0
|
margin_bottom = 555.0
|
||||||
title = "Clémentine Bonneau"
|
title = "Clémentine Bonneau"
|
||||||
subtile = "Scénario"
|
subtile = "Scénario"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Élise" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Élise" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -155,6 +155,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 673.0
|
margin_bottom = 673.0
|
||||||
title = "Élise Barnabé"
|
title = "Élise Barnabé"
|
||||||
subtile = "Scénario"
|
subtile = "Scénario"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Morgane" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Morgane" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -164,6 +165,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 791.0
|
margin_bottom = 791.0
|
||||||
title = "Morgane Foussats"
|
title = "Morgane Foussats"
|
||||||
subtile = "Scénario"
|
subtile = "Scénario"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Nabil" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
[node name="Nabil" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
anchor_right = 0.0
|
anchor_right = 0.0
|
||||||
|
@ -173,6 +175,7 @@ margin_right = 1668.0
|
||||||
margin_bottom = 909.0
|
margin_bottom = 909.0
|
||||||
title = "Nabil Moukhlis"
|
title = "Nabil Moukhlis"
|
||||||
subtile = "Programmation et dessins"
|
subtile = "Programmation et dessins"
|
||||||
|
link = ""
|
||||||
|
|
||||||
[node name="Technologies" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
|
[node name="Technologies" parent="MarginContainer/VBoxContainer/Control/MarginContainer/ScrollContainer/VBoxContainer" instance=ExtResource( 5 )]
|
||||||
margin_top = 913.0
|
margin_top = 913.0
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
[ext_resource path="res://characters/Jean-Michel/Jean-Méchant.png" type="Texture" id=3]
|
[ext_resource path="res://characters/Jean-Michel/Jean-Méchant.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=4]
|
[ext_resource path="res://backgrounds/bureauGroupe-1.jpg" type="Texture" id=4]
|
||||||
[ext_resource path="res://styles/Panel.tres" type="StyleBox" id=5]
|
[ext_resource path="res://styles/Panel.tres" type="StyleBox" id=5]
|
||||||
[ext_resource path="res://fonts/Title.tres" type="DynamicFont" id=6]
|
[ext_resource path="res://scenes/typo/GameTitle.tscn" type="PackedScene" id=6]
|
||||||
[ext_resource path="res://scenes/MainMenu.gd" type="Script" id=7]
|
[ext_resource path="res://scenes/MainMenu.gd" type="Script" id=7]
|
||||||
[ext_resource path="res://scenes/typo/Button.tscn" type="PackedScene" id=8]
|
[ext_resource path="res://scenes/typo/Button.tscn" type="PackedScene" id=8]
|
||||||
|
|
||||||
|
@ -47,11 +47,7 @@ __meta__ = {
|
||||||
"_edit_use_anchors_": false
|
"_edit_use_anchors_": false
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
|
[node name="GameTitle" parent="MarginContainer/VBoxContainer" instance=ExtResource( 6 )]
|
||||||
margin_right = 1720.0
|
|
||||||
margin_bottom = 137.0
|
|
||||||
custom_fonts/font = ExtResource( 6 )
|
|
||||||
text = "Serious Game on Ethics"
|
|
||||||
|
|
||||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
||||||
margin_top = 141.0
|
margin_top = 141.0
|
||||||
|
|
12
scenes/typo/GameTitle.tscn
Normal file
12
scenes/typo/GameTitle.tscn
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[gd_scene load_steps=2 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://fonts/Title.tres" type="DynamicFont" id=1]
|
||||||
|
|
||||||
|
[node name="GameTitle" type="Label"]
|
||||||
|
margin_right = 1720.0
|
||||||
|
margin_bottom = 137.0
|
||||||
|
custom_fonts/font = ExtResource( 1 )
|
||||||
|
text = "Serious Game on Ethics"
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_use_anchors_": false
|
||||||
|
}
|
Loading…
Reference in a new issue