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
Numbers to Absolute Infinity
by ChessCoder12
Star Wars Game
by dani2000
Arrows Test Upgraded Aethos Gage
by Gage101112
Smooth Walk Cycle
by pennharlowe
Delfino Plaza Mario Music
by PCGamesBeta
Pet Tree Simulator!
by Scratcher1609_6A
VHS Sans Simulator
by _Epic-me_
Intro ▹ kasukei
by -Grebe-
Mode 7 Road beta
by spricetyty
Classic Sonic Engine V.1.8
by Heysbeauz
Minecraft: 2D Edition
by MTWTech
Paint
by _STRACHKULLANICISI_
[LEGACY] Reactor Core - 7 Endings!
by SC1238
rrgbc v0.50 Game Boy Color emulator rewrite
by 52525rr
PBS Kids - Dot,Dee and Del (Vector Look)
by TheSpiderFoundation
#1 リアル人狼ゲーム 始まり
by Blue-Wolf-2008
東方地霊殿 〜 Subterranean Animism. Extra Reimu A
by Rikipoyo0821
パチンコ PACHINKO
by akamaru_prg
Basics in Behavior [Red] | #All #Animations #Art #Music #Stories
by MarkedCoder
RPG - Griffpatch tutorial completed V.1
by Endless_C0des
青の塔50階
by sakaryuu
set variable color
by badstratch12
Zombie Shooting v2.5.1
by SC_Wakaba
【マイクラMOD】まな板
by horiyouta