mirror of
https://github.com/HarmonyHoney/tiny_crate.git
synced 2026-01-23 02:34:53 +00:00
configure silent wolf! (;
This commit is contained in:
parent
ee141c46c6
commit
82e809474c
4 changed files with 16 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -3,4 +3,5 @@
|
|||
*.import
|
||||
[Ee]xport/
|
||||
[Bb]uild/
|
||||
[Aa]ndroid/
|
||||
[Aa]ndroid/
|
||||
silent_wolf_api_key.gd
|
||||
|
|
@ -300,7 +300,7 @@ permissions/install_location_provider=false
|
|||
permissions/install_packages=false
|
||||
permissions/install_shortcut=false
|
||||
permissions/internal_system_window=false
|
||||
permissions/internet=false
|
||||
permissions/internet=true
|
||||
permissions/kill_background_processes=false
|
||||
permissions/location_hardware=false
|
||||
permissions/manage_accounts=false
|
||||
|
|
@ -506,7 +506,7 @@ permissions/install_location_provider=false
|
|||
permissions/install_packages=false
|
||||
permissions/install_shortcut=false
|
||||
permissions/internal_system_window=false
|
||||
permissions/internet=false
|
||||
permissions/internet=true
|
||||
permissions/kill_background_processes=false
|
||||
permissions/location_hardware=false
|
||||
permissions/manage_accounts=false
|
||||
|
|
|
|||
|
|
@ -101,6 +101,7 @@ Music="*res://src/autoload/Music.tscn"
|
|||
TouchScreen="*res://src/autoload/touch_screen.tscn"
|
||||
Wipe="*res://src/autoload/Wipe.tscn"
|
||||
UI="*res://src/autoload/UI.tscn"
|
||||
SilentWolf="*res://addons/silent_wolf/SilentWolf.gd"
|
||||
|
||||
[display]
|
||||
|
||||
|
|
@ -118,7 +119,7 @@ search_in_file_extensions=PoolStringArray( "gd", "gdshader", "shader", "tscn" )
|
|||
|
||||
[editor_plugins]
|
||||
|
||||
enabled=PoolStringArray( "aseprite_importer" )
|
||||
enabled=PoolStringArray( "res://addons/aseprite_importer/plugin.cfg", "res://addons/silent_wolf/plugin.cfg" )
|
||||
|
||||
[global]
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,16 @@ func _ready():
|
|||
create_save()
|
||||
|
||||
Wipe.connect("finish", self, "wipe_finish")
|
||||
|
||||
# silent wolf
|
||||
var api_key = load("silent_wolf_api_key.gd").source_code.replace('"', "")
|
||||
SilentWolf.configure({
|
||||
"api_key": str(api_key),
|
||||
"game_id": "TinyCrate",
|
||||
"game_version": "1.0",
|
||||
"log_level": 1})
|
||||
|
||||
SilentWolf.configure_scores({"open_scene_on_close": "res://scenes/MainPage.tscn"})
|
||||
|
||||
func _physics_process(delta):
|
||||
# reset timer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue