Articles on: Conception examples

๐ŸŽด Card Game

Example link:

A deck of cards allows you to build infinite playability from limited resources of images and text.

You can recreate a classic 52-card deck, create narrative card games and more.

๐ŸŸช Swipe block

Here is the purple Swipe bloc, which allows you to display a card.

The card can be swiped to the left or to thr right by the user, with a different outcome of each swipe, like Tinder.

In its edit window, you can change the displayed text of the swipe outcome in the left and right option.

The test option let you modify the text written above the card.

The caption option let you change the text under the card, which is especially useful to count rounds for exemple.

Choose your card image from your imported files by clicking on the arrow in the image section.

๐ŸŸฅ Repeat

The pink Repeat block will repeat all content after its out indefinitely.

In this example, the Storyline will start repeating the same path showing the

cards starting after the Connector block.

In the bloc edit window, there are 9999 iterations.

The end out is not filled here, so after those iterations, the Storyline will stop.

The index is the number of iterations done.

๐ŸŸฆ Text format

The Text format block lets you custom the text selected by the current value of a variable.

In this example, the Captation text of each swipe block is connected to the Text format block displayed as: {{ x }} Year(s) of Reign

x is recognized as an unknown and is linked to the Years of reign variable.

๐ŸŸฅ Once

The Once block will allow the Storyline go through it only one time.

As the Random path gives this out 1 on 3 chances to happen, each round, there are 33% of chances to get the Lucky card, but only once.

It is definitly a starter boost.

๐ŸŸฅ Break

The Break block will break the loop of the Storyline begun by the Repeat block.

In this example, the Storyline (and the game) will stop after one of the four condition is fullfilled and the end alert message displayed.

Variables always displayed

Card games are often showing variables to follow the value of different indicators.

Here there are 4 variables: Army, Money, People and Religion.

To change or create variables, go to Main Menu (๐ŸŽด Card Game)/Variables.

To learn more about variables, go to:

๐Ÿงฎ Set up conditions (advanced)

In the Copy/paste blue group on the graph, you can see Increment blocks linked to their connected variable. You can copy/paste them and edit the value added to the variable by double-clicking on each Increment block.

To display the variables in the Head Up Display (HUD), go to Main Menu/Menus then select the HUD menu, and edit the Layout (sub-menu) displaying the variable during the game.

Not to loose

If one of the 4 variables reaches 0 or less, your reign is over and the involved faction will take your crown.

This is represented here as a Condition block where the condition is expressed by an Expressionblock, which execute the x <= 0 operation.

The out will be true of false and direct the Storyline.

Updated on: 20/10/2021

Was this article helpful?

Share your feedback


Thank you!