Giter Club home page Giter Club logo

bloons_macros's Introduction

BloonsMacro

Note : This Package does make use of your mouse to place monkeys

Making Bloons Macroing Easier!

Requires 1920x1080p Or Full HD to function The above will be changed to work on different Settings in the future!

Install

Use The Package Manager Pip To Install BloonMacro

pip install BloonsMacro

Usage

from BloonsMacro.macros import Monkey

# Places A Dart Monkey At Coords 500, 600 with strong as its targeting
# Targeting is optional
myDart = Monkey(500, 600, 'dart', 'strong')

# Sets the dart monkeys current targeting to close
myDart.set_targeting('close')

Example Round Tracker

# For Image Tracking
import pyautogui as pg

# For cooldown
import time

#Initial Round
round = 0

# Round Change Loop
while True:
    
    # Check to see if the round image Changed 
    if(pg.locateOnScreen(lvl) != None):
        time.sleep(.9)
    else: 
        # Increase Rounf Num
        round += 1
        print('Round: ' + round)
        # screenshot location for Full HD monitors
        lvl= pg.screenshot(region=(1442,1,118,69))
        time.sleep(.2)

Syntax

The Monkey Class Takes in 4 peramiters

#Targeting is optional by default will be first
Monkey(int: x_location, int: y_location, str: monkey_type, str: targeting = None)

# The monkey class has a few branching functions that can be used to upgrade sell and retarget monkeys.
# For example if i created a sub on strong targeting at coords (700 872) and saved a refrence to it
sub = Monkey(700, 872, 'sub', 'strong')

# If i wanted to upgrade the sub to a 1-0-0 then I can do
sub.upgrade(1)

# Finally If i wanted to set the targeting to first I do
sub.targeting('first')

Monkey Type Names

'hero'
'dart'
'tack'
'boomer'
'cannon'
'ice'
'glue'
'snipe'
'sub'
'boat'
'ace'
'heli'
'mortar'
'dartling'
'wizard'
'super'
'ninja'
'alch'
'druid'
'farm'
'sfactory'
'village'
'engineer'

bloons_macros's People

Contributors

jpizza99 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.