Object growing before bumping another object? SOLVED


#1

In my wip project I have an object that should grow and become invisible when it bumps (by dragging the object) the semicircle bowl, only if its Y is greater than 300.
Though it starts growing and becoming invisible immediately at the start of the part of the project where you’re supposed to drag it to the bowl.
Why is this happening?

Also the object is a clone that Set Image to its shape if that makes any difference.



(The object is the rectangle on the right side of the screen, it’s the second clone)
@codehelp


#2

Which object is the bowl?

Edit: and where are they compared to each other on the stage? My only device with a working Hopscotch app is drawing a pixel art at the moment and I didn’t code it very well.


#3

In the pic in the first post the bowl is the large semicircle.


#4

Like, in the editor? Or the player?


#5

I meant inthe editor, but it seems like they never touch before they’re supposed to.

I’m going to go get another ithingy now, I’ll check your code.


#6

I can’t get past the decoration part yet I’ve tapped everything


#7

Wait what
Hm that’s odd
Did you tap the arrow in the bottom corner?


#8

Oh


#9

Great game, by the way.

I think it might be a glitch in Hopscotch which is increasing the size of objects for when bumped events if there are lots of clones.

There’s a topic about it.

I moved the bowl to its same position with and x value of 50 instead of 500 and it worked.

The best solution would be to replace when bumps with a conditional when comparing the positions of the two objects.


#10

The size of the bowl is really big, this could make the hit box a bit bigger than the regular object so it triggers the touch


#11

Or when touching


#12

I set the size to 500 and it worked so it was the hit box


#13

Oh, thanks!

Wow that hit box must’ve been pretty large


#14

To clive or not to clive. That is the question.


#15

@leaders this is solved! U can close it!


closed #16

archived #17