SDK 6.3/PAWN/Scramble
Jump to navigation
Jump to search
Official WOWCube SDK documentation. SDK 6.3, PAWN API. Generated from the canonical SDK headers — do not edit by hand; regenerate from source.
Legacy track. The PAWN API is supported but no longer actively developed — the last PAWN additions shipped in SDK 6.2. New development uses the C++ (WebAssembly) API.
SDK 6.3 · PAWN API: Core ·
Graphics ·
Topology ·
Sound ·
Motion Sensor ·
Leaderboard ·
Splash Screen ·
Physics ·
Network ·
Save ·
Scramble ·
Logging
C++: Native API · Application · GFX Engine · Rust: Rust API (experimental) · Changelog
← SDK 6.3 · PAWN / Scramble
Functions
Scramble
Syntax:
Scramble(twistsCount)
Description:
- Scramble the cube randomly the specified number of times.
Arguments:
- twistsCount
- how many times to twist the cube for scramble
ScrambleRotate
Syntax:
ScrambleRotate(scr, dir)
Description:
- Twist the cube around some screen in a specified direction.
Arguments:
- scr
- a screen to twist around
- dir
- a direction of the twist