# The Ultimate clownpigian Guide to Transitions

Introduction

hey guys, if you search this topic you’ll probably find a gazillion of results suitable for you. But that’s fine, cuz this is a topic that would’ve been helpful to me, when I was starting out!

as the self proclaimed master of transitions, many people ask me: ‘how did you make that project without scenes’ or ‘how’d ya make it look so smooth’.
there’s only one way to solve that problem! (drumroll please)

TRANSITIONS!

Whats a Transition?

A transition is generally anything that is converts on screen to another, while being pleasing to the eye. (aka something that is not the simple scene movement)

Types of Transitions, And How to Make Them

Scene Transition

There are 2 ways to do this transition:

1: The scenes hopscotch provided you with

2: A simple 1-2 scene variable

If you have been on HS for a while, you know that scenes aren’t the ideal
transitions, they are blocky and unsatisfying. Especially the ones HS provides you with, they are okay for people learning that basics. But for intermediates like me, this is what you gotta do.

``````
when game starts }
set scene = 1
{
when any object is tapped
set scene = 2

when scene = 1
set invisibility = 100

when scene = 2
set invisibility = 0

``````

it looks like this:

Moving Transition

This transition is useful if you want anything to slide in.
from the x axis or y, it’s is one of the most satisfying transitions to watch!

``````when game starts
set position to: X Pos: -200 Y Pos: Height/2
repeat = 100 times
set position to: X Position + 400 - X Position/10
``````

(/ means divide)
this is what it looks like:

Invis

This is a simple one:

to make it appear from 100 invis:

``````when game starts
set invisibility = 100

repeat = 10 times
set invisibility = 10-Invisibility as a %
``````

to make it disappear from 0 invis:

``````when game starts
set invisibility = 0

repeat = 10 times
set invisibility = 10+Invisibility as a %
``````
Growth

This transition code is the moving transition code basically.

Just change the set pos block to set size
and change all the X or Y pos to Size as a %

Thanks for reading ( if you made it to the end )

please enter this poll to give me feedback, for future topics

• good
• unnecessary
0 voters

here’s a project for reference, I used all of the transitions I listed. Feel free to take some code, but please give credit, I worked really hard on this topic and that project.

bye

14 Likes

when game starts }
set scene = 1
{
when any object is tapped
set scene = 2

when scene = 1
set invisibility = 100

when scene = 2
set invisibility = 0

Yes, I always use that, that’s much better than scenes when creating large projects.

5 Likes

i wouldn’t agree, but sure
it’s not at all convenient to work with when your objects are at half invisibility, let’s say 40%. the “set inv to 0” would overwrite that 40% value and thats not ideal

5 Likes

That doesn’t really matter, because you can copy the code, and change the visibility.

5 Likes

and what if the invisibility is event-oriented?
anyways, just sharing my opinion :)

5 Likes

Bump : )

3 Likes