Car Boosting Effect

@omtl

π–±π—ˆπ–Όπ—„π–Ύπ— π–‘π—ˆπ—ˆπ—Œπ—π–Ύπ—‹ 𝖀𝖿𝖿𝖾𝖼𝗍 π–Άπ—‚π—π—π—ˆπ—Žπ— π–±π—ˆπ–Όπ—„π–Ύπ— 𝖲𝖼𝗂𝖾𝗇𝖼𝖾

Continuing the discussion from here…

Hey hopscotchers! This game mechanic is a new thing that I accidentally (I really discovered this on accident). Use in any car/racing game (or wherever you want), as long as you give credit! Yeah, I am proud of this discovery, so I want to show it to you!

This is a rocket/booster effect ideal for future racing games and Hopscotch’s very own Jeep! It may sound complicated to make but to ensure it’s not rocket science, here’s a step-by-step tutorial to make this:


πš‚πšπšŽπš™ 𝟷: π™°πšπš 𝚊 πš›πšžπš•πšŽ

This works best when a button is tapped. Insert When ([Name of Object]) is tapped into the code. Using When Game Starts is not recommended.


πš‚πšπšŽπš™ 𝟸: π™°πšπš 𝚊 πš‹πšžπšπšπš˜πš— 𝚎𝚏𝚏𝚎𝚌𝚝 (π™Ύπš™πšπš’πš˜πš—πšŠπš•)

To ensure that users will know that the action has been preformed, add a button effect. For example, use a scaling effect where the button scales by 10 percent and after a short breath of time, it goes back to normal size.


πš‚πšπšŽπš™ 𝟹: π™ΌπšŠπš”πšŽ πšπš‘πšŽ πš‹πšžπšπšπš˜πš— πšŒπš•πš˜πš—πšŽ πš’πšπšœπšŽπš•πš

This method includes the use of clones. Make the object clone itself up to 35 times.

Now that you coded this entire rule, next move onto the next one!


πš‚πšπšŽπš™ 𝟺: π™²πš˜πšπšŽ πš πš‘πšŠπš πšπš‘πšŽ πšŒπš•πš˜πš—πšŽπšœ 𝚍𝚘

Part 1: Making the effect
First, you will need to create 2 variables. Name them whatever you want! One will be for the clone’s x pos and the other will substitute for clone index.

We first have to code the clone’s x pos. To do this, each time a clone is created, the x pos variable that you created should increase depending on the size you want the effect to be. This will require trial and error to justify. Then put a repeat block for actions that repeat 100 times and insert
Set Size percent ([[Self] Size as a percent] + [Number that depends on size of effect]])
Set Invisibility percent ([[Self] Invisibility as a percent] + [1])

Part 2: How to make it repeat properly
How to use the clone index substitution is shown below:

This variable has to be created in order for the x pos and your β€œclone index” variable to be reset. To make this effect work as many times as possible, create a boolean/conditional saying Check Once If [Variable Substituting for Clone Index] = [Number of Clones Created each time].
Then insert set variable blocks and set the β€œx pos” and β€œvariable substituting for clone index” both to 0.

@omtl

23 Likes

Wow…quite long but it looks quite informative!

9 Likes

Cool!

2 Likes

Don’t worry, I only spent an hour working on the post @HopscotchRemixer

(I don’t think I’m doing that again)

3 Likes

Hi! I just got tagged

2 Likes

Because u the dev just edited omtl in

1 Like

A ok and awesome_e how did u got ur title?

2 Likes

ye i wanna titl

1 Like

Yeh me too!

2 Likes

I won winter challenge!

3 Likes

Finished project without fuel limit

Sorry for second tag, @pomtl.

The first finished project had a bug

13 Likes

Wow, cool effect! Well done.

1 Like

Thank you for the feΔ—dback, William04GamerA! That was very much appreciated!

I meant this, your feedback is always positive, something we all like

1 Like

Yeah, I try to be positive at all times. But I can give some constructive criticism as well, which I do sometimes. However, I couldn’t figure out anything that can be improved with your project, honestly!

2 Likes

Which is why you will always be welcomed to the Hopscotch community


Also, I’m glad that you gave a great compliment bc I said this in one of the first posts, I spent over an hour constructing the post alone

2 Likes

Thank you so much for the kind words! They made my day, honestly, even though my day just started :slight_smile:

3 Likes

this is a great tutorial! very informative and descriptive. great job!

1 Like

Cool! I like how it slowly fades out!

1 Like

Wow that’s cool!

1 Like

What is clone index and what does it do?

2 Likes