Hi everybody!
How are yout guys?
i have this piece of code on a desktopwindow keydown event:
If DebugBuild and Keyboard.CommandKey Then
// Verifica as setas com Command pressionado
Select Case key.Asc
Case 29 // Right Arrow // próxima fase
if DebugBuild then
gameLevelLimit = gameLastLevel
End If
if gameLevel<gameLevelLimit then // no máximo 31 levels
gameLevel = gameLevel + 1
End If
wdwGame.Close
wdwGame.show
Case 28 // Left Arrow // volta uma fase
if gameLevel>1 then
gameLevel = gameLevel - 1
End If
wdwGame.Close
wdwGame.show
Case 45 // - // tira um rato
if gameMices>1 then
gameMices = gameMices - 1
End If
Case 61 // + // adiciona um rato
gameMices = gameMices + 1
Case 108 // LEVEL // para abrir o editor de fases
wdwGame.Close
wdwEditor.show
End Select
Here:
If DebugBuild and Keyboard.CommandKey Then
I tried alt, control and option on Windows to do the same, but i’m stuck…
i can’t do the same as i was doing on mac…
What’s the trick?
Thank you,
Alex