oh no, no mac beta version T__TYeah. I can not test also. I only have Linux, Mac OS and a Virtual Windows XP. None of these systems is suitable. I hope a Mac OS version is planned.
oh no, no mac beta version T__TWill come somewhat later
local charmove_x = 0
local charmove_y = 0
function vKeyboardHandler(eventType, character, keycode, modifiers)
if eventType==eEvtKeyUp then
print('key up: ' .. keycode)
keycode = keycode % 1073741824
if keycode == 80 or character == 'A' then -- left
charmove_x = 0
elseif keycode == 79 or character == 'D' then -- right
charmove_x = 0
elseif keycode == 81 or character == 'S' then -- down
charmove_y = 0
elseif keycode == 82 or character == 'W' then -- up
charmove_y = 0
end
createEvent('eEvtControllerAxisCharacterMove', {x=charmove_x, y=charmove_y},25)
elseif eventType==eEvtKeyDown then
print('key pressed: ' .. keycode)
keycode = keycode % 1073741824
if keycode == 80 or character == 'A' then -- left
charmove_x = -100
elseif keycode == 79 or character == 'D' then -- right
charmove_x = 100
elseif keycode == 81 or character == 'S' then -- down
charmove_y = 100
elseif keycode == 82 or character == 'W' then -- up
charmove_y = -100
end
createEvent('eEvtControllerAxisCharacterMove', {x=charmove_x, y=charmove_y},25)
end
return false
end
registerEventHandler('keyEvent', 'vKeyboardHandler')
@ Lebostein: you can purchase a windows 8.1 or 10 pro windows oem key from opiumpulses web store for less than €20. I paid about €9 for my windows 8.1 key & about €16 for windows 10 key. The prices fluctuate up & down, but pretty cheap regardless. I'm using windows 10 key on my custom built gaming/development pc & the windows 8.1 key on a mac mini running parallels VM - works fine, though the mac is a bit old so does run a little slow, but should be fine on newer macs.I have already thought about it... I have purchased a Windows 7 license some years ago, but this shop (http://www.softwarebilliger.de/) was branded as "half-legal" some weeks later (https://www.heise.de/newsticker/meldung/Softwarebilliger-de-...), I am not sure what I have purchased. Until now all Windows Software I use requires Windows XP only. But I will try to install that (hopefully legal) Win 7...
Hey Simon, is it possible to add a function to work with Steam achievements easily? ^^You can sort out steam achievements & stats (also gog galaxy) with Lua script. Functions have existed for a while. Think they are pretty simple to work with already. Basically get/set achievement/stat name. I'm not sure about setting them up on Steam, but I'm pretty sure that anyone on here that has released a game to Steam with achievements can probably provide a step by step - if not then I'll create one when I get around to releasing a game myself (will probably be a while though).