This site requires JavaScript, please enable it in your browser!
Greenfoot back
SPower
SPower wrote ...

2013/9/27

Check wether 'alt' is down

SPower SPower

2013/9/27

#
Hi all, I'm developing a new game, and I came across the problem where Greenfoot.isKeyDown does not work when you enter "alt" as an argument, so I wondered if it was possible. Thanks already!
Gevater_Tod4711 Gevater_Tod4711

2013/9/27

#
If greenfoot doesn't support this key you could try to catch the key events on your own and manually check whether the key is down. I used such stuff in my Greenfoot Full Screen Demo. That may help you.
SPower SPower

2013/9/27

#
Thanks, gevater, I was already thinking about doing something like that, only I hoped there was an easier way ;)
You need to login to post a reply.