Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
exiting the game

cx001
Registered User
Quote
2018-09-04 06:34:24

If I want to exit the game, I will have to press that x button to close it, but I want to make it so you can just press a button like escape to exit the game. is there any way I can do that?


erik
Registered User
Quote
2018-09-04 07:34:13

There is an action for that "quit application"


cx001
Guest
Quote
2018-09-05 00:56:05

Thanks but how do you do that?


erik
Registered User
Quote
2018-09-05 07:03:09

In the scene graph explorer, click on the root node and go to behaviors, add a "when key pressed do something" behavior to it. As key, select whatever key you like, like "escape", and add an action to it. That action should be the "quit application" action.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "I?ternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact