Compare commits

...

63 commits

Author SHA1 Message Date
yannk
4f0d91132f Merge branch '33-souci-d-animation-dans-la-course-du-ra-ferens' into 'develop'
Resolve "Souci d’animation dans la course du ra ferens"

Closes #33

See merge request khaganat/mmorpg_khanat/khanat-client!7
2021-10-08 11:03:22 +00:00
yannk
63887e9864 Reimporting fresh new raference_animated.gltf file from Blender source 2021-10-08 11:00:11 +02:00
yannk
464be1696d Adding all .import files to have them remotely to recreate locally the .import folder 2021-10-07 12:08:49 +02:00
yannk
7c3c758877 Delete *.import files generated during import stage as they are needed to recreate locally the parent .import folder 2021-10-07 12:07:26 +02:00
yannk
1284a9cedd Changement de nom des animations du ra ferens - suppression de deux animations obsolètes et inutiles 2021-10-05 13:30:55 +02:00
yannk
699aa1097b Reprise du fichier Blender pour l’animation du ra ferens - nettoyage des animations inutiles et reprise de la course - renommage des tracks NLA pour une meilleure lisibilité dans le client 2021-10-05 13:29:12 +02:00
2a88506f85 Merge branch '3-dans-le-jeux-avoir-acces-au-menu' into 'develop'
Dans le jeux, avoir accès au menu globale

See merge request khaganat/mmorpg_khanat/khanat-client!5
2021-09-23 21:03:20 +00:00
271af8f49d re-enable plugin 2021-09-23 22:55:16 +02:00
2cf0baffb0 update README, and add section for language on script locale.sh 2021-09-23 22:39:13 +02:00
466394cca6 adding picture background menu 2021-09-23 22:29:16 +02:00
2c5138eb74 convert preload to load for addons kh_slider & kh_window load when godot start [also generate an error an disable plugin] 2021-09-23 22:23:01 +02:00
a6b6bb36c7 adding menu_option 2021-09-23 21:00:59 +02:00
11b0eb46c1 update script to active menu 2021-09-23 20:55:57 +02:00
01756f1f6b update README and disable addons/kh_slider/plugin.cfg 2021-09-23 20:34:17 +02:00
388d1a5391 show menu after key <menu> pressed (default Escape) 2021-09-23 00:50:40 +02:00
1d9ec43b34 Merge branch '2-lancement-du-jeu-impossible' into 'develop'
correct issue #2 - Lancement du jeu impossible

See merge request khaganat/mmorpg_khanat/khanat-client!3
2021-09-09 20:46:44 +00:00
b45a195efc update gitignore to auhtorize .bin file, and add arche.bin 2021-09-09 22:39:43 +02:00
2521d143ab Merge branch 'issue1' into 'develop'
Correct issue #1, remove map0-1.tres

See merge request khaganat/mmorpg_khanat/khanat-client!1
2021-09-09 19:45:52 +00:00
0369218025 correct issue #1, remove map0-1.tres 2021-09-09 21:37:12 +02:00
75e5b05b24 update animation + adding multiple creature + escape to stop instance when are playing 2021-09-08 23:19:32 +02:00
e8f6a8ad49 correction du problème de physique ou le perso sauter en permanence 2021-09-05 17:46:34 +02:00
a412daf632 update move 2021-09-04 17:49:11 +02:00
520ac8f36c ading animation on move or idle 2021-09-04 16:33:34 +02:00
f619971496 update player rotation and adding move 2021-09-04 16:07:16 +02:00
bfe71ec37c reactivate gravity 2021-09-04 15:50:31 +02:00
a22e8db3fe update player rotation and adding move 2021-09-04 15:37:40 +02:00
4919a117ab update player rotation 2021-09-04 13:37:09 +02:00
c9340d55d6 adding other player 2021-09-04 12:49:56 +02:00
460289025b adding raference 2021-09-03 23:27:28 +02:00
80c67686b9 update isidot race 2021-06-29 21:40:38 +02:00
07b364f11d adding panel to create creature, adding model arche & isodor 2021-06-29 00:33:56 +02:00
fe375adea7 update khanat theme 2021-06-22 20:11:45 +02:00
8e5fad8d89 adding icon jukebox 2021-06-22 18:22:58 +02:00
500b4bc2e0 expand background on creatures_menu_ui 2021-06-08 22:53:17 +02:00
d35faf34ba activate option to select output audio, adding option to activate debug message on console and update locale 2021-06-08 22:43:33 +02:00
b3b1029785 adding some functionnality on main windows [settings, juke blox, select language, information, help/author] 2021-06-07 23:07:44 +02:00
7d44d8132b update 1st page - adding option to update/configure video/sound, show information and locale (fr & en) 2021-05-27 23:56:16 +02:00
osquallo
db3cb83817 Ajout d'un modele de personnage temporaire basé sur makehuman et amélioration du systeme de chargement de scene et diverses autre petites chose. reste a nettoyer certaine partie du vieux code. 2020-10-15 19:23:55 +02:00
osquallo
403742b1ad EDIT ajout nouvelle texture minaret, differse correction, reglage de l'environnement et postfx,... 2020-04-08 14:38:05 +02:00
osquallo
894f4d732c EDIT modification de l'environment et post processing effets. 2020-04-04 11:29:45 +02:00
osquallo
04fa1488d0 EDIT diverse correction/ameliorations. 2020-04-01 21:02:49 +02:00
osquallo
c71b983694 EDIT amelioration du shader de terrain. 2020-03-30 12:31:39 +02:00
osquallo
71bbdf4c0c ADD debut de test sur un shader de terrain. 2020-03-29 13:29:57 +02:00
osquallo
9ea371191f modif mineur 2020-03-28 11:13:08 +01:00
osquallo
59a76dc7c3 ADD ajout d'un effet trauma qui floute l'ecran lorsque la valeurd e trauma augmente. 2020-03-28 08:44:06 +01:00
osquallo
7978318bf7 ADD ajout du sprint et des animation de déplacements latéraux. 2020-03-28 08:07:33 +01:00
osquallo
0edfbd21c0 ADD effet sous marin et correction d'un bug de couleur sur le terrain. 2020-03-27 13:07:44 +01:00
osquallo
0f22aaa2ff EDIT suppression de fichier oublié d'un ancien test. 2020-03-27 12:45:37 +01:00
osquallo
5dbf4b3f0a EDIT changement de la methode de deplacement du personnage et diverse bricoles 2020-03-27 12:43:49 +01:00
osquallo
a80cdba5eb EDIT modifiction de la rotation du personnage pour qu'elle prenne en compte les collisions et ajout d'animations basiques pour le personnage. 2020-03-26 10:39:29 +01:00
osquallo
60f5c2b9e6 ADD ajout de mouvement de camera. 2020-03-24 19:48:58 +01:00
osquallo
128fba0f65 EDIT changement de l'ecran de chargement et des barres d'oubli/douleur/trauma. 2020-03-23 15:16:06 +01:00
osquallo
94097c456b EDIT remplacement des fenetre popup par des nodes custom, WIP. 2020-03-22 20:12:52 +01:00
osquallo
dd2ade1de0 EDIT meilleur gestion de la douleur/oubli/trauma en concordance avec le wiki et changement des sliders du menu debug par des boutons. 2020-03-22 18:57:23 +01:00
osquallo
d33896b009 EDIT amelioration des jauges de trauma/oublis/douleur. 2020-03-22 17:31:06 +01:00
osquallo
c57248f2ab ADD debut de systeme de jauges de douleur/oubli/trauma. 2020-03-22 17:04:01 +01:00
osquallo
29d3e7e548 debut de theme sur les fenêtres de dialogues, WIP. 2020-03-22 12:47:14 +01:00
osquallo
70b5d6be09 EDIT appueyer sur jouer sans avoir entré de username et de password lance le jeu sans se connecter pour pouvoir tester sans spam le serveur. 2020-03-22 11:54:47 +01:00
osquallo
83881a821f ADD un début de brume et une fenêtre de debug pour le piloter. 2020-03-21 16:50:44 +01:00
osquallo
342b806370 Correction d'un bug lié au soleil qui ne se repositionnait pas correctement en fonction de l'heure. 2020-03-21 14:24:59 +01:00
osquallo
44f1d9239b ADD sky shaderand panorama sky. 2020-03-21 14:18:06 +01:00
osquallo
9eb6e8ccbd Initial commit. 2020-03-21 10:10:26 +01:00
osquallo
487da1e938 Add .gitignore file. 2020-03-21 10:05:41 +01:00
842 changed files with 206872 additions and 0 deletions

21
.gitignore vendored Normal file
View file

@ -0,0 +1,21 @@
# Godot-specific ignores
.import/
export.cfg
export_presets.cfg
# Mono-specific ignores
.mono/
# System/tool-specific ignores
.directory
*~
# Ignore binary & package
*.pck
# Ignore lib gdnaive
libgdnative.*.so
# Ignore temp
temp/

6
AUTHORS Normal file
View file

@ -0,0 +1,6 @@
Yannk
Zatalyz
Deed
Lyne
Osquallo
AleaJactaEst

1
NEWS Normal file
View file

@ -0,0 +1 @@
# What's new on khanat?

39
NEWS_fr Normal file
View file

@ -0,0 +1,39 @@
# Quels sont les dernières nouvelles ?
1) Configuration de l'internationalisation (fr & en)
2) Dans la page principale, ajout d'un menu, en haut à droite, afin d'avoir d'accessible les actions rapides suivantes:
* les nouvelles
* configuration de la langue
* activer le son
* l'aide
* configuration
* sortir
3) Ajout d'un A propos
a) Auteur
b) License
4) Ajout d'un image pour les icons OPTIONS afin de savoir lequel est actif (fond jaune au lieu de blanc)
5) Ajout de l'option paramètres
I) Paramétrage vidéo
a) Plein écran
b) Fenêtre redimensionnable
c) Orientation de l'écran (à vérifier)
d) Fenêtre sans bord
e) Choisir l'écran
f) Garder la fenêtre dessus
II) Paramétrage son
6) Correction du menu de selection de la langue
7) Activer la sortie audio en fonction de la selection dans le menu option
8) Ajouter un icon JukeBox dans la page de démarrage
9) A l'ouverture du JukeBox, il retaille la fenetre afin de ne pas avoir du scrolling (si possible)
10) Ajout d'une scene simple (damier + personnage avec annimation, et ajout d'autre créature)
11) Ajout du menu (quand on presse Escape) pendant la scene pour voir les options/quitter/...

View file

@ -0,0 +1,61 @@
# Khanat
## Launch Game
### Download Version Godot
We use version GODOT : 3.3.3
wget https://downloads.tuxfamily.org/godotengine/3.3.3/Godot_v3.3.3-stable_x11.64.zip
unzip Godot_v3.3.3-stable_x11.64.zip
### Clone our project
git clone https://git.khaganat.net/khaganat/mmorpg_khanat/khanat-client.git
(cd khanat-client;git checkout develop)
### Launch Godot
./Godot_v3.3.3-stable_x11.64 khanat-client/project.godot
## Add/update your language
Welcome to help us to improve our translation.
We need clone our project.
### Create a new language
* On Linux :
Edit file : khanat-client/locale/locale.sh
(You need add in section [# LIST LANGUAGE] your locale)
After launch this script : bash khanat-client/locale/locale.sh
### Edit your local
khanat-client/locale/<your locale].po
keyword msgid is Id used in khanat, and msgstr is translation (if you have some doubt, don't hesitate to see other translation)
* msgid "MAIN_MENU_PLAY"
* msgstr "Jouer"
### Activate your language
Two option to activate (just use one)
1/ Use godot editor
in Parameter, localization, add your file
2/ Edit project.godot
Edit line :
translations=PoolStringArray( "res://locale/fr.po", "res://locale/en.po", "res//locale/<your language>.po" )
### Push your update
To send your update, could you please create a branch and send us this branch?

View file

@ -0,0 +1,45 @@
tool
extends HBoxContainer
signal changed
signal value_changed( value )
export( Texture ) var minus_texture setget set_minus_texture, get_minus_texture
func set_minus_texture( value ):
minus_texture = value
if self.has_node( "kh_h_slider/minus" ):
$kh_h_slider/minus.texture_normal = minus_texture
func get_minus_texture():
return minus_texture
export( Texture ) var plus_texture setget set_plus_texture, get_plus_texture
func set_plus_texture( value ):
plus_texture = value
if self.has_node( "kh_h_slider/plus" ):
$kh_h_slider/plus.texture_normal = plus_texture
func get_plus_texture():
return plus_texture
func _ready():
self.add_child( load( "res://addons/kh_slider/kh_h_slider.tscn" ).instance() )
$kh_h_slider/minus.connect( "pressed", self, "_on_minus_pressed" )
$kh_h_slider/value.connect( "changed", self, "_on_value_changed" )
$kh_h_slider/value.connect( "value_changed", self, "_on_value_value_changed" )
$kh_h_slider/plus.connect( "pressed", self, "_on_plus_pressed" )
$kh_h_slider/minus.texture_normal = minus_texture
$kh_h_slider/plus.texture_normal = plus_texture
func _on_minus_pressed():
$kh_h_slider/value.value -= $kh_h_slider/value.step
func _on_plus_pressed():
$kh_h_slider/value.value += $kh_h_slider/value.step
func _on_value_changed():
emit_signal( "changed" )
func _on_value_value_changed( value ):
emit_signal( "value_changed", value )

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/kh_h_slider.png-67a63c5d56a5b193fc3e01ab381c3118.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_slider/kh_h_slider.png"
dest_files=[ "res://.import/kh_h_slider.png-67a63c5d56a5b193fc3e01ab381c3118.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,28 @@
[gd_scene format=2]
[node name="kh_h_slider" type="HBoxContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="minus" type="TextureButton" parent="."]
margin_bottom = 720.0
[node name="value" type="HSlider" parent="."]
margin_left = 4.0
margin_top = 352.0
margin_right = 1276.0
margin_bottom = 368.0
size_flags_horizontal = 7
size_flags_vertical = 4
max_value = 1.0
step = 0.1
[node name="plus" type="TextureButton" parent="."]
margin_left = 1280.0
margin_right = 1280.0
margin_bottom = 720.0
size_flags_horizontal = 9

View file

@ -0,0 +1,8 @@
tool
extends EditorPlugin
func _enter_tree():
add_custom_type("KhHSlider", "HBoxContainer", load("kh_h_slider.gd"), load("kh_h_slider.png"))
func _exit_tree():
remove_custom_type("KhHSlider")

View file

@ -0,0 +1,7 @@
[plugin]
name="Kh horizontal slider"
description="A custom horizontal slider with plus and minus button."
author="Osquallo"
version="1.0.0"
script="kh_h_slider_plugin.gd"

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/background_default.jpg-aed41b89e186db61ec5b400eb27d94fe.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/background_default.jpg"
dest_files=[ "res://.import/background_default.jpg-aed41b89e186db61ec5b400eb27d94fe.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.

After

Width:  |  Height:  |  Size: 520 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/button_close.png-9f34349deeb08d840d7647855ab7a353.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/button_close.png"
dest_files=[ "res://.import/button_close.png-9f34349deeb08d840d7647855ab7a353.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.

After

Width:  |  Height:  |  Size: 674 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/button_move.png-ef2fe32f15d58529bfc1f6cc2f9fe63d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/button_move.png"
dest_files=[ "res://.import/button_move.png-ef2fe32f15d58529bfc1f6cc2f9fe63d.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.

After

Width:  |  Height:  |  Size: 604 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/button_open.png-cf783205f34dd914a0cab8fab62f56a1.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/button_open.png"
dest_files=[ "res://.import/button_open.png-cf783205f34dd914a0cab8fab62f56a1.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.

After

Width:  |  Height:  |  Size: 605 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/button_quit.png-fa2aecf0e0a85388ff2448905317b767.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/button_quit.png"
dest_files=[ "res://.import/button_quit.png-fa2aecf0e0a85388ff2448905317b767.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.

After

Width:  |  Height:  |  Size: 514 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/button_resize.png-27c492f856c7bdc09432edfe41351140.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/button_resize.png"
dest_files=[ "res://.import/button_resize.png-27c492f856c7bdc09432edfe41351140.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

BIN
addons/kh_window/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/icon.png-daf83600099f6f3efdabc205448f4e6d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://addons/kh_window/icon.png"
dest_files=[ "res://.import/icon.png-daf83600099f6f3efdabc205448f4e6d.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,532 @@
extends MarginContainer
export( bool ) var is_movable = true
export( bool ) var is_resizable = true
export( bool ) var is_borderless = false
export( bool ) var has_footer = true
export( bool ) var has_scrollbar = true
export( bool ) var is_dragged_by_header_only = true
export( String ) var title = "Window"
export( Color ) var content_color = Color( 1.0, 1.0, 1.0, 1.0 )# test
export( Color ) var background_color = Color( 1.0, 1.0, 1.0, 1.0 )
export( Texture ) var background_texture = null
export( Vector2 ) var min_size = Vector2( 128, 128 )
export( Rect2 ) var content_margin = Rect2( 8, 8, 8, 8 )
signal window_clicked( window )
onready var header_box = $parts/header_box
onready var content_box = $parts/content_box
onready var footer_box = $parts/footer_box
var current_rect_size = Vector2( 0, 0 )
var current_rect_position = Vector2( -1, -1 )
var is_resizing = false
var is_moving = false
var size_changed = true
func add_child_to_content( node):
if self.get_content():
self.get_content().add_child(node)
func add_window_part( node ):
add_child( node )
func set_mouse_pass_to_children( node ):
for child in node.get_children():
set_mouse_pass_to_children( child )
if node is Control:
node.mouse_filter = MOUSE_FILTER_PASS
#func _ready():
func _enter_tree():
########
#### Window's part création.
# The internal elements structure is:
# self - MarginContainer
# background - NinePatchRect
# parts - VBoxContainer
# header_box - MarginContainer
# header - HBoxContainer
# quit - TextureButton
# close - TextureButton
# open - TextureButton
# label - Label
# content_box - MarginContainer
# scroll_container - Scrollcontainer
# content - VBoxContainer
# footer_box - MarginContainer
# footer - HBoxContainer
# contextual_help - Label
# resize - TextureButton
###
# self
self.size_flags_horizontal = SIZE_EXPAND
self.size_flags_vertical = SIZE_EXPAND
self.set( "custom_constants/margin_right", 0)
self.set( "custom_constants/margin_top", 0)
self.set( "custom_constants/margin_left", 0)
self.set( "custom_constants/margin_bottom", 0)
self.connect ( "gui_input", self, "_on_window_gui_input" )
if is_movable and not self.is_dragged_by_header_only:
self.mouse_default_cursor_shape = CURSOR_MOVE
###
###
# background
var background
if not self.has_node( "background" ):
background = NinePatchRect.new()
background.name = "background"
if not background_texture:
# var background_image = Image.new()
# var stream_texture = load('res://addons/ui_window/background_default.jpg')
# if not stream_texture :
# print("Erreur lors du chargement de l'image: "+str("res://addons/ui_window/background_default.jpg") )
# else:
# background_image = stream_texture.get_data()
# background.texture = ImageTexture.new()
# background.texture.create_from_image( background_image )
# background.texture.flags = Texture.FLAG_FILTER | Texture.FLAG_REPEAT
pass
else:
background.texture = background_texture
background.texture.flags = Texture.FLAG_FILTER | Texture.FLAG_REPEAT
background.axis_stretch_horizontal = NinePatchRect.AXIS_STRETCH_MODE_TILE
background.axis_stretch_vertical = NinePatchRect.AXIS_STRETCH_MODE_TILE
background.size_flags_horizontal = SIZE_EXPAND_FILL
background.size_flags_vertical = SIZE_EXPAND_FILL
background.region_rect = Rect2( 0, 0, 0, 0 )
background.patch_margin_left = 4
background.patch_margin_top = 32
background.patch_margin_right = 4
background.patch_margin_bottom = 4
background.self_modulate = background_color
self.add_window_part( background )
# background.set_owner( self )
###
###
# parts
var parts
if not self.has_node( "parts" ):
parts = VBoxContainer.new()
parts.name = "parts"
parts.size_flags_horizontal = SIZE_EXPAND_FILL
parts.size_flags_vertical = SIZE_EXPAND_FILL
self.add_window_part( parts )
# parts.set_owner( self )
###
###
# header_box
var header_box
if not parts.has_node( "header_box" ):
header_box = MarginContainer.new()
header_box.name = "header_box"
header_box.size_flags_horizontal = SIZE_EXPAND_FILL
header_box.size_flags_vertical = SIZE_SHRINK_CENTER
header_box.set( "custom_constants/margin_right", 4)
header_box.set( "custom_constants/margin_top", 4)
header_box.set( "custom_constants/margin_left", 4)
header_box.set( "custom_constants/margin_bottom", 4)
if is_movable:
header_box.mouse_default_cursor_shape = CURSOR_MOVE
parts.add_child( header_box )
# header_box.set_owner( parts )
header_box.connect ( "gui_input", self, "_on_Header_gui_input" )
###
###
# header
var header
if not header_box.has_node( "header" ):
header = HBoxContainer.new()
header.name = "header"
header.size_flags_horizontal = SIZE_EXPAND_FILL
header.size_flags_vertical = SIZE_EXPAND | SIZE_SHRINK_CENTER
if is_movable:
header.mouse_default_cursor_shape = CURSOR_MOVE
header_box.add_child( header )
# header.set_owner( header_box )
###
###
# quit
var quit_button
if not header.has_node( "quit" ):
quit_button = TextureButton.new()
quit_button.name = "quit"
quit_button.size_flags_horizontal = SIZE_SHRINK_END
quit_button.size_flags_vertical = SIZE_SHRINK_CENTER
var tex_quit = ImageTexture.new()
var img_quit = Image.new()
var stream_texture = load( "res://addons/kh_window/button_quit.png")
img_quit = stream_texture.get_data()
tex_quit.create_from_image( img_quit )
quit_button.texture_normal = tex_quit
header.add_child( quit_button )
# quit_button.set_owner( header )
quit_button.connect ( "pressed", self, "_on_Quit_pressed" )
###
# close
var close_button = TextureButton.new()
if not header.has_node( "close" ):
close_button = TextureButton.new()
close_button.name = "close"
close_button.size_flags_horizontal = SIZE_SHRINK_END
close_button.size_flags_vertical = SIZE_SHRINK_CENTER
var tex_close = ImageTexture.new()
var img_close = Image.new()
var stream_texture = load("res://addons/kh_window/button_close.png")
img_close = stream_texture.get_data()
tex_close.create_from_image( img_close )
close_button.texture_normal = tex_close
header.add_child( close_button )
# close_button.set_owner( header )
close_button.connect ( "pressed", self, "_on_Close_pressed" )
###
# open
var open_button
if not header.has_node( "open" ):
open_button = TextureButton.new()
open_button.name = "open"
open_button.size_flags_horizontal = SIZE_SHRINK_END
open_button.size_flags_vertical = SIZE_SHRINK_CENTER
var tex_open = ImageTexture.new()
var img_open = Image.new()
var stream_texture = load("res://addons/kh_window/button_open.png")
img_open = stream_texture.get_data()
tex_open.create_from_image( img_open )
open_button.texture_normal = tex_open
open_button.visible = false
header.add_child( open_button )
# open_button.set_owner( header )
open_button.connect ( "pressed", self, "_on_Open_pressed" )
###
###
# Title Label
var title_label
if not header.has_node( "label" ):
title_label = Label.new()
title_label.name = "label"
title_label.text = title
title_label.size_flags_horizontal = SIZE_EXPAND_FILL
title_label.size_flags_vertical = SIZE_SHRINK_CENTER
if is_movable:
title_label.mouse_default_cursor_shape = CURSOR_MOVE
header.add_child( title_label )
# title_label.set_owner( header )
###
###
# Content
var content_box
if not parts.has_node( "content_box" ):
content_box = MarginContainer.new()
content_box.name = "content_box"
content_box.size_flags_horizontal = SIZE_EXPAND_FILL
content_box.size_flags_vertical = SIZE_EXPAND_FILL
content_box.set( "custom_constants/margin_right", 8)
content_box.set( "custom_constants/margin_top", 8)
content_box.set( "custom_constants/margin_left", 8)
content_box.set( "custom_constants/margin_bottom", 8)
parts.add_child( content_box )
# content_box.set_owner( parts )
###
###
if self.has_scrollbar:
# content_box/scroll_container
var content_scroll_container
if not content_box.has_node( "scroll_container" ):
content_scroll_container = ScrollContainer.new()
content_scroll_container.name = "scroll_container"
content_scroll_container.size_flags_horizontal = SIZE_FILL
content_scroll_container.size_flags_vertical = SIZE_FILL
content_scroll_container.scroll_deadzone = 0
content_box.add_child( content_scroll_container )
# content_scroll_container.set_owner( content_box )
###
###
# content
var content
if not content_scroll_container.has_node( "content" ):
content = MarginContainer.new()
content.name = "content"
content.size_flags_horizontal = SIZE_EXPAND_FILL
content.size_flags_vertical = SIZE_EXPAND_FILL
content_scroll_container.add_child( content )
# content.set_owner( content_scroll_container )
###
else:
var content
if not content_box.has_node( "content" ):
content = MarginContainer.new()
content.name = "content"
content.size_flags_horizontal = SIZE_EXPAND_FILL
content.size_flags_vertical = SIZE_EXPAND_FILL
content_box.add_child( content )
###
# Footer
var footer_box
if not parts.has_node( "footer_box" ):
footer_box = MarginContainer.new()
footer_box.name = "footer_box"
footer_box.size_flags_horizontal = SIZE_FILL
footer_box.size_flags_vertical = SIZE_FILL
footer_box.set( "custom_constants/margin_right", content_margin.position.y)
footer_box.set( "custom_constants/margin_top", content_margin.size.x)
footer_box.set( "custom_constants/margin_left", content_margin.position.x)
footer_box.set( "custom_constants/margin_bottom", content_margin.size.y)
parts.add_child( footer_box )
# footer_box.set_owner( parts )
###
###
# footer_box/footer
var footer
if not footer_box.has_node( "footer" ):
footer = HBoxContainer.new()
footer.name = "footer"
footer.size_flags_horizontal = SIZE_EXPAND_FILL
footer.size_flags_vertical = SIZE_EXPAND_FILL
footer_box.add_child( footer )
# footer.set_owner( footer_box )
###
###
# footer_label
var footer_label
if not footer.has_node( "footer_label" ):
footer_label = Label.new()
footer_label.name = "footer_label"
footer_label.size_flags_horizontal = SIZE_EXPAND
footer_label.size_flags_vertical = SIZE_EXPAND
footer.add_child( footer_label )
###
# resize
var resize_button
if not footer.has_node( "resize" ):
resize_button = TextureButton.new()
resize_button.name = "resize"
resize_button.size_flags_horizontal = SIZE_FILL | SIZE_SHRINK_END
resize_button.size_flags_vertical = SIZE_SHRINK_END
var tex_resize = ImageTexture.new()
var img_resize = Image.new()
var stream_texture = load("res://addons/kh_window/button_resize.png")
img_resize = stream_texture.get_data()
tex_resize.create_from_image( img_resize )
resize_button.texture_normal = tex_resize
resize_button.mouse_default_cursor_shape = CURSOR_FDIAGSIZE
resize_button.action_mode = Button.ACTION_MODE_BUTTON_PRESS
# resize_button.mouse_filter = MOUSE_FILTER_STOP
footer.add_child( resize_button )
# resize_button.set_owner( footer )
resize_button.connect ( "button_down", self, "_on_Resize_pressed" )
###er_label.set_owner( footer )
###
current_rect_size = self.rect_min_size
if is_borderless:
$background.region_rect = Rect2( $background.patch_margin_left-1
, $background.patch_margin_top-1
, 256-($background.patch_margin_left+$background.patch_margin_right)+2
, 256-($background.patch_margin_top+$background.patch_margin_bottom)+2 )
$background.patch_margin_left = 1
$background.patch_margin_top = 1
$background.patch_margin_right = 1
$background.patch_margin_bottom = 1
header_box.rect_min_size.y = 1
close_button.visible = false
open_button.visible = false
quit_button.visible = false
title_label.visible = false
if not is_resizable:
if not has_footer:
footer_box.visible = false
else:
footer_box.get_node( "footer/resize" ).visible = false
func _ready():
# On déplace les enfants ajouter via l'editeur sous content.
for child in self.get_children():
if not child.name =="parts" and not child.name =="background":
if child.name.begins_with( "footer_" ):
if footer_box.get_node("footer").has_node("footer_label"):
footer_box.get_node("footer").remove_child( footer_box.get_node("footer").get_node("footer_label") )
self.remove_child( child )
get_footer().add_child( child )
get_footer().move_child( child, 0 )
else:
self.remove_child( child )
get_content().add_child( child )
set_mouse_pass_to_children( self )
func _process(delta):
if size_changed:
self.rect_size = Vector2( clamp( self.rect_size.x, min_size.x, self.rect_size.x ), clamp( self.rect_size.y, min_size.y, self.rect_size.y ) )
size_changed = false
func _on_Window_mouse_entered():
print("mouse_entered")
func _on_Window_focus_entered():
print("focus_entered")
func _on_Quit_pressed():
self.visible = false
func get_content_child( p_node ):
return get_content().get_node( p_node )
func get_content():
if self.has_scrollbar:
return content_box.get_node( "scroll_container/content" )
else:
return content_box.get_node( "content" )
func get_footer():
return footer_box.get_node( "footer" )
func close():
if not self.is_borderless:
self.header_box.get_node( "header/close" ).visible = false
self.header_box.get_node( "header/open" ).visible = true
self.content_box.visible = false
self.footer_box.visible = false
self.current_rect_size = self.rect_size
self.rect_size = Vector2( 0, 0 )
$background.rect_size = Vector2( 0, 0 )
$background.rect_min_size = Vector2( 0, 0 )
else:
self.header_box.get_node( "header/close" ).visible = false
self.header_box.get_node( "header/open" ).visible = false
self.content_box.visible = false
self.footer_box.visible = false
self.current_rect_size = self.rect_size
self.rect_size = Vector2( 0, 0 )
$background.rect_size = Vector2( 0, 0 )
$background.rect_min_size = Vector2( 0, 0 )
func _on_Close_pressed():
close()
func open():
if not is_borderless:
header_box.get_node( "header/close" ).visible = true
header_box.get_node( "header/open" ).visible = false
content_box.visible = true
footer_box.visible = true
self.rect_size = current_rect_size
else:
header_box.get_node( "header/close" ).visible = false
header_box.get_node( "header/open" ).visible = false
content_box.visible = true
footer_box.visible = true
self.rect_size = current_rect_size
func _on_Open_pressed():
open()
func _on_Resize_pressed():
is_resizing = true
func _input( event ):
if is_resizable:
if is_resizing and event is InputEventMouseButton and not event.pressed:
is_resizing = false
if event is InputEventMouseMotion and is_resizing:
var delta = event.relative
self.rect_size += delta
size_changed = true
func check_if_clicked( event ):
if not is_moving and event is InputEventMouseButton and event.is_pressed() and not event.is_echo() and event.button_index == 1 :
emit_signal( "window_clicked", self )
func _on_Header_gui_input( event ):
check_if_clicked( event )
if self.is_dragged_by_header_only:
if is_movable:
if is_moving and event is InputEventMouseButton and not event.pressed:
is_moving = false
elif not is_moving and event is InputEventMouseButton and event.pressed:
is_moving = true
if event is InputEventMouseMotion and is_moving:
var delta = event.relative
self.rect_position += delta
func _on_window_gui_input( event ):
check_if_clicked( event )
if not self.is_dragged_by_header_only:
if is_movable:
if is_moving and event is InputEventMouseButton and not event.pressed:
is_moving = false
elif not is_moving and event is InputEventMouseButton and event.pressed:
is_moving = true
if event is InputEventMouseMotion and is_moving:
var delta = event.relative
self.rect_position += delta
func load_from_file( config_file ):
print("[res://addons/kh_window/kh_window.gd] load_from_file")
if config_file.has_section( self.name ):
self.rect_position = config_file.get_value( self.name, "position" )
self.rect_size = config_file.get_value( self.name, "size" )
self.is_borderless = config_file.get_value( self.name, "borderless" )
current_rect_position = self.rect_position
current_rect_size = self.rect_size
if config_file.get_value( self.name, "opened" ):
open()
else:
close()
func save_to_file( config_file ):
var is_open = content_box.visible
config_file.set_value(self.name, "position", self.rect_position)
if not is_open:
config_file.set_value(self.name, "size", current_rect_size)
else:
config_file.set_value(self.name, "size", self.rect_size)
if is_open:
config_file.set_value(self.name, "opened", true)
else:
config_file.set_value(self.name, "opened", false)
config_file.set_value(self.name, "borderless", is_borderless)

View file

@ -0,0 +1,12 @@
tool
extends EditorPlugin
func _enter_tree():
# Initialization of the plugin goes here
# Add the new type with a name, a parent type, a script and an icon
add_custom_type("kh_window", "MarginContainer", load("res://addons/kh_window/kh_window.gd"), load("res://addons/kh_window/icon.png"))
func _exit_tree():
# Clean-up of the plugin goes here
# Always remember to remove it from the engine when deactivated
remove_custom_type("kh_window")

View file

@ -0,0 +1,7 @@
[plugin]
name="KH Window"
description="A custom window control."
author="Osquallo"
version="1.0.0"
script="kh_window_plugin.gd"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://assets/creatures/arche/arche.gltf" type="PackedScene" id=1]
[node name="arche" instance=ExtResource( 1 )]

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/blue_eye.png-d7d2301f5e528b59c3005a04c86ddb4d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/blue_eye.png"
dest_files=[ "res://.import/blue_eye.png-d7d2301f5e528b59c3005a04c86ddb4d.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.

After

Width:  |  Height:  |  Size: 682 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bluegreen_eye.png-c5c1be7f8fa9c7af282cec47ddb1d6c4.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/bluegreen_eye.png"
dest_files=[ "res://.import/bluegreen_eye.png-c5c1be7f8fa9c7af282cec47ddb1d6c4.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.

After

Width:  |  Height:  |  Size: 596 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/brown_eye.png-ac17310139718dd36b9a18837722afbe.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/brown_eye.png"
dest_files=[ "res://.import/brown_eye.png-ac17310139718dd36b9a18837722afbe.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.

After

Width:  |  Height:  |  Size: 665 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/brownlight_eye.png-6411d1783f3a60be2b6d561cae8a6032.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/brownlight_eye.png"
dest_files=[ "res://.import/brownlight_eye.png-6411d1783f3a60be2b6d561cae8a6032.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.

After

Width:  |  Height:  |  Size: 644 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/deepblue_eye.png-7548b9d978d6a9035ef4bf858104c20d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/deepblue_eye.png"
dest_files=[ "res://.import/deepblue_eye.png-7548b9d978d6a9035ef4bf858104c20d.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.

After

Width:  |  Height:  |  Size: 88 KiB

View file

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/eyebrow001.png-b1079b39568ce7239cae7a3440b4c742.s3tc.stex"
path.etc2="res://.import/eyebrow001.png-b1079b39568ce7239cae7a3440b4c742.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/creatures/human/textures/eyebrow001.png"
dest_files=[ "res://.import/eyebrow001.png-b1079b39568ce7239cae7a3440b4c742.s3tc.stex", "res://.import/eyebrow001.png-b1079b39568ce7239cae7a3440b4c742.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

View file

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/eyelashes01.png-d24859d80efa1225842a7331e0eb0d9f.s3tc.stex"
path.etc2="res://.import/eyelashes01.png-d24859d80efa1225842a7331e0eb0d9f.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/creatures/human/textures/eyelashes01.png"
dest_files=[ "res://.import/eyelashes01.png-d24859d80efa1225842a7331e0eb0d9f.s3tc.stex", "res://.import/eyelashes01.png-d24859d80efa1225842a7331e0eb0d9f.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 KiB

View file

@ -0,0 +1,36 @@
[remap]
importer="texture"
type="StreamTexture"
path.s3tc="res://.import/green_eye.png-53836a205e64e346a80fb1aaa9d9b0f7.s3tc.stex"
path.etc2="res://.import/green_eye.png-53836a205e64e346a80fb1aaa9d9b0f7.etc2.stex"
metadata={
"imported_formats": [ "s3tc", "etc2" ],
"vram_texture": true
}
[deps]
source_file="res://assets/creatures/human/textures/green_eye.png"
dest_files=[ "res://.import/green_eye.png-53836a205e64e346a80fb1aaa9d9b0f7.s3tc.stex", "res://.import/green_eye.png-53836a205e64e346a80fb1aaa9d9b0f7.etc2.stex" ]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=true
flags/filter=true
flags/mipmaps=true
flags/anisotropic=false
flags/srgb=1
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=false
svg/scale=1.0

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/grey_eye.png-6eb34815c7268510225eb2b02829ab74.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/creatures/human/textures/grey_eye.png"
dest_files=[ "res://.import/grey_eye.png-6eb34815c7268510225eb2b02829ab74.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

Some files were not shown because too many files have changed in this diff Show more