0 Members and 19 Guests are viewing this topic.
when would you need it?
You can do the equivalent of AND with an OR and an XOR with an inverted sprite mask if you absolutely need it. Quigibo is out of sprite tokens so I don't know if he is planning on adding it any time soon
It might be a little faster, but to tell the truth, not by much -- the assembly version would still have to do the AND/OR/XOR/NOT operations anyways, even if they might be a little smaller and faster. If you need however, I can maybe write a lightweight axiom that would have a modification of the pt-on( command that would do a masking operation -- I actually think it wouldn't be that big of a operation.
is there also a way to use just B_CALL _getKey so that you can detect key combos (I mean, like with 2nd-> Math)
:If getkey(54) and (getkey(47)stuff:End
In other news, Frey continues kicking unprecedented levels of ass.
Quote from: aeTIos on March 23, 2011, 06:28:25 amis there also a way to use just B_CALL _getKey so that you can detect key combos (I mean, like with 2nd-> Math)Code: [Select]:If getkey(54) and (getkey(47)stuff:End
Asm(EF724926006F)
Quote from: Freyaday on March 23, 2011, 12:35:12 pmQuote from: aeTIos on March 23, 2011, 06:28:25 amis there also a way to use just B_CALL _getKey so that you can detect key combos (I mean, like with 2nd-> Math)Code: [Select]:If getkey(54) and (getkey(47)stuff:EndHe meant pressing 2nd, then MATH, like you do in the OS. A way to do bcall(_getKey) isCode: (Axe) [Select]Asm(EF724926006F)It involves a whole other key system though.