Un projet pour tester et apprivoiser godot. Ce n'est pas un client officiel. Utile également pour se balader dans les décors et voir les objets nouvellement créés dans un client godot.
Find a file
2019-12-10 21:40:32 +01:00
addons Portage Godot 3.1beta + bypass login 2019-03-05 20:20:05 +01:00
assets adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
background_loader_scene typos 2018-09-30 16:22:07 +02:00
dispensaire_gridmap typo 2018-09-22 10:45:39 +02:00
dispensaire_scenes typo 2018-09-22 10:45:39 +02:00
game_scene adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
gdnative adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
godot-cpp@123d9f0e92 adding authentification to khanagat [Send login & password with crypted method] 2019-12-02 23:34:04 +01:00
gui_scene/GUI adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
login_scene adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
scenes changement de la musique du menu login et deplacement des musique de assets/test/musiques vers assets/musics/ 2018-10-11 16:11:06 +02:00
test_grid_map Correction des parametre des materiaux du dispensaire. 2018-09-04 15:05:41 +02:00
test_scene réorganisation des fichiers et correction de l'ecran de chargement qui ne s'adaptai pas a la taille du viewport. 2018-08-25 10:05:54 +02:00
.gitignore Ajout .gitignore. 2018-07-26 11:19:11 +02:00
.gitmodules adding godot-cpp 2019-12-02 21:41:03 +01:00
bitset.gdns adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
bitstream.gdns adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
ca-certificates.crt Add openssl certificate 2018-10-04 17:26:38 +02:00
crypt.gdns adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
default_env.tres adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
gdnative.gdnlib adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
global.gd adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
global.tscn adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
icon.png initialisation 2018-07-25 09:36:19 +02:00
icon.png.import Portage Godot 3.1beta + bypass login 2019-03-05 20:20:05 +01:00
JukeboxPannel.gd divers test. 2018-07-29 18:00:08 +02:00
portail.gd wip: ajout du choix de la position d'arriver du portail. 2018-08-21 11:40:29 +02:00
project.godot adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
README.md adding low level communication with server khaganat (UDP) 2019-12-10 21:40:32 +01:00
TODO adding authentification to khanagat [Send login & password with crypted method] 2019-12-02 23:34:04 +01:00

Build

Before build and launch client, we need build godot-cpp (lib to connect c++ code to godot engine) and build crypt (c++ module use to authentification with khaganat)

Build godot-cpp

Initialize

Load git submodule (godot-cpp & godot_header)

git submodule update --init --recursive

Build on 64bits

godot --gdnative-generate-json-api godot-cpp/godot_headers/api.json
scons -C godot-cpp platform=linux generate_bindings=yes custom_api_file=godot_headers/api.json bits=64 

Build on 32bits

godot --gdnative-generate-json-api godot-cpp/godot_headers/api.json
scons -C godot-cpp platform=linux generate_bindings=yes custom_api_file=godot_headers/api.json bits=32

Build gdnative (crypt / bitstream / bitset)

Build on 64bits

scons -C gdnative platform=linux bits=64 

Build on 32bits

scons -C gdnative platform=linux bits=32

Package client khaganat

Configure export

Configure on project export (or edit file export_presets.cfg)

Ex.: export_presets.cfg

[preset.0]

name="khaganat.linux"
platform="Linux/X11"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path=""
patch_list=PoolStringArray(  )
script_export_mode=1
script_encryption_key=""

[preset.0.options]

texture_format/bptc=false
texture_format/s3tc=true
texture_format/etc=false
texture_format/etc2=false
texture_format/no_bptc_fallbacks=true
binary_format/64_bits=true
custom_template/release=""
custom_template/debug=""

Generate package

godot --path . --export khaganat.linux khaganat.linux.bin

Launch client khaganat

With godot

godot login_scene/login_scene.tsc