Skip to content

PANDAKO-GitHub/InputCJK_Extension

Repository files navigation

⚠️ This extension is no longer needed.
Please use the built-in Text input object as a replacement.

InputCJK Extension

日本語はこちら

This is an extension for GDevelop that allows you to input multi-byte characters (Japanese, Chinese, Korean, etc.).

Please download the latest version from Releases.

Example

MIT License

Notes

  • Cannot be used in conjunction with text input objects.
  • It can be used in mobile apps, but there is a slight problem.
  • It is practical, but there is room for improvement.
  • It is not a modal window. The game behind it can be manipulated.
  • Do not place multiple instances with this extension in a scene.

How to use

  1. Download the extension (.json).
  2. Import the extension into your game.
  3. Add InputCJK Behavior to any object.
  4. Place the object in your scene.
  5. Create an event using the "Conditions", "Actions", and "Expressions" added by the extension.

Reference

Conditions

Is Close

Input Field is close.

Is Finished

Input Field has just been closed.

Is Open

Input Field is open.

Actions

Close Input Field

Close the Input Field.

Open Input Field

Set a string to the input field and then open it.

Set String

Set a string to the Input Field.

String Expressions

String

Get a string from the Input Field.

If you need multiple input fields.

Do not place multiple instances with this extension in a scene. The "Is Finished" condition will no longer work.

Even if there are multiple objects to which this behavior is added, there will be only one Input Field generated.

This can be solved by using variables or "Linked Objects".

Design customization (advanced)

This extension is designed to work with various resolutions, but if you want to change the appearance, you need to edit the extension.

Edit the stylesheet written in onCreated of Behavior functions.

HTML

<div id="InputCJK_Extension_div" style="display: none;">
  <input type="text">
  <button type="button">OK</button>
</div>

Known Issues

  • When this extension is used in an Android app (.apk), the status bar and navigation bar will remain visible, covering part of the screen.

About

An extension for entering multibyte characters for GDevelop.

Resources

License

Stars

Watchers

Forks

Packages

No packages published