#how to make it where a drag detector stops dragging part after it moves to a specific origin/part
47 messages · Page 1 of 1 (latest)
hmm maybe check every once in a while if the player dragged the part into a position, or add a part around where u want it to be, and when they touch, it anchors
** You are now Level 2! **
oo ok
yeah
dw lol
<3
have fun
im new to this stuff too
also if u wanna make it more precise make it so whenever the parts touch the drag part instantly goes to the exact spot and anchors
yea like im supperrr new so idk how to do anything without dev forum or youtube
real lol
okkk lemme try
gl
tyty
yayyy it works
** You are now Level 1! **
tyty
Bit too late to actually help you, but maybe make the sparkles a bit clearer. It helps a bit with giving the user positive feedback, which is one of the reasons why “a little to the left” is such an addicting game
(Or is it “a little to the right”? I actually forgot)
ooo ok so maybe like little yellow stars?
so its clearer
Something like that, just make it quite noticeable
ooo okok one sec
Already looks better
yayyy'
One small thing you may wish to add is some variation in them (e.g. one time it’s blue, one time it’s orange, etc.), but that can also be changed later down the line
im not that good at scripting yet
i wish
i knew how to do that
😭
ok so how would I script it to pop a gui when all the things are in the right spot
do i need to make another post?
You could just do it position baed, or just a spatial query. Yes a special query isn’t the most efficient yet these kinds of games aren’t that resource hungry to be frank
Spatial queries are things like GetPartsInPart and such
yea ok
** You are now Level 2! **
You can just make an array with potential colors, then set the particles to array[math.random(1, #array)]
okok tyyyy