Mobile Toast

The Mobile Toast add​on implements native mobile short time messages on Android, iOS and Windows.

Mobile Toast can be used to display information for the short period of time. A toast contains message to be displayed quickly and disappears after sometime.

This is very useful for showing transactions complete messages during in-app-purchases or save complete messages either by local storage or playfab cloud storage.

The best benefit for this addon is that it supports all editors and runtimes of Construct. Both, Construct 2 and Construct 3.

It will show native mobile messages for the application.

Intstructions

1. The first step is to add the Mobile Toast addon into the project.

Actions, Conditions & Expressions

Actions

Easy Toast :

  • Show - Show a Toast.

    • Message - The Message in the Toast.

    • Duration - The Duration of the toast on the screen.

    • Position - The Position of the toast on the screen.

  • Hide - Hide all open Toast manually.

Templates Toast :

  • Show Short Top - Show a Short Top Toast.

    • Message - The Message in the Toast.

  • Show Short Center - Show a Short Center Toast.

    • Message - The Message in the Toast.

  • Show Short Bottom - Show a Short Bottom Toast.

    • Message - The Message in the Toast.

  • Show Long Top - Show a Long Top Toast.

    • Message - The Message in the Toast.

  • Show Long Center - Show a Long Center Toast.

    • Message - The Message in the Toast.

  • Show Long Bottom - Show a Long Bottom Toast.

    • Message - The Message in the Toast.


Advanced Toast :

  • Advanced Show - Show a Toast. With advanced options.

    • Message - The Message in the Toast.

    • Duration - Either "short", "long" or a number in milliseconds(ms).

    • Position - The Position of the toast on the screen.

    • Offset Y - Add or Subtract Pixels to move up or down the toast.


Styling :

  • Set Opacity - Set the Toast Styling, Opacity.

    • Opacity - "0.0" (transparent) to 1.0 (opaque). Default: "0.8".

  • Set Background Color - Set the Toast Styling, Background Color.

    • Background Color - Make sure you use "#RRGGBB". Default: "#333333".

  • Set Text Color - Set the Toast Styling, Text Color.

    • Text Color - Make sure you use "#RRGGBB". Default: "#FFFFFF".

  • Set Text Size - Set the Toast Styling, Text Size.

    • Text Size - Default is approximately "13".

  • Set Corner Radius - Set the Toast Styling, Corner Radius.

    • Corner Radius - Minimum is "0" (square). iOS default "20", Android default "100".

  • Set Horizontal Radius - Set the Toast Styling, Horizontal Radius.

    • Horizontal Padding - iOS default "16", Android default "50".

  • Set Vertical Radius - Set the Toast Styling, Vertical Radius.

    • Vertical Padding - iOS default "12", Android default "30".​

  • Reset Styling - Clear the Styling previously made and restore styling to default.

Conditions

Mobile Toast :

  • On Show Toast - Triggered when a toast has been shown successfully.

  • On Show Toast Failed - Triggered when a toast has been shown successfully.

  • On Touch Toast - Triggered when a toast has been touched.

  • On Hide Toast - Triggered when a toast has been hidden.

General :

  • Message - Return the message on any shown event.


Debugging :

  • ErrorMessage - Return the error message on any show event failed.

Expressions

Features

The Mobile Toast is an addon that extends the game application's feature to let show native mobile in-game messages for both android and ios. It's from the Mobile Master Collection under the Construct Master Collection and supports both Construct 2 and Construct 3 with also supporting both the c2runtime and c3runtime.

Features :

  • Advanced Toast with manual options.

  • Easy Toast with easy actions.

  • Toast Styling, with various options.

  • Toast templates, pre-made toast settings. 

  • Easy to use and no programming required.

  • Well-supported and fully tested.

  • Timing and position options.

  • Styling include the corner radius, opacity, text color &size, bg color and hr & vr radius.

  • Templates include multiple variations of timing and sizes.

  • Construct 2 editor support.

  • Construct 3 editor support.

  • Construct 2 runtime.

  • Construct 3 runtime.

  • C3 Build Service, PhoneGap.

  • Cordova CLI & Android Studio.

Android Showcase

iOS Showcase

Windows 8

Mobile Toast Free-Styling

Game Project

Sample Setup Project

Specifications

  • Instructions - The sample project has comments and instructions on how to use the addon and its features.

  • A.C.E. Coverage - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks to a better use of the addon and of the event-sheet system alongside it.

Supporters

Only

 
 
 
 
 
 
 

Get the tools

for your pro games!

Constuct Master Collection - Itch.io
Constuct Master Collection - Discord
Constuct Master Collection - Construct 3

© Construct Master Collection 2020 • All rights reserved

Contact Information: