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

How to (quickly) create icons for your outdoor game using AI
19 December 2024

When creating an outdoor game (such as a scavenger hunt) or a tour, you’ll need to add pins for each...

20 math riddles (with answers) to challenge your minds
18 December 2024

If you’re a fan of mathematics, solving riddles can be a lot of fun. These types of riddles might not...

“Open task on click”: Change it for every task individually
4 December 2024

When creating a Loquiz game with a playground and/or a map, you previously had to choose whether all tasks would...

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