×
Documentação SHTML 1.1.1
BLOCOS INICIAIS
<shtml> ... </shtml>
style [baw, clr, rgb, dtn]
OBJETOS
new [nome] as [tipo]
Tipos: sprite, image, button, dropdownlist, checkbox, window, messagebox, popup, variable, extension, text
MANIPULAÇÃO (SET)
set [objeto] position (x, y)
set [objeto] text "valor"
set [objeto] color "cor"
Propriedades: size, background, effect (ghost, clr), show, ischecked, parent
EVENTOS E CLIQUES
send("mensagem")
<when recieve "mensagem"> ... end>
<when [objeto] clicked do> ... end>
<when $[condicao]=[true]> ... end when>
SENSORES E SISTEMA
Sensores: mousex, mouseY, touching [objeto], image of [objeto]
Sistema: fps, version
COMANDOS ADICIONAIS
goto [cena]
msg [texto] [objeto]
opts [objeto]
mix("texto1", "texto2")
console [log, warn] "texto"