Workshop.codes
Create

This code is over 6 months old. The code may have expired and might no longer function.

Mouse Interface

Provides A Customisable In-Game Menu With A Mouse (Supports Both Throttle And Aim Control)

Enable Dev Mode In Settings To Easily Add New Buttons Does Not Support Text That Isn't Button, However If You Change The Hover Color To The Same As The Default Color And Don't Add A Click Interaction For Its Unique ID Its Basically Just Text

Variables Used And Needed For The Button (Click Areas)

  1. Click_Area : Position On The Screen
  2. ClickAreaSize : The Area Around The Screen Position It Detects A Click
  3. ClickAreaColor : The Default Color Of The Text
  4. ClickAreaHover_Color : The Color Of The Text When Within The Detect Click Range
  5. ClickAreaPage : The Page (Custom String) The Text Will Display And Be Detected In
  6. ClickAreaText : The Custom String Displaying The Text
  7. ClickAreaText_Size : The Size Of The Text
  8. ClickAreaID : The Unique Identification Of The Click Area For Detecting The Clicked Button

Board Generator

Its some small scripts that can take a Up/Down Size and a Left/Right Size and convert it to a full board with 3 arrays. (well 1 small script, the other 2 rules are basic Player and Global Setup)

Gird: Every grid tile
Board_Edge_Left: Every grid tile connected to the edge on the left
Board_Edge_Right: Every grid tile connected to the edge on the right

(Edges for top/bottom dont have an array as they can be obtained with a simple index search)

Useful for making, Chess, Sudoku, Tic Tack Toe, Connect 4, Etc


Sources

This post utilizes other codes either in part or in full. This could be because they remixed them, used parts of them, were inspired by them, or other reasons.

Players | 1 - 12
Categories: Tools
Heroes: D.va, Doomfist, Junker Queen, Mauga, Orisa, and 34 more...
Created at:
Last updated:
Current version: 1.1

Controls

Throttle
Mouse Movement
Aim
Mouse Movement
Primary Fire
Mouse Click
Secondary Fire
Mouse Click
Debug Dev Mode + Ability 1
Decrease Detection Area Size
Debug Dev Mode + Ability 2
Increase Detection Area Size
Debug Dev Mode + Crouch
Display Dev Huds With Bindings And Info
Debug Dev Mode + Melee
Create Button On Mouse Position
Debug Dev Mode + Jump
Delete Last Button In Array (Last Made Button)
Throttle
Mouse Movement
Aim
Mouse Movement
Mouse Click
Mouse Click
Debug Dev Mode +
Decrease Detection Area Size
Debug Dev Mode +
Increase Detection Area Size
Debug Dev Mode +
Display Dev Huds With Bindings And Info
Debug Dev Mode +
Create Button On Mouse Position
Debug Dev Mode +
Delete Last Button In Array (Last Made Button)
Throttle
Mouse Movement
Aim
Mouse Movement
Mouse Click
Mouse Click
Debug Dev Mode +
Decrease Detection Area Size
Debug Dev Mode +
Increase Detection Area Size
Debug Dev Mode +
Display Dev Huds With Bindings And Info
Debug Dev Mode +
Create Button On Mouse Position
Debug Dev Mode +
Delete Last Button In Array (Last Made Button)
Throttle
Mouse Movement
Aim
Mouse Movement
Mouse Click
Mouse Click
Debug Dev Mode +
Decrease Detection Area Size
Debug Dev Mode +
Increase Detection Area Size
Debug Dev Mode +
Display Dev Huds With Bindings And Info
Debug Dev Mode +
Create Button On Mouse Position
Debug Dev Mode +
Delete Last Button In Array (Last Made Button)
Throttle
Mouse Movement
Aim
Mouse Movement
Mouse Click
Mouse Click
Debug Dev Mode +
Decrease Detection Area Size
Debug Dev Mode +
Increase Detection Area Size
Debug Dev Mode +
Display Dev Huds With Bindings And Info
Debug Dev Mode +
Create Button On Mouse Position
Debug Dev Mode +
Delete Last Button In Array (Last Made Button)

Snippet

Loading...

Users Also Like

Similar Codes

Workshop.codes
Join the Workshop.codes Discord