[Custom Action] Split Screen / Minimap


■ Contents
The following features are added to the execution actions:

Split Screen
CA_SplitScreenTwoCamera.gd (54.2 KB)
This consists of two items: the “Minimap” execution action and the configuration file.
CA_MinimapAction.gd (20.3 KB)
CA_MinimapMarkerConfig.gd (2.3 KB)

※ Installation Method
Drag and drop the above *.gd files into the ≪File System≫ of AGMaker 1.3.x or later.
After installation, the features will be added to the execution actions.

When uninstalling, it is safer to remove the used features from the action before deleting the files.
We strongly recommend backing up your project before installation.

The sample project is available for free on itch.io:
CA_smple_2026I free project data by GotchaGotchaGames

■ Project Details
When you start the test play, you can try out the ≪Split Screen≫ and ≪Minimap≫.

A or D: Move Blue Ninja
Space: Blue Ninja Jump
↔ : Move Red Ninja
shift : Red Ninja Jump

■ Split Screen Explanation

This is a plugin that captures two objects in the camera and splits the screen vertically or horizontally.

1P/2P
Specify the target objects via tscn.
※ Add two camera2Ds to the scene and give them the same name.


Limit Display Area
Check this if you do not want to use the full screen.

Split Display
Select between left-right split or top-bottom split.
You can adjust the thickness of the border, etc.

Follow / Smoothness
Try the default settings first. If you want to adjust the camera movement, try modifying the values.

Zoom
You can adjust the zoom level for each camera.
※ Select “Manual Specification” to change the zoom level.

Pixel Art Correction
Adjustments to prevent pixel art distortion caused by camera movement, etc.

■ Minimap Explanation

Generates a simple minimap on the screen.
You can also display target objects.

Background
It is not auto-generated; you must prepare an image for each scene (a rectangular prism).
Background Image Path: Load the image here.

You need to link the image with the scene’s position.

① Enter the coordinates for the top-left and bottom-right corners of the scene (High difficulty)
・By setting these two points, that area becomes the defined region.

② Place two markers in the scene (Recommended)
・Place two [Marker2D] nodes in the scene and rename them.


By specifying these two points, the coordinates are automatically acquired and linked to the minimap image.
image

Display Position
You can specify six positions relative to the screen.

Markers
Prepare as many markers as the number of objects you want to display on the minimap.
※ This is not suitable for displaying many enemies on the minimap.

・Add a frame via “Add Element”.
・Select CA_MinimapMarkerConfig.gd.
・Specify the target tscn and select either the auto-created “●” or a “Single Image”.

8 Likes