Yeah, that could work, thanks, I am going to try it now. (except that instead of running release on the "double press", I think it is better to just ignore the key press. Also, keys will reset on ship spawn)
EDIT: seems to work, thanks again
EDIT 2: I found possible source of performance decrease, I moved asteroids (shot-off tiles are technically counted as asteroids) with standard SetPosition function, instead of SetUnitX/Y. With increasing amount of flying tiles throughtout the game, it would get accordingly laggy.
EDIT 3: New version. Contains the arrow key fix, arcade rebalance, DD score fix, map size adjustment (however now the map bounds are not visible), self-destruct and reset buttons (however self-destruct works instantly now, I don't have any timer system so far), arcade and planet work in test mode, asteroid fix (hopefully will fix the FPS decrease)
EDIT 4: I forgot to credit kola for self-destruct and cancel icons, sorry about that, going to fix it in next version
EDIT 5: known bugs in 3.5: devices can face inside ship (fixed), "hull not intact" after you test ship once(fixed), missiles sometimes dissapear intantly, sometimes do 0 damage(fixed), game crashed when asteroid leaves map(fixed)
Further changes in upcoming 3.6: colored code, camera unlock in construction, laser range decreased