DEV Community

HALO
HALO

Posted on

Starting GOKI2 ADV: Defining Backgrounds, Time Zones, and Screen Update Control Tags [Mod ADV Introduction]

Download

If you are interested, you can download the latest environment from the link in the Avalanches-Release2.x.y.y.zip in Assets from the release tag of the following site (Avalanches release version 2.x.y.y).

https://github.com/halo1234/Avalanches/releases

Background

The definition of a background is simple.
You just need to specify the name and the storage name (file name) as follows:

@make_stage name=white storage=white.png
@make_stage name=black storage=black.png
Enter fullscreen mode Exit fullscreen mode

Additionally, you can also specify a time zone for the background.
For time zones, specify the name and suffix as follows:

@make_time_zone name=morning suffix=''
@make_time_zone name=evening suffix=ev
@make_time_zone name=night suffix=ng
Enter fullscreen mode Exit fullscreen mode

With this, you can now use five tags: "white", "black", "morning", "evening", and "night".
When a time zone tag is specified, the background storage will load with the corresponding suffix added to the storage name.

@evening
@white

[halo] Loaded the white background for the evening.
Enter fullscreen mode Exit fullscreen mode

In this case, the "white" tag will load whiteev.png.

Timing of screen updates

ModADV updates (transitions) backgrounds and character sprites at the timing when text is processed.
So, if you do the following, the screen will transition before displaying "あ".

@white

@halo pose1 expression1 middle show
[halo]abcdefg。
Enter fullscreen mode Exit fullscreen mode

If you want the background and character sprites to transition separately,
you can also use the [run_reserved_transition] tag to forcibly trigger a transition.

Control tags

ModADV has several tags for control purposes (with run_reserved_transition being one of them).
If you understand how they work, using them is fine.
If you don't understand how they work, it might be difficult to use them properly.

Top comments (0)