8 Ball Pool (Update) New difficulty

8 Ball Pool (Update) New difficulty

by Coltroc

👁 59,978 ❤️ 1,809 ⭐ 1,690 🔄 105
Created: Dec 15, 2019 Last modified: Sep 28, 2024 Shared: Aug 31, 2022

Description

Use Turbowarp to avoid lag and long waiting times: https://turbowarp.org/353994505 ___________________________________________ Note: *The bot is quite slow, but don't make fun of him, he's self-conscious. ok? *The shooting is delayed by about 1 second for performance reasons. sorry about that... /= Let me know if you find any glitches. ___________________________________________ Devlog: 2022-08-29 Share 2022-08-29 Bot optimization and progress bar 2022-08-30 made the bot think less on easy/medium. 2022-08-31 optimized the bot code 2022-08-31 added a new difficulty, (Impossible.) ___________________________________________ Credit to Ferrari Ludovico and Newton for some math stuff. Credit to Miniclip for the thumbnail And credit to you for playing. (= ___________________________________________ I didn't steal the physics engine from a tutorial this time. So congrats to me, right? Anyway Have a good day, bye

Instructions

Hello and welcome to my new and "improved" version of 8 ball pool. New update! Yay. ___________________________________________ Instructions: Click and drag to pull the cue. Release to shoot. (Pull towards the cue) ___________________________________________ 8 Ball Pool rules: To win, a player must sink the 8 ball (the black ball). But first, you must sink all the red or blue balls depending on which color you got at the beginning. The color is decided by the first ball you sink, so if you sink a red ball first, your color is red, and if you sink a blue ball first, your color is blue. If the opposing player plays an illegal shot, you get the cue ball(white ball) in your hand. Click to place the ball anywhere you want. These are the illegal moves: *You sink the opponent's ball *You don't hit the right ball color first *You don't hit anything *You sink the cue ball These are the losing moves: *You sink the cue ball and 8 ball in the same shot *You sink the 8 ball before the others ___________________________________________ Info about the physics engine: Warning! This explanation is very bad and probably false. So please take everything with a grain of salt. I don't know what I'm doing, My brain is smooth, and I can't explain stuff very well. ... Anyway. Most physics engines use something called real-time physics. This means that the engine checks for collision on every frame and tries to push colliding objects out of each other. So, for example, an 8-ball pool engine using real-time physics would check for distances between the balls on every frame, and if the distance is smaller than 2r, they are colliding. (this is the method I used for my old 8-ball pool game) This method works fine for most applications. But it's not very accurate. If the speeds are too large or the frames are too low, then the physics just dies. The physics engine used in this game has a different approach. The collisions are not calculated on each frame. Instead, they are calculated before you even see the balls moving. I do this by using something called "the quartic formula." The result is that I have a function that can give me the time when 2 balls will collide in an instant. So instead of checking for collisions on every frame, I just calculate when they will collide with a function. This method can handle high speed with no issues and is super accurate. I also take advantage of this to make the bot better. The bot simulates many shots to find the best one. That's why it can take a while for it to think. This is a very brief explanation. I might make a video going into more detail about it.

Project Details

Visibility
Visible
Comments
Enabled

More Cool Projects

Project thumbnail
View Project

Cat Avatar Creator - Derp Edition

by AllyCat_711

Project thumbnail
View Project

FNF Vs Dave And Bambi 3.0 - Bambi Test

by zombiehunter122167

Project thumbnail
View Project

東方ダンマクカグラ ver0.2.1 幽霊楽団 〜 Phantom Ensemble

by kaichi120020

Project thumbnail
View Project

1,イージーイージープラットフォーマー

by rafael5778

Project thumbnail
View Project

青鬼オフラインver1.8.2

by noa3375

Project thumbnail
View Project

Server1 ONLINE Minecraft オンライン マインクラフト

by RRR-scratch

Project thumbnail
View Project

シューティングゲーム Sp◯◯toon Clicker

by kasukei

Project thumbnail
View Project

雪合戦deバトル 改 V13

by 02515617

Project thumbnail
View Project

☁Online Tetris 再共有ver

by cosmo-zero

Project thumbnail
View Project

Fruit Ninja Scratched

by king8766

Project thumbnail
View Project

ネコRPG Ver0.3.0.9

by kkkooo

Project thumbnail
View Project

Shapes 5: Halloween Haunt Pt 1| #animations

by therealanimatebro2

Project thumbnail
View Project

Undertale flowey Fight

by Snake64e

Project thumbnail
View Project

Good vs Evil | A Platformer (Mobile Friendly)

by cheekyscuola

Project thumbnail
View Project

Among Us [ALPHA TESTING]

by superfireninja9

Project thumbnail
View Project

Baking Bonkers v3.0.0 (w/ Mobile Support)

by -lucidlight-

Project thumbnail
View Project

Singing Peas

by cobbyjoe

Project thumbnail
View Project

ポケモントレッタ 3弾 図鑑

by sasayu74

Project thumbnail
View Project

Let's Make KNE Sans Serif: A Latin Extended Font! | v2.4.9

by WindowsMeRules2000

Project thumbnail
View Project

Template {free intro}

by robtop_Game3

Project thumbnail
View Project

Rescue 4 -Forest- || A platformer ||

by hern1

Project thumbnail
View Project

Super Luigi Galaxy Alpha

by mario490

Project thumbnail
View Project

【#10】ᴡɪɴᴛᴇʀ ᴘʟᴀᴛғᴏʀᴍᴇʀ

by AXTUKUN

Project thumbnail
View Project

Bézier Curve Maker: Make cool shapes

by Odrodzony