Slordax
Moderator: MaxCoderz Staff
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
-
- Calc Master
- Posts: 1089
- Joined: Fri 17 Dec, 2004 9:53 am
nice
Very nice man, keep it up
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
Yes. To do so, you will have to use direct input for both the motion and reading the 2nd key. Day 22 of Learn TI-83+ Assembly in 28 Days (Here, for easy reference) explains how to use it.Shadow Phoenix wrote:Is it possible to make it so it detecks the pressing of a button 2nd WHILE its moving...?
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
THANKS!!!!
Simple and beatifull!
OK thats It WE NEED THE WORSHIP SIGN!!!!!!
Code: Select all
keypress:
LD a, %10111111
out (1),A
in A, (1)
BIT 5, A
jp z,fireinit
;continue to check keys
call getDI
OK thats It WE NEED THE WORSHIP SIGN!!!!!!
Last edited by Shadow Phoenix on Sun 13 Mar, 2005 4:58 pm, edited 1 time in total.
Life is getting better.
-
- Calc Master
- Posts: 1089
- Joined: Fri 17 Dec, 2004 9:53 am
lol
Yep, indeed, nice If ya need any more help, just ask
I may be wrong, but I don't think you are done with key detection, Shadow Phoenix. If you check to see if 2nd has been pressed with direct input, it may work, but unless you check for directional movement in the same way, no keys will be detected other then 2nd.
Just remember this: If you want to read ANY keys at the same time ALL of the keys must be read directly. Also, don't think I am always right... I am not.
Just remember this: If you want to read ANY keys at the same time ALL of the keys must be read directly. Also, don't think I am always right... I am not.
- Jim e
- Calc King
- Posts: 2457
- Joined: Sun 26 Dec, 2004 5:27 am
- Location: SXIOPO = Infinite lives for both players
- Contact:
When it comes to reading keys via key routine, most will place the directions keys first.
@Shadow Phoenix: You should only use Direct input for a game like that. Also remeber that you "should" reset the key port before seting the keygroup.
And finally, the driver needs a delay between setting a group and reading a key. 8 clocks will do
@Shadow Phoenix: You should only use Direct input for a game like that. Also remeber that you "should" reset the key port before seting the keygroup.
And finally, the driver needs a delay between setting a group and reading a key. 8 clocks will do