-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gota.io Popsplits #332
Comments
yeaa please make like gota.io :) |
I'm actually saying this, but I would like this feature too. |
@AlexHGaming @PsycoYT Mess around with the numbers of these two lines |
Then save the virus.js file than, try popsplits |
I've never played gota.io so, obviously Idk the numbers |
@freaky767 I do not know how the popsplit mechanics work in gota.io. But do what @Tyler3D said and you should be fine |
oh ok. |
I'm a noob at code, but how do you increase the chance on those lines?
Increase numbers? Decrease?
…On 3 January 2017 at 10:18, freaky767 ***@***.***> wrote:
oh ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#332 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AWjIVK5e5LsuhFsG3bo1V-G0VTuZWgTPks5rOiB0gaJpZM4LZJSf>
.
|
@AlexHGaming You must edit the ratio to affect popsplits the way you want it. var v = c.isMoving ? 4 : 4.5; << check if the player's cells are in boosted mode (player is being popsplitted), if so, decrease the mult to 4 (so there is a higher chance of more cells popping out). Or else it is default 4.5 var exp = (Math.random() * (v - 3.33)) + 3.33; << controls how many [big] cells popout by selecting a random value in between "v" and 3.33 using Math.random();. Decrease: more big cells popout. Increase: less big cells popout. exp = 2; << controls the size of the "big" cells that popout. decrease: increase the size of cells that popout. increase: decrease the size of cells that popout Warning: Any values below 1 crashes the server when a player eats a virus! |
Is it possible to make the same popsplit mechanics to gota?
The text was updated successfully, but these errors were encountered: