Pointing At Closest Clone V.3
by Yusei-Fudo
Instructions
⭐⭐⭐⭐⭐⭐⭐⭐Introduction⭐⭐⭐⭐⭐⭐⭐ My 3rd version of pointing at clones. It's much better than my beta versions. ⭐⭐⭐⭐⭐⭐⭐⭐Instructions⭐⭐⭐⭐⭐⭐⭐ Arrow Keys to move around. A clone that has a little targeting thing on it is the clone that the arrow is intending to point at. ⭐⭐⭐⭐⭐⭐⭐Functionality⭐⭐⭐⭐⭐⭐⭐ This uses a bit of the Pythagorean Theorem and a bit of Trigonometry math. I'm not going to go into the equations, but basically what it does it have clones update 2 lists to their X and Y Positions, and then the arrow sprite scans through the lists of coordinates and calculates the distances of each coordinates from the arrow's coordinates. If the distance is less to the pair of coordinate is less than the last, it gets the Clone's ID which the arrow is pointing at (not going to explain this bit because it's going to be confusing for some). Then, it uses Trigonometry math to figure out which direction to point in. After that, the targeting thing gets the coordinates of the Clone the arrow is pointing at and goes to it. That's basically it. For further questions, comment below. ⭐⭐⭐⭐⭐⭐⭐⭐Credits⭐⭐⭐⭐⭐⭐⭐⭐ Thanks to @Thingied for helping me debug a bug. Background music is: Yugioh VRAINS Sound Duel 1 #28 Firewall Scripts by me (@Yusei-Fudo) ⭐⭐⭐⭐⭐⭐⭐⭐Updates⭐⭐⭐⭐⭐⭐⭐⭐ V.2 Change the scripts that tell you you are pointing at it.st
Project Details
- Visibility
- Visible
- Comments
- Enabled
- Remixed From
- Project #513131044
- Original Project
- Project #513131044
More Cool Projects
beat up numberblock 7
by 18427-1
Pacman 5.0 V1.3
by zayzay86_
Pucca (2025, Film) (SNES, 2025)
by PeppaDoesScratch
Big levels Tiny Square - A Platformer
by TommyBoi8480
AY: Scratcher's Summer Vacation 2025 Poster (Remix #70)
by ayudagente2013
Tom and ben news 2 (Under construction)
by AIDEN123333333
POV: Asriel Dreemer fight
by SD777_PotatoGod
Scavenger Kuma
by Ramenbeef
Beat up Baldi 1.5
by ExactableBoreScratch
Piano Tlies - Julia
by coutoju
Rider
by Fascry
Super Mario Odyssey 2D Beta 9.5
by Saharshplayz_Scratch
Add a button to kill MusicDisc1004!!!! #21
by edwardolo1234
Tommy's nightmare escape room
by sillypants100
WWE Unleashed Season 6 (THROW BACK)
by NRSUFCMAN9
(READ DESC PLZ) Tom and Jerry: Willy Wonka and the Chocolate Factory - End Credits MPAA Glide 30
by jcoe2018
2D Shooter ( ͡° ͜ʖ ͡°) poo mod
by lemonpez2
windos os 1.0 ver2
by intelyuza5
The Platformer (v. 1.1.3)
by Teemunkauppa
[ASDTCRC: 552]
by zvpregnaromaC
scrolling shooter v0.5
by qwertyuiop416
Do you ever look at someone and wonder...
by TheRedOrzu2
おにごっこ~Nightmare 13th~第肆拾捌話「絆」
by tyomuko22
SI: The Scratch Internet
by rutledgecx