What am I doing wrong? This ain't working!


#1

I'm trying to make something like this:

By @CreationsOfaNoob because I wanted to play around with the code.

What is wrong with my code?

Link to COAN project: https://c.gethopscotch.com/p/y1867sk77

My remake of it:
https://c.gethopscotch.com/p/y6vcznvs0


#2

Are you completely copying it? And also, what is the width in the 2nd code picture? You might want to tag COAN :wink:


#3

Oh, maybe the width is off?

I was copying it, but I'm going to change it up and give COAN complete credit if I publish it.


#4

I think I figured it out... Each time it's cloned, the x value is set to 1 again, and the y position has it moving down, where it can't go.

Problems:


What I changed:


#5

Thank you so much! Did it work?


#6

@Caramel_Puffin, it comes out has this. How can I make it cover the full thing and have less red, more of the rainbow part?


#7

No problem!
Yep, it worked, but I had to change the repeat (to 200) and the number next to the y (to -5.5) so it would go to the top of the screen.


#8

Thanks! I actually came up with a use for this background and no longer need it to cover the whole screen!


#9

No problem! I'm happy to help! :D

Oh, ok, that works too. XD
I bet whatever you use it for will turn out awesome!