8 Branching logic pro tips
In this lesson, we’ll show you handy shortcuts and best practices to speed up your workflow when using branching logic in Riddle. We’ll:
- zoom in and out for easier navigation
- copy and reuse blocks or entire branches
- use keyboard shortcuts to speed up editing
- undo changes and reset your logic if needed
- move blocks quickly and efficiently
Transcript:
00:00:04.000 –> 00:00:05.560
Hi there, welcome back! I just want to
00:00:05.560 –> 00:00:07.440
show you a couple of tips for branching
00:00:07.440 –> 00:00:09.360
logic so that you can work even faster
00:00:09.680 –> 00:00:12.520
and more efficiently. So let’s go into
00:00:12.520 –> 00:00:15.200
AnyRiddle to give you an example. Let’s
00:00:15.200 –> 00:00:17.360
go into this movie quiz here and
00:00:18.680 –> 00:00:20.120
When you click on configure results,
00:00:20.120 –> 00:00:21.360
first of all, of course, the more
00:00:21.360 –> 00:00:23.680
branching you have, the bigger it becomes
00:00:23.680 –> 00:00:26.640
here. And so what you can do is click
00:00:26.640 –> 00:00:29.520
on shift and then scroll up or down
00:00:29.760 –> 00:00:32.640
to zoom in or out. So here,
00:00:32.720 –> 00:00:34.320
for example, I’ve now zoomed out a bit
00:00:34.560 –> 00:00:36.160
and it gives me a better overview of
00:00:36.160 –> 00:00:39.120
everything I’ve got here. So you can do
00:00:39.120 –> 00:00:41.840
that even further if that helps
00:00:41.840 –> 00:00:44.600
you. Okay, so that’s the the
00:00:44.600 –> 00:00:47.280
view of branching logic. Then
00:00:47.920 –> 00:00:50.880
As you may know, when you
00:00:50.880 –> 00:00:53.840
are sorting out branching logic and
00:00:53.840 –> 00:00:56.640
you can select a different sort of
00:00:56.640 –> 00:00:59.360
branching type here, one way you can do
00:00:59.360 –> 00:01:00.480
it is by then
00:01:02.000 –> 00:01:03.640
selecting that branching type here and
00:01:03.640 –> 00:01:06.200
thenconfiguring the
00:01:06.320 –> 00:01:08.960
answers here by checking the correct
00:01:09.080 –> 00:01:11.200
answers, or checking the answers that you
00:01:11.200 –> 00:01:14.160
want to use, and then selecting
00:01:14.560 –> 00:01:16.240
the next block from the drop-down menu.
00:01:16.240 –> 00:01:18.080
That is one way you can work with that.
00:01:18.800 –> 00:01:21.080
Another way is if you want to use a
00:01:21.080 –> 00:01:23.880
branch that already exists, you can copy
00:01:23.880 –> 00:01:25.680
and paste by clicking on Control or
00:01:25.680 –> 00:01:28.240
Command, and then dragging and dropping
00:01:28.240 –> 00:01:30.680
that block over to the other branch. So
00:01:30.680 –> 00:01:33.520
that’s another way you can do that. And I
00:01:33.520 –> 00:01:35.360
can use this shortcut anywhere in my
00:01:35.440 –> 00:01:37.800
branching logic. What you also might want
00:01:37.800 –> 00:01:40.760
to do is not only copy one block, but one
00:01:40.760 –> 00:01:43.240
block and every branch following it. And
00:01:43.240 –> 00:01:45.200
the way you would do that is, let’s just
00:01:45.200 –> 00:01:47.600
set up a branch here to show you,
00:01:48.280 –> 00:01:50.960
and to answer, and now click on
00:01:50.960 –> 00:01:52.800
shift before I click on control and
00:01:52.800 –> 00:01:55.440
command. and then drag and drop
00:01:55.600 –> 00:01:57.760
that branch. Now you can see it’s copied
00:01:57.760 –> 00:01:59.680
the whole branch including that first
00:01:59.680 –> 00:02:02.240
block so you can also use that shortcut
00:02:02.240 –> 00:02:05.040
any time. I’m also going
00:02:05.040 –> 00:02:07.680
to click on this arrow here to undo what
00:02:07.680 –> 00:02:10.040
I’ve just done and again so that’s also
00:02:10.040 –> 00:02:11.560
really useful here if you’re playing
00:02:11.560 –> 00:02:13.640
around with things and of course you know
00:02:13.640 –> 00:02:15.000
you may want to go back and forward a
00:02:15.000 –> 00:02:17.840
bit. If you wanted to reset
00:02:17.840 –> 00:02:20.320
logic to exactly how it was right at the
00:02:20.320 –> 00:02:22.160
beginning before you did anything, you
00:02:22.160 –> 00:02:24.880
can click on this reset logic button up
00:02:24.880 –> 00:02:27.440
here. And if you just want to move a
00:02:27.440 –> 00:02:29.440
block, you can also do that of course by
00:02:29.440 –> 00:02:31.640
just dragging, clicking, dragging and
00:02:31.640 –> 00:02:33.920
dropping the block in question
00:02:34.320 –> 00:02:36.280
and then putting it wherever you want
00:02:36.280 –> 00:02:39.120
that to be. Okay, so I’ve just clicked
00:02:39.120 –> 00:02:42.040
on on this block here and I moved it
00:02:42.040 –> 00:02:44.040
down. Now I want to move it back up, so
00:02:44.040 –> 00:02:45.520
I’m going to do the same thing again
00:02:45.600 –> 00:02:47.840
there. Those are your shortcuts
00:02:48.320 –> 00:02:50.200
and if you have any other questions feel
00:02:50.200 –> 00:02:52.880
free to ask us, write to us and
00:02:53.280 –> 00:02:54.800
I’ll see you in another Riddle Academy
00:02:54.800 –> 00:02:55.120
video.