“You have 20 minutes to cover as much distance as you can.
The more you run, the more you get points.
Let’s go!”
How’s that possible using Loquiz? I’m going to show you a Creator logic that allows you to give different amounts of points according to the walking distance.
For this, we’ll use the odometer. This feature simply measures the player’s distance based on the GPS location.
First of all, we need a task that will define the starting point. This task can either appear on the map or open itself, following logic.
Let’s take the second option, from the map. Let’s imagine that every player starts running from the same location.
Before we go into the logic, I’m going to create tasks that would appear at the end of the running session.
Then I’m going to duplicate this task, putting different distances and points.
To duplicate, you can go to the “1. TASKS” part of your game (bottom menu). Select the task, and click on “Create copies” as in the following screenshot:
Consequently, I’m going to edit them one by one, with different points and distances.
Then I add them to my game. Notice the first starting task.
Okay, now it’s time to start building our logic!
Using these tasks, we can build the logic that will allow us what we want to achieve in this article:
Let’s put these blocks first: It will trigger our logic 20 minutes (1200 seconds) after the starting point task.
And now we can add a condition that allows us to open the task when:
From there, we can do the same for all the next distance.
That’s a nice logic, isn’t it? And yet, there’s an issue.
Can you find the problem? I let you search a bit.
…
The issue is:
If the player walks more than 1000 meters, they will have more than one task that opens. For instance, if they walk 3000 meters (9843 feet), tasks 2; 3; 4; 5; and 6 will open one after another.
That’s not something we want.
But I have a little trick to overcome this; check it out:
I added this part. It means “As long as we didn’t walk for more than 1500 meters (4921 feet), task 2 will open after 1000 meters (3281 feet).
So we can repeat all the other steps (except the last one):
Sometimes, simple ideas need a few blocks to make them possible. However, with Loquiz, almost all simple ideas can be made possible if find the right trick using these blocks.
It needs a bit of patience to succeed in creating the right logic. However, you can also ask around. Indeed, you can send me a message or book a demo with me, if you have a logic in your mind that you want to adapt into Loquiz logic.
I’ll be delighted to help you out! 😄
Does your Loquiz game have a map, a list, or playground(s)? Your game has buttons on the bottom of the...
Just like with any of our game templates, you can customize many aspects of the latest Halloween game. I’ve listed...
Have you created a great Loquiz game that you’d like to share with other users, either for exchanging games or...
Sign up and create games, tours, team events and educational content that captures peoples' attention
Start from the scratch or use templates to kickstart!