A downloadable asset pack

Download NowName your own price

Autosave script

Changelog: v0.2.0 Initial release
(MAR/02/2024) - 1.1.0 
- Load function added! 
- Delete slot function.
- C# functions! (more info below).
- Performance improvements

日本語の説明は下にあります。


Description

With this script you can save or load the game automatically when activating a switch or calling a C# function, you can configure in which slot you will use to manage the data and if you want to modify it in-game.


How to use?

  • Place the "AutoSave.cs" script in "ProjectFolder/script".
  • Create a common event and attach the script to it.
  • Use the switch or functions to save or load the game.
  • That's it!


C# Functions

SetSlot: Set the current game data slot to use in "QuickSave" and "QuickLoad" calls. Default: 0

QuickSave: Quick Save the game to current save slot.

QuickLoad: Quick Load the game to current save slot.

DoSave: Save the game by using the slot entered in the parameter.

DoLoad: Load the game by using the slot entered in the parameter.

DeleteSlot: Delete the slot given in the parameter (Caution: This cannot be undone).


Settings

Inside the script you can change the following parameters: (You can use C# calls in bakin event panel instead).


  • changeSlotInBakin: If its value is true the slot ID will be obtained from a variable in the game.
  • bakinSlotName: Name of the variable from which the slot ID will be obtained for autosave.
  • bakinSwitch: Activate this switch to save the game instantly.
  • saveId: The ID of the slot that the game will be saved to when using this script.



Important: 

-If you don't understand something you can always watch the short video that shows how the script works.

Notes

* If you find any bug, do not hesitate to let me know!

* This script is not paid, although I will appreciate any kind of support! (If I start getting more support I'll be able to continue scripting!)

* This script only requires giving credits to me! (Jagonz) in your game. (Can be anywhere even in the final credits).

* Any questions I am always active on official Bakin Discord.



Changelog: v0.2.0 初回リリース
(2024年3月2日) 1.1.0 
 ロード機能を追加しました!
 スロット削除機能を追加しました。
 C#関数!(詳細は下記)
 パフォーマンスの改善

説明

このスクリプトを使用すると、スイッチをアクティブにしたり、C#関数を呼び出すことでゲームを自動的に保存またはロードできます。データを管理するために使用するスロットや、ゲーム内で変更するかどうかを設定できます。

使用方法は


  • "AutoSave.cs"スクリプトを "ProjectFolder/script" に配置します。
  • 一般イベントを作成し、スクリプトをアタッチします。
  • ゲームを保存またはロードするためにスイッチや関数を使用します。
  • 以上です!

C#の関数

 

SetSlot: "QuickSave"と "QuickLoad" の呼び出しで使用する現在のゲームデータスロットを設定します。デフォルト:0

QuickSave: 現在のセーブスロットにゲームをクイックセーブします。

QuickLoad: 現在のセーブスロットにゲームをクイックロードします。

DoSave: パラメータで指定されたスロットを使用してゲームを保存します。

DoLoad: パラメータで指定されたスロットを使用してゲームをロードします。

DeleteSlot: パラメータで指定されたスロットを削除します(注意:これは元に戻すことができません)。

設定

スクリプト内で以下のパラメータを変更できます:(代わりにバッキンイベントパネルでC#コールを使用できます)。

  • changeSlotInBakin: この値が true の場合、スロットIDはゲーム内の変数から取得されます。
  • bakinSlotName: オートセーブ用にスロットIDが取得される変数の名前。
  • bakinSwitch: このスイッチをアクティブにすると、ゲームが即座に保存されます。
  • saveId: このスクリプトを使用してゲームが保存されるスロットのID。

     

    注記
  •  バグが見つかった場合は、遠慮せずにお知らせください!
  •   このスクリプトは無料ですが、いかなるサポートも感謝します!(もっとサポートを受けるようになれば、スクリプト作成を継続できます!)
  • このスクリプトには、ゲーム内で私(Jagonz)にクレジットを表示する必要があります。(最終的なクレジットに限らず、どこでも構いません)。
  •  質問があれば、公式のBakin Discordで常に活動しています。

Download

Download NowName your own price

Click download now to get access to the following files:

AutoSave.cs 8 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.