Giter VIP home page Giter VIP logo

minivariables16's Introduction

MiniVariables16

A fork & expansion of Mini Variables Tested on GB Studio 3.1

GB Studio only truly supports one type of variable, a signed 16-bit integer. While this is fine for most small projects, there are a limited amount available and it can quickly become wasteful. Breaking a variable into single-bit flags is also supported, but these two options alone do not in my opinion cover enough use cases. With this plugin you can break each variable into smallers sets of 2/4/8-bit variables to save on space. Special thanks to Yousurname for the original plugin that I based this off of!

How to install

Add the plugins folder into your project.

Plugin Usage

There are new options available in the Variables section of the Add Event menu for each new type of bit value.

Set 2-Bit Values

2-bit

You can set up to 7 values ranging from 0-3 inside a single variable.

Set 4-Bit Values

4-bit

You can set up to 4 values ranging from 0-7 inside a single variable.

Set 8-Bit Values

8-bit

You can set up to 2 values ranging from 0-255 inside a single variable; due to some limitations, the sum of both values can at most be 382, otherwise a rollover bug will occur. For example, if value 1 is set to 255, value 2 can only go up to 127.

Grab n-Bit Value

Grab

After setting the values inside a variable, you can use a corresponding Grab event available for each type. This allows you to copy the data into a standard variable which you can then use inside any event as normal. For example, if you want the first 8-bit value stored inside a variable, you would use Grab 8-Bit Value and select 8-Bit Value 1.

minivariables16's People

Contributors

ccc200 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  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.