A89: Re: how to test 2 keys at once? and another question.


[Prev][Next][Index][Thread]

A89: Re: how to test 2 keys at once? and another question.



i was wondering if there was any way to test something, and make it do something if the value is true without going to a label...
 
i dont want to have to do:
 
    cmp.w whatever,whatever
    beq    add_1_to_x
 
add_1_to_x:
    add.w #1,x
 
isnt there a simpler way? i just seem to end up with a buttload of labels :-P
-----Original Message-----
From: Hatch <hatch@cyberport.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Monday, April 24, 2000 12:51 PM
Subject: A89: how to test 2 keys at once?

ok, im going to make an arcade game, and i guess its fairly obvious that i need to test atleast 2 keys at once. such as arrows and 2nd. so they can shoot and move at the same time. i guess you have to do something special for this... im using masks to test the keys (the best way im told) now i just want to know how i can test for 2 at once. such as arrows and 2nd... thanks for any help :D
 
garry hatch

Follow-Ups: