Prototyping in Sketch 49 (with no plugins)

NorthGrid
26 followers
2 Video Views·Oct 27, 2022
Hello and welcome to Sketch Together.
My name is Pablo Stanley,
and today we're going to test a new feature in Sketch
for creating prototypes.
And with this feature, we can connect different screens,
create different transitions,
and preview it, everything inside Sketch,
using the native features of Sketch.
So this is pretty cool.
This is something that is available on Sketch 49.
So if you can, download it now so we can test this.
Let's do it.
Okay, so here we have a basic flow
that we're going to be using for our demo.
You can find a link to download this file
in the description of the video.
Let's start by adding our first link.
So over here, I want to add a link to this button
that takes me here to create an account.
There are different ways that you can add a button.
So the first one, you probably are going to be seeing
this new tools here, that is to add a link.
You can press on it,
and then now you can start adding a link.
You're going to see this spaghetti looking like noodle,
and this can, you can select the artboard
where this button is going to take you to.
You can do that, or you can also go over here,
these little icons that you see here,
these icons represent different things.
If you click here, then it will give you an overview
of your whole file.
This can open any artboard in your whole file
in different pages.
So these are different pages that we have,
and these are all the different artboards
inside those pages.
So sometimes you have really big files,
and it's really hard to do this just by selecting
with the noodle, with this thing.
So then if that's happening to you, then you can use this.
But for us, since we have the artboard here,
let's just add it here.
So we can use that thing.
We can also use W, just pressing the W key.
And then we have the prototype tool.
Another way to do this is here on the inspector,
you're going to see this new panel that says prototyping.
You press plus, and then you can select a target.
And this one, I'm going to actually select sign up.
So you can go ahead and do that.
Or again, just pressing W, and then selecting the artboard.
Okay, there you go.
We have our first link.
And now that we have a link,
we can add a transition to it.
And to do that, you're going to see here on the inspector,
this new panel.
And this new panel tells you
if you want to add a different target,
or if you want to add a different transition, an animation.
Right now, it has this one.
This one is just instant.
It doesn't do any animation.
But then you're going to see
all of these default animations.
The little icon represents the type of animation
that it does.
Swipe left, slide up, push right, slide down.
For this one, for this instance,
I want to do the one that pushes left.
So that's it.
Let's actually test it.
I'm going to select this artboard,
and I'm going to go here on my tools.
I'm going to see a new button that is called preview.
Just going to press it.
And now I can preview my prototype.
There you go.
That's as simple as that.
I can go back here.
I can just keep testing it.
Once I'm here, there's nothing that I can click
because I haven't added any interactions.
So we can go ahead and just do that.
So I'm going to add a link to this keyboard.
I'm going to say that when I press the keyboard,
I'm going to add a prototype,
and I'm going to say that it goes to demo, sign up input.
Alternatively, I can just select the element,
press W, and then go over here
and select the artwork that I want to link it to.
So I'm going to do that.
On this one, I want to change the type
of animation that it does.
Here, when it goes from here to here,
I don't want it to push left.
I actually want it to happen instantly.
So I'm just going to change it here.
On this one, I'm going to push left.
It's actually good.
So I'm going to keep that.
And then I'm going to keep just adding more interactions.
So for example, here, I'm going to say
that when I press on this, this should open.
And I'm going to say, I'm going to press W.
I'm going to go all the way here.
And then I'm going to say that this slides up.
I'm going to select this cartoon,
and I'm going to actually use this
just as another way to do it.
I'm going to press here.
I'm going to select this one.
This is the same.
I'm going to say this slides up.
It remembers the last type of animation that you used,
and that's what it applies
whenever you create a new animation.
So it already has a slide up.
Now I'm going to add interactions to the top bar.
So I want to add that when I click on this,
it goes to this screen.
So I'm just going to double-click.
I'm going to select this.
I'm going to press W, select this one.
And then also, I want to make the hit area
a little bit bigger.
I know the group, the size of my group is this,
but I want to keep the size of my group intact.
All I want to do is make my hit area a little bit bigger.
And to do that, I'm going to go here
to the options on the prototyping options.
I'm going to see this little guy.
This little icon actually allows me
to create a hotspot layer.
I click on it, and now I create a new hotspot layer.
You're going to see it here on the layers list too.
And this hotspot layer, it keeps the interactions,
but it's independent from the layer below,
from the group below.
And I can make it a little bit bigger,
and that way I can make some buttons
to feel more affordable too.
So the hit area is a little bit bigger.
That's pretty cool.
There you go.
I'm going to do the same with this over here.
So when I click on this, when I tap on this,
I want to go back to this screen.
I'm going to go ahead and just select this one.
I'm going to press W, select this guy.
And then I'm going to create a hotspot,
just the same as before.
I'm going to make it a little bit bigger.
So my hit area is a little bit bigger.
There you go.
Now we are almost ready.
Something else that I want to show you
is adding a back button.
For example, here, when I tap on this,
and then it opens this screen,
it opens the detail of this card.
I want to, that when I click on the close button,
I want to be able to go back.
It reverses the animation.
So to do that, I just press W.
And then instead of selecting the artboard
that takes me back to the home screen,
I'm actually going to go here
to this little icon on the left.
And that way it will add a back button.
So it would just go back to whatever the screen
that is taking me to this screen.
It's going to go back to that place
and reverse the animation.
You can do it here on this icon,
but you can also do it here on the inspector.
On the inspector, you're going to see that here, the target,
you can select any target on any artboard on your document,
but it can also select previous artboard.
So that's another way to do it.
So that's it.
Let's test it out before we move on to the next thing.
Let me just add the same thing here.
I'm going to add W,
and then I'm going to say that it's a back button.
There you go.
We should be ready.
Let's preview this.
And it's opening this screen.
I actually want to go to the home screen.
And something that you need to define
when you are creating your prototype
is you want to define the starting screen of your prototype,
something that it didn't do.
And I want this to be my starting screen.
So I'm going to go ahead and just select the splash one.
I'm going to select that screen.
I'm going to go here on the menu, prototyping,
and I'm going to say use artboard as a start point.
Once you use this artboard as a start point,
you're going to see here that the artboard on the name,
it adds a little flag.
That means that this is the first artboard
that is going to be open when you preview your prototype.
So there you go.
I'm going to preview my prototype.
It starts on my home screen.
Click on this.
There you go.
Instant animation.
It simulates that I type something.
I sign up.
It pushes left.
Let's move between the artboards.
Apparently, moving between the artboards
is doing a slide up.
That's not exactly what I want.
So I want to go back over here and these hotspots,
I'm going to say,
I'm going to change the animation to be instant.
I want, when I go between the artboards,
I want the animations to be instant.
I don't want the slide up or anything
because I'm just navigating through artboards.
Let's preview it again.
There you go.
And that's pretty cool because you get to just iterate
and change things until you get it right.
So now let's test it.
There you go.
Now it feels more natural.
It's just that you're navigating through the tabs.
There's no animation happening.
And now let's open the carts.
There you go.
It slides up.
Let's see if it closes.
There you go.
It closes.
Let's open the other cart.
Close button and it closes.
Super, super cool.
Something else that I want to show you
is how to add hotspots to symbols.
Let's say that I want to turn this close button
into a symbol.
So I want to create a symbol
and I want to keep the prototyping ability.
I want to keep the link of it.
So I'm going to actually, first of all,
I'm going to create a hotspot.
I'm going to separate the hotspot of the layer.
I'm going to make it a little bit bigger
just to make it a little bit more affordable,
just like that.
And then I'm going to select the hotspot.
I'm going to select also the close button
and now I'm going to create a symbol.
Now that I create a symbol,
I'm just going to call it close button.
Probably you can change the name
to something better than that.
And now something that is super cool.
You see here, it's a symbol.
And then here on the overrides,
you're going to see that the link, the hotspot,
it's actually an override.
Right now, by default, it's previous artboard
because that's what I had selected before,
but I can change it to something else.
I can change it to a card detail,
can change it to any artboard inside my document.
That means that you can add hotspots to your symbols
and reuse them in different symbols.
This is super cool.
So I'm actually going to delete this.
I don't need this anymore.
And I'm just going to copy this symbol.
I'm going to go over here.
I copy it, paste it,
and I already have it as a hotspot
of the previous artboard.
If I wanted to, I can select something else.
I'm just going to keep it as a previous artboard.
Let's see if it works.
So I'm going to open this.
I'm going to press preview
and I'm going to go over all the flow.
Then I'm going to open this
and see even if it's a symbol, it still works.
And if I go and edit the symbol,
you're going to see that here on the symbol,
that hotspot is there as part of the symbol.
This is super cool, super, super cool.
Okay, some stuff that we're missing from this version
are fixed headers and fixed footers.
So for example, if you have a really long artboard
with a lot of content, just like this,
and if you want to preview it,
then it will scroll,
but you cannot define a fixed footer or a fixed header.
There's no way to do it so far.
So hopefully that's something that they add in the future.
Something else is that there's no fade transition.
That's something that I probably,
it's just a preference that I have.
I like to have fade transitions,
like a crossover transition,
one fade in and fade out.
That's not something that is possible right now.
Hopefully in the future, that can be added to.
And also that you will be missing
is granular control of all the layers.
If you want to have the stuff that you can create,
for example, on InVision Studio or on Flinto or Principle,
where the actual elements are what animates,
not just the static artboards,
you won't be able to do it in this version of prototyping.
I will still tell you to use the other tools
that exist out there.
Something else that I want to show you too,
is that if you want to turn off all of these arrows,
that they can be a little bit annoying
if they're always there,
you can turn them off by going to view
and then show prototyping,
just uncheck that and then it hides them.
If you want to see them again,
just go to view and then say show prototyping and that's it.
Or you can also do Control F.
So Control F hides them, Control F brings them back.
Okay, last but not least,
I want to show you how you can also use
all the prototyping links that you created on Sketch.
You can also use them on Zeppelin.
So if you use Zeppelin for developer handout,
you'll be able to use the prototype inside Zeppelin.
So for example here,
I just press Shift to access the links,
I press Shift, keep it pressed
and then you'll be able to see the links
that are in this page.
I click it and then it opens the artboard,
the screen that it's supposed to go to.
It doesn't do the transitions,
but I don't need to do the transitions here.
All I need is just like know where this links to.
This is inside Zeppelin.
I am able to link to the specific pages
that I want to link to.
It's pretty cool.
It does the job.
And this is something that will help not only you,
but also your developer team
just to find out what happens when I click on this.
Oh, it goes to this screen.
What happens when I go to this?
It goes to this screen.
If you use Zeppelin, this is going to be super useful.
And that's it.
That's prototyping inside Sketch
using the latest version of Sketch 49
where they included prototyping.
And I think it's pretty cool.
It's pretty simple, but it does the job.
It's super smooth, the animations that it has by default.
Hopefully in the future, they add more features,
but so far, so good.
I would love to see you testing it out.
Is there something else that you are missing
that you would like Sketch to have?
Leave it in the comments.
Is it buggy?
Is there something that is not working for you?
Also leave it in the comments.
Probably we can help you.
Or something that I'm missing.
Probably I didn't talk about something.
Also leave it in the comments.
So that's it.
Hopefully you enjoy prototyping
and see you on the next time.
Bye-bye.
