action_On_KeyPress
A downloadable tool
đŽ action_On_KeyPress â CopperCube Plugin
action_On_KeyPress is a lightweight and flexible CopperCube plugin that allows you to trigger any action when a specific key is pressed — perfect for creating custom controls, toggles, or interactive gameplay moments without relying on complex behavior chains. This plugin gives you direct control over key-based interactions.
đ§ Plugin Parameters
- Js_Key_Code â Choose any key from your keyboard using its JavaScript key code. This gives you full flexibility to assign custom controls.
- Action_On_KeyPress â Define the action you want to execute when the selected key is pressed. This can be anything from triggering a sound, activating a SceneNode, or launching a scripted event.
đšī¸ Example Use Case
You can easily integrate this plugin using the "On proximity do something" behavior. On proximity a 2D Overlay is displayed showing the letter "E" indicating the player to press the "E" key to trigger, a dialogue or an action to open, doors or anything. But you are not limited to that, use your imagination.
- On key press â trigger
action_On_KeyPress
to execute your desired action. This setup is ideal for creating responsive gameplay mechanics, toggling UI elements, or activating special effects.
This plugin is free to use and designed to save you time while expanding your creative possibilities in CopperCube. If it helps your project, a small tip is always appreciated. Happy developing! đ
Updated | 1 hour ago |
Published | 12 days ago |
Status | Released |
Category | Tool |
Author | Nixilliscyte |
Tags | 2D, 3D, Indie, No AI, Point & Click |
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Awesome!!!, this would be perfect for games with interactive elements
Thanks, glad you find it useful.