A downloadable tool

Download NowName your own price

🎮 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
StatusReleased
CategoryTool
AuthorNixilliscyte
Tags2D, 3D, Indie, No AI, Point & Click

Download

Download NowName your own price

Click download now to get access to the following files:

action_On_KeyPress.js 972 bytes

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.