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

Treasure Hunt Template: How to keep track of all the clues
5 September 2024

The treasure hunt template is simple, but it allows you to edit the rules as much as you wish. And...

The new Treasure Hunt is out! And it’s available in your own location
30 August 2024

Do you need an outdoor game for the upcoming wave of events in September? A treasure hunt is a wise...

How to pause a Loquiz game for every player
15 August 2024

You’re hosting an outdoor Loquiz game and suddenly it’s raining. 🌧️ You wish you could pause and resume an hour...

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