BlogTech advice

Loquiz Creator: How to properly use the timer blocks

The Loquiz Creator allows you to create a wide range of game types, and unique games for your events and tours. However, there are a few things to keep in mind while creating a game.

In this article, I will focus on the timer blocks.

Loquiz time related logic blocks

If many of these blocks overload your game, then your game will work poorly on some devices.

My recommendation regarding these blocks

Do not associate these timer blocks with a lot of logic blocks.

If you apply these to a high quantity of logic blocks, then you might experience issues. Here’s an example of a logic you should avoid:

A logic where the date block is attached to too many logic blocks

This logic works well per se. However, one detail will increase the workload for your phone device: the “date > 2024 – etc” block.

My recommendation is to use any timer block on as few logic blocks as possible.

For instance here, you could do the following instead:

The timer block is detached and now applies to a few logical blocks

What has changed? We separated the “date” block from the rest and only applied to two blocks.

The date block will have much less logic to apply to. And this will lighten the game more than we can imagine. How so? I’m going to explain it here in the next paragraph.

Why is that optimization needed?

Why should we link a timer logic block to as few other logical blocks as possible?

Before explaining it, here’s one fundamental about Loquiz: The Loquiz system will read a whole logic frame by frame. A frame is a time when the code is read. So there are usually a few dozen times per second.

The timer consumes much more resources. Specifically, it will verify whether each logic associated with the timer is true or false, as it requires a 1-second accuracy.

For that reason, we should link the timer block to as few logic blocks as possible.

And here’s the difference in the number of blocks that it has to read:

Comparison between the two former logics

Note: I oversimplify my explanation. There are a few things where I’m indeed not accurate, but I want to keep the explanation accessible.

If you have any questions or if you’re unsure about anything regarding your game’s logic (and its timer blocks), feel free to book a 30-minute meeting with me 😊

Related stories

Why should you Gamify your City Tour?
12 June 2024

Implementing gamification on your self-guided city tour using people’s devices can enhance the overall experience in several ways. Here are...

Show the score, the team name on your Loquiz tasks
11 June 2024

Your players are progressing in your game and you’d like to remind them of their score? With the field variables...

QR Code Scavenger Hunt: 20 ideas for your events
29 May 2024

QR codes have become mainstream, but it can be tough to find QR Code Scavenger Hunt ideas. And yet, these...

Start free trial to bring your ideas to life

Sign up and create games, tours, team events and educational content that captures peoples' attention
Start from the scratch or use templates to kickstart!

Start for free