Skip to content

A weapon that disintigrates shapes (objects) bit by bit. A desintegration step is called each frame only when the desintegration mode is toggled on. Each object has its own list of desintegration positions that spread once those positions (querying the closest point to the desintegrated position) have been desintegrated.

Notifications You must be signed in to change notification settings

cheejins/Teardown__Disintegrator-Gun

Repository files navigation

Desintigrator Gun (Teardown Mod)

A weapon that disintigrates shapes (objects) bit by bit.


A desintegration step is called each frame only when the desintegration mode is toggled on. Each object has its own list of desintegration positions that spread once those positions (querying the closest point to the desintegrated position) have been desintegrated. This makes for a satisfying, termite like tunneling destruction.


Media


Code Overview

Main script files:

  • main.lua

    • Main functionality control center for the mod
    • Contains tool logic and sound functions.
  • scripts/desintegrator.lua

    • Contains the main desintegration logic and desintegration object constructor.
  • scripts/info.lua

    • Manages the displaying of the info window.

Links

About

A weapon that disintigrates shapes (objects) bit by bit. A desintegration step is called each frame only when the desintegration mode is toggled on. Each object has its own list of desintegration positions that spread once those positions (querying the closest point to the desintegrated position) have been desintegrated.

Topics

Resources

Stars

Watchers

Forks

Languages