Hi! I'm sorry I haven't been active recently. I have decided that I want to move onto creating JavaScript. I have made this project to help with that. The only problem is, I don't know how to code in the ifOnEdgeBounce(); block! If you have any suggestions, please put it in the comments. Thanks! 13/11/24: We have a breakthrough! For the top line, imagine the angle the ball hits it is, lets say, 89 degrees. If you do angle = (90 - angle) * 2, you get the bouncing ball! As well, just so you know, the cos and sin in the code is pythagorean terminology: A ^ 2 + B ^ 2 = C ^ 2. I'll add some comments in the code to help it look it bit easier. 15/11/24: CALLING ALL! PLEASE TELL ME WHAT TO DO WHEN THE BALL IS TOUCHING THE LEFT LINE AND ITS ANGLE IS BELOW 0 YET ABOVE 180??????!!!!! 15/11/24: I have it! Now i can make a bouncing ball break blocks....... he he 20/11/24: Fixed bouncing on wall glitch: now need to consider angular momentum. If you have any suggestions please let me know
Thanks to Deep AI for being my mentor when there wasn't one, and thanks to whoever created iconKiller.wav. (I'm using JavaScript terminology now heh ψ ☟̵͈̕︎̷͉̤͔̑̍͆̅☜̵̯̹͔̬̍͘︎̵̥̹̗̒̄☟̶̨̼̩̝͛͐̌︎̸͍̺̈́͐͆̈́ ̸͉̔͘☟̶̡̢̩̘̣͌︎̶̖̞̹̫̎͐̔̓͝☜̸̗̯̼̦̪̀︎̸͖̗̹̗̀̓̚☟̸͙̩̈́̎̚︎̸̨̺͓̫̯͑̈́̕͝ ̵̩̇�̸̩͒͝�̵̧̧̤̞̮͂̑̎̽̕︎̴͎̋͘͜⚐̷̢͎͚̺͑͂̎̾︎̷̨̘͍̖͒̕✋̵̛̠̒̈́̒︎̶͈̻̼̑�̸̛͙̤̪̈̆̓ͅ�̷̛͚̦̫̃͋͆̎︎̴̺̜̐̆̒ͅ✋̷̧͝︎̶̭͔̾́�̸̢͖͂̽͂̚͜�̶̢̦̣̤́̉̕͜︎̶̧̜̩̲̱͌̌̑͝ ☠)