Skip to content

Instantly share code, notes, and snippets.

@KinoAR
Created October 23, 2020 23:48
Show Gist options
  • Save KinoAR/155d700e5b56e23869bce50a5a263496 to your computer and use it in GitHub Desktop.
Save KinoAR/155d700e5b56e23869bce50a5a263496 to your computer and use it in GitHub Desktop.
Script Calls For Game
Inventory Script Calls
-----------
Opens the Inventory
LunaMMInventory.openInventory()
Closes the Inventory
LunaMMInventory.closeInventory()
Checks if the Inventory is open
LunaMMInventory.isInventoryOpen()
Enable Shader
-----------
var maskImage = ImageManager.loadPicture('brighter-light')
var filter = LunaShaders.LightMaskShader.create(maskImage, maskImage)
SceneManager._scene.filters = [filter]
----
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment