MOTIVATIONAL QUOTES
Get and create motivational quotes
Download
Link
Short Description
This plugin has two parts:
- the first shows a motivation quote when you launch Construct 3.
- the second provide a random motivational quote in your personal project
It’s possible to set 3 sources for the random quotes:
- the plugin’s library
- a project file in your own project
- a json file from another site
In the example file I show how to use all the 3 methods. The external source is set on FreeCodeCamp repository but you can customize it.
ACEs
DEFAULT
- GetQuoteJSON: [expression] Get a quote like a JSON ({quote, author}).
- GetQuoteFromJSON: [expression] Get the quote from a JSON string ({quote, author}).
- GetAuthorFromJSON: [expression] Get the author from a JSON string ({quote, author}).
LOCAL
- Initialize JSON from file {0}: [action] Inizialize a JSON from a project file.
- GetQuoteFromLocalJSON: [expression] Get a quote like a JSON ({quote, author}) from a project file.
- GetPropertyFromJSON: [expression] Get a property from a JSON file.
OTHERS
- Inizialize an external JSON from URL {1} with alias {0}: [action] Initialize a JSON from an external URL.
- GetQuoteFromExternalJSON: [expression] Get a quote like a JSON ({quote, author}) from a remote file.
- GetPropertyFromJSON: [expression] Get a property from a JSON file.
REMOVE
- Remove JSON {0} from the memory: [action] Remove a JSON from the memory.
- Remove all the JSONs from the memory: [action] Remove all the JSONs from the memory.
Show a motivation quote
How to use
` -> System: Set newQuote to MotivationalQuotes.GetQuoteJSON (as JSON)`
` -> quote: Set text to MotivationalQuotes.GetQuoteFromJSON(newQuote)`
` -> author: Set text to MotivationalQuotes.GetAuthorFromJSON(newQuote)`