Better definition layout, page_status labels, content changes
This commit is contained in:
parent
e46e36412d
commit
4d4ee393af
19 changed files with 367 additions and 14 deletions
8
content/BuiltinCommands/_index.md
Normal file
8
content/BuiltinCommands/_index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: 'List of builtin commands'
|
||||
layout: 'list'
|
||||
---
|
||||
|
||||
These commands are accessible through [`mgCommand()`](/luafunctions/mgcommand)
|
||||
<!-- Some commands might have documentation on the [Smashing Tech Wiki](https://antifandom.com/smashhitlab/wiki/List_of_Lua_Functions) -->
|
||||
|
19
content/BuiltinCommands/level.skip.md
Normal file
19
content/BuiltinCommands/level.skip.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: "level.skip"
|
||||
description: "skips the level if the user has enough coins (same as pressing the skip level button)"
|
||||
layout: "definition"
|
||||
page_status:
|
||||
- stub
|
||||
---
|
||||
|
||||
## Usage
|
||||
|
||||
```txt
|
||||
level.skip
|
||||
```
|
||||
|
||||
<!--
|
||||
optional arguments are written in square brackets
|
||||
|
||||
below you can add examples
|
||||
--->
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: 'mgCameraShake'
|
||||
description: 'used to visually shake the camera'
|
||||
layout: 'LuaFunctions'
|
||||
layout: 'definition'
|
||||
page_status:
|
||||
- 'stub'
|
||||
---
|
||||
|
|
22
content/LuaFunctions/mgCommand.md
Normal file
22
content/LuaFunctions/mgCommand.md
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
title: "mgCommand"
|
||||
description: "Executes internal commands"
|
||||
layout: "LuaFunctions"
|
||||
page_status:
|
||||
- stub
|
||||
see_also:
|
||||
- "/builtincommands/"
|
||||
---
|
||||
|
||||
## Usage
|
||||
|
||||
```lua
|
||||
mgCommand(command)
|
||||
```
|
||||
`command` includes both the command itself and parameters used
|
||||
|
||||
<!--
|
||||
optional arguments are written in square brackets
|
||||
|
||||
below you can add examples
|
||||
--->
|
|
@ -1,3 +1,4 @@
|
|||
Welcome to the wiki!
|
||||
# Welcome to the wiki!
|
||||
|
||||
It's unfinished, but hopefully it'll be!
|
||||
It's unfinished, but hopefully it'll be soon!
|
||||
Meanwhile you can check out the categories below:
|
||||
|
|
67
content/decompiled_src/commands.txt
Normal file
67
content/decompiled_src/commands.txt
Normal file
|
@ -0,0 +1,67 @@
|
|||
audio.playBackgroundMusic
|
||||
audio.playForegroundMusic
|
||||
movie.start
|
||||
level.restart
|
||||
level.replay
|
||||
level.start
|
||||
level.startreplay
|
||||
.motion
|
||||
level.skip
|
||||
game.quit
|
||||
game.menu
|
||||
game.leaderboards
|
||||
game.achievements
|
||||
game.saveConfig
|
||||
game.url
|
||||
game.difficulty
|
||||
hud.reload
|
||||
player.buy
|
||||
player.buycoins
|
||||
com.mediocre.grannysmith.coins1000
|
||||
com.mediocre.grannysmith.coins3000
|
||||
player.unlockall
|
||||
player.restorepurchases
|
||||
player.rate
|
||||
player.unlockallchar
|
||||
player.selectcharacter
|
||||
player.ischaracteravailable
|
||||
player.reset
|
||||
player.adsshown
|
||||
game.signin
|
||||
game.signout
|
||||
audio.playBackgroundMusic
|
||||
audio.playForegroundMusic
|
||||
movie.start
|
||||
level.restart
|
||||
level.replay
|
||||
level.start
|
||||
level.startreplay
|
||||
level.skip
|
||||
game.quit
|
||||
game.menu
|
||||
game.leaderboards
|
||||
game.achievements
|
||||
game.saveConfig
|
||||
game.url
|
||||
game.difficulty
|
||||
audio.playBackgroundMusic
|
||||
audio.playForegroundMusic
|
||||
movie.start
|
||||
level.restart
|
||||
level.replay
|
||||
level.start
|
||||
level.startreplay
|
||||
level.skip
|
||||
game.quit
|
||||
game.menu
|
||||
game.leaderboards
|
||||
game.achievements
|
||||
game.saveConfig
|
||||
game.url
|
||||
game.difficulty
|
||||
hud.reload
|
||||
player.buy
|
||||
player.buycoins
|
||||
player.unlockall
|
||||
player.restorepurchases
|
||||
com.mediocre.grannysmith.unlockall3
|
63
content/decompiled_src/functions.txt
Normal file
63
content/decompiled_src/functions.txt
Normal file
|
@ -0,0 +1,63 @@
|
|||
mgCreateImage
|
||||
mgCreateUi
|
||||
mgCreateText
|
||||
mgSetOrigo
|
||||
mgSetCrop
|
||||
mgRadioSelect
|
||||
mgSetUiEnabled
|
||||
mgSetUiModal
|
||||
mgSetText
|
||||
mgSetPos
|
||||
mgSetRot
|
||||
mgSetScale
|
||||
mgSetAlpha
|
||||
mgSetColor
|
||||
mgGetPos
|
||||
mgGetRot
|
||||
mgGetScale
|
||||
mgGetAlpha
|
||||
mgGetColor
|
||||
mgIsVisible
|
||||
mgDraw
|
||||
mgGet
|
||||
mgSet
|
||||
mgCommand
|
||||
mgScriptTime
|
||||
mgScriptFrame
|
||||
mgFullScreenColor
|
||||
mgCreateSound
|
||||
mgPlaySound
|
||||
mgIsTouched
|
||||
mgGetLastTouch
|
||||
mgGetScreenCoord
|
||||
mgGetLevelInfo
|
||||
mgIsCharacterAvailable
|
||||
mgCreateCanvas
|
||||
mgPushCanvas
|
||||
mgPopCanvas
|
||||
mgSetCanvasEnabled
|
||||
mgSetCanvasWindow
|
||||
mgSetCanvasMovable
|
||||
mgGetUiSelectionCount
|
||||
mgGetUiSelectionInfo
|
||||
mgDrawReplay
|
||||
mgGetPose
|
||||
mgSetPose
|
||||
mgGetVelocity
|
||||
mgSetVelocity
|
||||
mgSetFilter
|
||||
mgSetDynamic
|
||||
mgMove
|
||||
mgRotate
|
||||
mgGetDistanceBetweenBodies
|
||||
mgGetDistanceToPoint
|
||||
mgInSensor
|
||||
mgBreakJoint
|
||||
mgSetSensorEnabled
|
||||
mgIsGrabbed
|
||||
mgIsBroken
|
||||
mgCreateEffect
|
||||
mgParticle
|
||||
mgRnd
|
||||
mgParticlePoof
|
||||
mgCameraShake
|
Loading…
Add table
Add a link
Reference in a new issue