ReelAPI

版本 v1.0.0·更新於 2025-06-06

A Misc API for WEBFISHING.

模組介紹 作者原文

A Misc API for WEBFISHING.

Right now, ReelAPI only allows for registering UIs, so making custom UIs is easier.

This API will have more stuff later on.

How to install

  • Install the repository, and put Kikin.ReelAPI into your mods folder in Godot.
  • Autoload it - Select Kikin.ReelAPI/main.gd and set the name as "KikinReelAPI"
  • done:3

UI

For registering custom UIs, you need to firstly get ReelAPI in your script.

var ReelAPI

func _ready():

ReelAPI = get_node_or_null("/root/KikinReelAPI")

Now lets actually register the UI.

var ReelAPI

func _ready():

ReelAPI = get_node_or_null("/root/KikinReelAPI")

ReelAPI.register_window({

"window_id": "example_window", # Every UI needs to have an ID to represent itself.

"window_scene": preload("res://mods/Kikin.ReelAPI/Scenes/ExampleWindow.tscn"), # The scene of the UI.

"keybind": KEY_END, # The keybind that will be used to open the UI.

"mod_id": "ReelAPI", # This is just for debugging purposes, but i recommend settings this to your Mod ID

"silent_print": false, # If you don't want ReelAPI to yap about some debug stuff, set this to True.

"animation_start": "start" # In your UI you --> need <-- to have an AnimationPlayer. Set this to the animation name you want to play at start, if you don't want to play anything then create an empty animation.

})

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。 WEBFISHING 的模組多數需要 GDWeave 載入器,包內 readme 會說明具體位置。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

NotNet-GDWeave

檔案與校驗

檔案名稱
ReelAPI-1.0.0.zip
檔案大小
29.5 KiB