JFranco
New member
Hello,
I'd like to be able to:
-Press the A button and have a projectile fire
-If it's just the A button being pressed, the projectile fires in whatever direction the player is facing (DONE)
-If the A button is pressed with an arrow key on the D-pad, the projectile fires in whichever direction is pressed on the keypad (despite where the player is facing)
The second part is the tricky part.
At first I thought it was all about altering the fifth argument in the CreateObject macro (ex: CreateObject temp, temp1, #$03, #$00, temp2), but now I'm realizing object direction is controlled by Object_Movement variable. Now i'm wondering if the directional_table not being linked is a factor?
P.S. My game uses gravity
Thanks in advance for any help (this includes link to videos or threads that can point me in the right direction)
Cheers,
Justin
I'd like to be able to:
-Press the A button and have a projectile fire
-If it's just the A button being pressed, the projectile fires in whatever direction the player is facing (DONE)
-If the A button is pressed with an arrow key on the D-pad, the projectile fires in whichever direction is pressed on the keypad (despite where the player is facing)
The second part is the tricky part.
At first I thought it was all about altering the fifth argument in the CreateObject macro (ex: CreateObject temp, temp1, #$03, #$00, temp2), but now I'm realizing object direction is controlled by Object_Movement variable. Now i'm wondering if the directional_table not being linked is a factor?
P.S. My game uses gravity
Thanks in advance for any help (this includes link to videos or threads that can point me in the right direction)
Cheers,
Justin