Ball bug (idk if webplayer or code...)

help

#1

Ok so I was coding air hockey and then I realized that when the ball hitted the bottom left corner it disappeared
Try it by yourself

https://c.gethopscotch.com/p/103e4sq80c

@omtl


#2

Ya know how to open this kind of wips right?


#3

I think what happened was the ball was going so fast that the Horizontal Velocity x -0.5 thing was happening over and over since it was of the screen which makes it continue going away.


#4

No, that shouldn’t happen because I added “absolute value” to the equation


#5

oh. Then that happens over and over. Multiplying by 0.5 forever will never actually get to 0. It approaches 0 but never actually reaches 0.


#6

gtg bye


#7

Well that makes more sense but still that should happen… because when it makes it absolute value, it should go to the right, but it finishes at negative xpos


#8

Ok bye lemme check if that works…


#9

What’s with the PFPs?


#10

The doodles are taking over


#11

The doodles are taking over.
It’s a new trend lol.


#12

Hopscotcher started it. I think. Actually, I don’t think anyone’s sure who started it.


#13

Actually I believe it was Rodrick834, but…

LGBOT


#14

No it was me @MISSION_IMPOSSIBLE @Awesome_E


#15

Yeah GBOT plz


#16

I don’t know, as I am not used to coding since I am inactive on Hs.


#17

See ya @Awesome_Coder_25!