VERSIÓ 1.4.3
- [NEW] key.text() - [NEW] key.utf8char() - [NEW] pal.trans() ara torna el color transparent - [NEW] pal.subpal(index) i pal.subpal(index,color) ara tornen el color al que estaba abans asignat el index
This commit is contained in:
@@ -122,6 +122,10 @@ function pal.color(index) end
|
||||
---Set (r,g,b) color for the specified index in the current palette
|
||||
function pal.color(index, r, g, b) end
|
||||
|
||||
---@return number index
|
||||
---Get the index specified as transparent color
|
||||
function pal.trans() end
|
||||
|
||||
---@param index number
|
||||
---Set the index specified as transparent color
|
||||
function pal.trans(index) end
|
||||
@@ -130,12 +134,16 @@ function pal.trans(index) end
|
||||
function pal.subpal() end
|
||||
|
||||
---@param index number
|
||||
---Reset the specified subpalette index to its default palette index
|
||||
---@return number index
|
||||
---Reset the specified subpalette index to its default palette index,
|
||||
---returns the previously mapped index
|
||||
function pal.subpal(index) end
|
||||
|
||||
---@param index number
|
||||
---@param color number
|
||||
---Set the specified subpalette index to the specified palette index
|
||||
---@return number index
|
||||
---Set the specified subpalette index to the specified palette index,
|
||||
---returns the previously mapped index
|
||||
function pal.subpal(index, color) end
|
||||
|
||||
---@param index1 number
|
||||
@@ -601,6 +609,14 @@ function key.press(key) end
|
||||
---Returns whether any keyboard key has just been pressed
|
||||
function key.any() end
|
||||
|
||||
---@param enable boolean
|
||||
---Enable or disable utf8 text input
|
||||
function key.text(enable) end
|
||||
|
||||
---@return string
|
||||
---Returns a string with the utf-8 character sequence pressed. Only when utf8 is enabled
|
||||
function key.utf8char() end
|
||||
|
||||
|
||||
---@class pad
|
||||
---@field pad.INVALID number
|
||||
|
||||
Reference in New Issue
Block a user