GithubHelp home page GithubHelp logo

mnemotechnician / new-controls-public Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 2.0 228 KB

Mindustry mod that adds a better mobile ui. Discontinued.

License: GNU General Public License v3.0

Java 100.00%
mindustry-mod mindustry mindustry-mod-v7

new-controls-public's Introduction

New-Controls

A mindustry mod that adds two new control modes: AI and joystick (the latter is mobile only cus you can't have two pointers on desktop).

This mod is multiplayer-compatible, meaning you can use all its features (even the unfair ones) in the multiplayer.

Enabling

To enable the controls: press the ๐Ÿ”ง (wrench) button while in-game. You will see a panel with a status bar and a big red "DISABLED" label. Clicking on the label toggles the controls.

By default the manual control mode is enabled. You can switch to ai mode by disabling a toggle with a cross icon in the placement ui.

Important notice

While the controls are enabled, you won't be able to perform some actions that are possible in vanilla mode (such as building). You can disable & enable the controls at any time so that shouldn't be a problem.

Manual mode

Enabled by default. Consists of two thumbsticks (movement (left) and aiming / shooting (right)) and a control panel at the bottom part of screen in landscape and above right thumbstick in portrait mode that allows you to perform some actions such as to pick/drop payloads, command units, etc.

Ai mode

Can be enabled by disabling a toggle in the placement ui (right bottom corner). Reveals an ai control panel under the status label. Consists of four modes:

  • auto: performs one of three following based on situation
  • attack: targets nearest units & buildings in a specified radius, keeps maximum possible distance
  • mine: automatically mines specified items
  • patrol: goes to the nearest spawn point / enemy core

Some of the actions can be configured in the left panel.


About the source code

Just... Dont read it. Seriously, you will regret. I forced myself to upload this here cus else it would rot in my storage forever

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.