Creating a sign

User avatar
Posts: 131
Joined: Mon Sep 03, 2018 4:34 am

Re: Creating a sign

Post by cargo » Mon Nov 05, 2018 11:35 pm

Thank you dale.
dale_coop wrote:
Mon Nov 05, 2018 10:50 pm
LDA gamepad
Then you need to compare with those values:
#%10010000 ;; check if upright is pressed
#%10100000 ;;check if downright is pressed
#%01010000 ;;check if upleft is pressed
#%01100000 ;;check if downleft is pressed

#%00010000 ;; check if up is pressed
#%00100000 ;;check if down is pressed
#%01000000 ;;check if left is pressed
#%10000000 ;;check if right is pressed

#%00000010 ;;check if B is pressed

The last others bites might be for A, select and Start...
(I think #$00000001 for if A is pressed)
Post Reply