Flash submissions are emulated via Ruffle. Ruffle is currently in development and compatibility is not guaranteed. Click here for more info.
Ayyyye another Ssssssteven upload :3
'CAUSE PERIDOT'S SUPER CUTE
'CAUSE PERIDOT'S SUPER CUTE
Category Flash / All
Species Unspecified / Any
Size 900 x 700px
File Size 298 kB
Watch it with this and it's beautiful: https://youtu.be/9a1o3OHGTcM
YOU KNOW, maybe the music during the scene was referencing that https://youtu.be/DTeMQCcukFQ?t=25 (also spoilers for peeps who haven't seen it)
Actually it's pretty simple! http://i.imgur.com/NTQuEfo.png
The first frame has a transparent circle (to make it easier to click on, but still not show up) and the second frame has code that randomizes when it drips, and the frames after that are the water drop running down
The code I use to randomize it is like this: if (!(Math.random() * 30 < 1)) {gotoAndPlay(1)};
Basically, there's a 1/30 chance to play the animation, otherwise it tries again from the start (increasing the 30 makes it happen less often)
And with that being in it's own Movieclip, I copy that across the visor so that it looks like drops hit randomly :D
Same with the lightning! The animation for it is just fading a separate image over the base that has different lighting, using the same code to randomize when it flashes
The rain is even simpler! http://i.imgur.com/2R5Z0D8.png
Just a little raindrop sprite with this in it's second frame:
x = Math.random() * 900;
y = Math.random() * 700;
scaleX = Math.random() * .5 + .5;
scaleY = scaleX;
Basically, it just randomizes it's place and it's size from 50-100% to make it look like random drops are falling, and it's copied a bunch of times to make a bunch of raindrops :3
The first frame has a transparent circle (to make it easier to click on, but still not show up) and the second frame has code that randomizes when it drips, and the frames after that are the water drop running down
The code I use to randomize it is like this: if (!(Math.random() * 30 < 1)) {gotoAndPlay(1)};
Basically, there's a 1/30 chance to play the animation, otherwise it tries again from the start (increasing the 30 makes it happen less often)
And with that being in it's own Movieclip, I copy that across the visor so that it looks like drops hit randomly :D
Same with the lightning! The animation for it is just fading a separate image over the base that has different lighting, using the same code to randomize when it flashes
The rain is even simpler! http://i.imgur.com/2R5Z0D8.png
Just a little raindrop sprite with this in it's second frame:
x = Math.random() * 900;
y = Math.random() * 700;
scaleX = Math.random() * .5 + .5;
scaleY = scaleX;
Basically, it just randomizes it's place and it's size from 50-100% to make it look like random drops are falling, and it's copied a bunch of times to make a bunch of raindrops :3
FA+

Comments