Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by TObe

Hi, everyone I'm trying to use the numeric keys for my game but,
I can't bind the numeric keys:

ig.KEY.0
ig.KEY.1
ig.KEY.2
ig.KEY.3
ig.KEY.4
ig.KEY.5
ig.KEY.6
ig.KEY.7
ig.KEY.8
ig.KEY.9

The game couldn't load when I try:

ig.input.bind( ig.KEY.1, "1" );

Any suggestions?

1 decade ago by Hareesun

That's a really good point, doesn't work for me either.

1 decade ago by dominic

Mhhpf, sorry. Because it's a numeric key, you can't use the dot notation. This will work:
ig.input.bind( ig.KEY[1], "1" );

Maybe I should rename these keys to NUM_1 or something?! Any other ideas? :)

1 decade ago by Colin

NUM_1 etc. seems pretty logical to me. I think it's definitely easier to use the same notation for all the keys.

1 decade ago by Hazneliel

hola TObe, veo que eres del DF, me gustarĂ­a contactarte y platicar =)

1 decade ago by TObe

Seguro! te paso mi Twitter, es tobeder.

Saludos!
Page 1 of 1
« first « previous next › last »