zork824 Posted January 14, 2012 Share Posted January 14, 2012 I noticed that there is a opcode,named *code* not pressed_key *key* and this actually works with pressed_key.but if I want to make it work for 0AB0,how it is?sanny builder automatically changes it to key_pressed.how to do this? Link to comment Share on other sites More sharing options...
Silent Posted January 14, 2012 Share Posted January 14, 2012 You negate the conditional opcodes by changing first opcode ID digit to 8. So it should look like this: 0AB0: key_pressed 0x738AB0: not key_pressed 0x73 // NOT is only for code readability there, 8 at the beginning is the most important Link to comment Share on other sites More sharing options...
zork824 Posted January 15, 2012 Author Share Posted January 15, 2012 Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now