标题:1/7 Update
作者:yami
发布时间:2023年01月07日 9时19分18秒
Add ARPG event UI template
Command changes:
Add UI->Set Pointer Event Root
- Used to limit the valid range of UI pointer events
Add Actor->Remove Target
- Removes a specified actor from the pool of actor targets
Add System->Pause Game
Add System->Continue Game
Add System->Prevent Scene Input Events
- Pause to trigger global mouse events
Add System->Restore Scene Input Events
- Restore global mouse events
Add System->Game Data
- Used to save, load and delete save data.
Extend Flow->For Each->Save Data
- Get the index and saved local variables of each save data
- This option is a bit special, you can get multiple variables
Extend UI->Set Text->Content, variables can be used
Extend UI->Set Dialog Box->Content, variables can be used
Extend UI->Load Image->Shortcut
Extends UI->Load Image->Base64 Image
- Loads an image from a base64 image string to an element
Extend Actor->Change Actor Equipment->Slot, variables can be used
Extend Flow->Set Number->Other->Get Timestamp
- Get the current timestamp of the device
Extend Flow->Set String->Attribute Key
Extend Flow->Set String->Template String
- Can insert variables
Extend Flow->Set String->Other->Parse Timestamp
- Parse timestamp to a specific date format
Extend Flow->Set String->Other->Screenshot(base64)
- Convert the current game screen to a base64 string and save it to a variable
Extend Flow->Set String->Object->Actor - Team ID
Extend Flow->Set List->Split String
- You can split "a,b,c,d" into 4 pieces after specifying the separator.
Extend Flow->Set List->Get Actor Targets
Extend Flow->If->Actor->Has skill shortcut
Extend Flow->If->Actor->Has item shortcut
Extend Actor->Get Actor->Condition, Exclusion
Extend Equipment Getter->Slot, variables can be used
Adjustment:
Adjust shortcut key, press [Space] key to drag UI, animation, particle stage
Change animation playback to [Enter] key
Fix bugs:
Command: If->Actor is in the screen, it does not take effect
The copied element ID is duplicated after cut->undo->paste of UI elements
The IDs of variables, properties and enumerations may be duplicated when they are copied across projects
The UI will be upgraded again and next time will support mouse, keyboard, gamepad and touch screen.
Steps for porting event UI:
First, back up your project !!!
Delete YAMI_UI custom command (F10)
Delete Assets\ plugins\YAMI_UI folder
Delete Assets\UI
Delete Assets\Events\Special Events\Show text
Delete Assets\Events\Special Events\Show choices
Open the explorer
Copy "Assets\UI" to the old project
Open another editor application
Steam Library -> Yami RPG Editor -> Context Menu -> Manage -> Browse local files -> yami.exe
Copy "Global Variables(F3)->UI\...(all)" to the old project
Copy "Object Attributes(F6)->Element\...(all)" to the same location of the old project
Copy "Object Attributes(F6)->Skill\Passive" to the same location of the old project
Copy "Enumeration(F7)->Element Events\...(all)" to the same location of the old project
Delete the previous YAMI_UI interface command,
change them to
Call Event: Switch Menu Interface / Open Trading Interface
Press F12 to see if there is a file ID conflict (yellow warning text),
if there is, find the file with the corresponding ID in the explorer and delete it.
Command changes:
Add UI->Set Pointer Event Root
- Used to limit the valid range of UI pointer events
Add Actor->Remove Target
- Removes a specified actor from the pool of actor targets
Add System->Pause Game
Add System->Continue Game
Add System->Prevent Scene Input Events
- Pause to trigger global mouse events
Add System->Restore Scene Input Events
- Restore global mouse events
Add System->Game Data
- Used to save, load and delete save data.
Extend Flow->For Each->Save Data
- Get the index and saved local variables of each save data
- This option is a bit special, you can get multiple variables
Extend UI->Set Text->Content, variables can be used
Extend UI->Set Dialog Box->Content, variables can be used
Extend UI->Load Image->Shortcut
Extends UI->Load Image->Base64 Image
- Loads an image from a base64 image string to an element
Extend Actor->Change Actor Equipment->Slot, variables can be used
Extend Flow->Set Number->Other->Get Timestamp
- Get the current timestamp of the device
Extend Flow->Set String->Attribute Key
Extend Flow->Set String->Template String
- Can insert variables
Extend Flow->Set String->Other->Parse Timestamp
- Parse timestamp to a specific date format
Extend Flow->Set String->Other->Screenshot(base64)
- Convert the current game screen to a base64 string and save it to a variable
Extend Flow->Set String->Object->Actor - Team ID
Extend Flow->Set List->Split String
- You can split "a,b,c,d" into 4 pieces after specifying the separator.
Extend Flow->Set List->Get Actor Targets
Extend Flow->If->Actor->Has skill shortcut
Extend Flow->If->Actor->Has item shortcut
Extend Actor->Get Actor->Condition, Exclusion
Extend Equipment Getter->Slot, variables can be used
Adjustment:
Adjust shortcut key, press [Space] key to drag UI, animation, particle stage
Change animation playback to [Enter] key
Fix bugs:
Command: If->Actor is in the screen, it does not take effect
The copied element ID is duplicated after cut->undo->paste of UI elements
The IDs of variables, properties and enumerations may be duplicated when they are copied across projects
The UI will be upgraded again and next time will support mouse, keyboard, gamepad and touch screen.
Steps for porting event UI:
First, back up your project !!!
Delete YAMI_UI custom command (F10)
Delete Assets\ plugins\YAMI_UI folder
Delete Assets\UI
Delete Assets\Events\Special Events\Show text
Delete Assets\Events\Special Events\Show choices
Open the explorer
Copy "Assets\UI" to the old project
Open another editor application
Steam Library -> Yami RPG Editor -> Context Menu -> Manage -> Browse local files -> yami.exe
Copy "Global Variables(F3)->UI\...(all)" to the old project
Copy "Object Attributes(F6)->Element\...(all)" to the same location of the old project
Copy "Object Attributes(F6)->Skill\Passive" to the same location of the old project
Copy "Enumeration(F7)->Element Events\...(all)" to the same location of the old project
Delete the previous YAMI_UI interface command,
change them to
Call Event: Switch Menu Interface / Open Trading Interface
Press F12 to see if there is a file ID conflict (yellow warning text),
if there is, find the file with the corresponding ID in the explorer and delete it.