1. Home
  2. Knowledge Base
  3. Mobile Built Services
  4. CocoonIO
  5. Tutorials
  6. CocoonIO – Make a “On Exit” message in Construct 2

CocoonIO – Make a “On Exit” message in Construct 2

Exit Dialog

Imagine the player of your game accidentally press the back or exit button and the game just close. That’s fairly frustating. So add a “On Exit” message to your game to ensure that the player really want to close the game (like shown on the screen shot below).

onExit

Demo

You can find a live demo here.

[creativ_button url=”https://play.google.com/store/apps/details?id=com.ciotemplate.shatter” icon=”play” label=”Android Demo” colour=”green” colour_custom=”” size=”medium” edge=”straight” target=”_blank”]

All what you need for this is the “Cocoon CanvasPlus” plugin by ludei. You can download it along with many other awesome plugins over here.

Icon

Cocoon Construct 2 Plugins 0.00 KB 11329 downloads

Download the Cocoon Plugins for Construct 2 now! The download link fetches the latest...

This download link has always the latest files!

Code

onExit_Code

You can download a capx example over here.

Icon

Cocoon - On Exit Message 0.2 MB 1581 downloads

Download our free game template Cocoon On Exit Message. This template shows you how...
Updated on May 6, 2018
Was this article helpful?

Related Articles

Not the solution you were looking for?
Click the link below to submit a support ticket
Visist our Forum!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.