Discuss Scratch

meantdesert
Scratcher
100+ posts

yo i need help with making parrallax art animation.

I need help making one cause its for a project on scratch. Any tips?

MEANTDESERT NEVER DIES
LG125
Scratcher
500+ posts

yo i need help with making parrallax art animation.

go to x: ((foreground x) * (0.7)) y: ((foreground y) * (0.7))

You can also do other decimals.



orangetheory
Scratcher
500+ posts

yo i need help with making parrallax art animation.

To make a parallax, we set the x and y to mouseX and mouseY variables / some number, so they don't exactly follow the mouse pointer but instead move toward it until a certain distance.
when green flag clicked
forever
go to x: (((mouse x) / (stiffness::grey)) - (x position you want - turn to a plus if it is above zero::grey)) y: (((mouse y) / (stiffness::grey)) - (y position you want - turn to a plus if it is above zero::grey))
end
I hope this helped!

-Frisbee- -Cricket--Basketball--Forums--Mapping--Coding--Trigonometry master--Mathematics King--Future Prime Minister--Intro-Maker-
I know HTML/CSS, and JavaScript, and with these coding skills I have made some decent projects! Test them out below!
~Archery~Cops + Robbers~
Want an intro, outro, music, effects, or more? Check out the intro shop!

The forum helpers, a place where we help people in the forums
meantdesert
Scratcher
100+ posts

yo i need help with making parrallax art animation.

:facepalm:
not very good examples.

MEANTDESERT NEVER DIES
meantdesert
Scratcher
100+ posts

yo i need help with making parrallax art animation.

none helped to be honest.

MEANTDESERT NEVER DIES
LG125
Scratcher
500+ posts

yo i need help with making parrallax art animation.

meantdesert wrote:

none helped to be honest.
Maybe just make the movement take longer/slower



supergamer10000
Scratcher
1000+ posts

yo i need help with making parrallax art animation.

Please make your title more formal. “Yo” can be changed to "you.

Ask yourself, if you were hacked and lost hours, upon hours of work, would you regret not having a strong password that only takes 5 minutes to make?

Is it time to update your password? Here are some tips to make a strong password:

Length: The longer the password, the stronger it is. A password that is at least 12 characters long.
Complexity: Combination of upper and lowercase letters, numbers, and symbols to make it harder to crack.
Uniqueness: Don't use easily guessable information like your name, address, or date of birth. Also, avoid using the same password for multiple accounts.
Passphrases: A phrase made up of random words, numbers, and symbols, as these can be easier to remember but still secure.
Randomness: Use a random password generator to create a unique and unpredictable password.
Regular updates: Regularly change your passwords to stay ahead of potential security threats.

Remember, the goal is to create a password that is strong, unique, and difficult for others to guess.

I would estimate more than 40% of scratchers have passwords that are hard to guess by a human, but easy to guess by a computer. You never know if today would be the day you lose everything.

Even if just one person was saved from losing hours and hours of work, my mission is accomplished.
meantdesert
Scratcher
100+ posts

yo i need help with making parrallax art animation.

legitamately hard to understand.
this is impossible

MEANTDESERT NEVER DIES
LovingBunnies4Ever
Scratcher
19 posts

yo i need help with making parrallax art animation.

You can try:

when green flag clicked
go to x: (0) y: (0)
forever
go to x: ((mouse x) / (#)) y: ((mouse y) / (#))
end

You input a number where I put the symbol “#”. The bigger the number is, the less it will move around when the user's mouse moves. The small the number, the more it will move.
I hope this helps! I'd love to see how the project turns out.

Last edited by LovingBunnies4Ever (Sept. 28, 2021 00:35:25)


~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Bunnie -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
———————————— • Animations • Games • Art • Tutorials • Violinist • ————————————
meantdesert
Scratcher
100+ posts

yo i need help with making parrallax art animation.

okay. if it doesnt then its on you.

MEANTDESERT NEVER DIES
The-Kid-Programmer
Scratcher
16 posts

yo i need help with making parrallax art animation.

if it's pen then you can't do it (kinda)
but if it's not pen you can do this.
NOT PEN PARALLAX
when green flag clicked
forever
go to x: ((mouse x) / (5)) y: ((mouse y) / (5))
end
I recommend you use 5 to 10 for the parallax

using UnityEngine;

public class GameCrasher : MonoBehaviour
{
public float jumpForce = 10.0f;

private void Update()
{
if (Input.GetKeyDown(KeyCode.Space))
{
GetComponent<Rigidbody>().AddForce(Vector3.up * jumpForce, ForceMode.Impulse);
GetComponent<Rigidbody>().AddForce(Vector3.left * jumpForce, ForceMode.Impulse);
}
}
}

I am a C# Unity programmer. You can ask me any questions on how to make a script that does a certain thing, or just some programming jokes.
LovingBunnies4Ever
Scratcher
19 posts

yo i need help with making parrallax art animation.

@The-Kid-Programmer, yeah, that's right. If it's pen, you can't use go to x: y:.

~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~- Bunnie -~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
———————————— • Animations • Games • Art • Tutorials • Violinist • ————————————

Powered by DjangoBB