Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Circle only firing left

This thread is locked; no one can reply to it. rss feed Print
Circle only firing left
Sadako
Member #17,047
March 2019

So basically there are 2 stages on game. After Stage 1 loads boolean stage 2. However on stage 2 the player2(enemy) is only firing the circle at left when it should fire 2 circle at same time , left and right.

if (X > X3 || X < X3)
{

fireballdirLV2 = RIGHT2;
countCircleLV2 = 0;
}
I made a check that if fireballdirLV2 is right its going to turn on
fireballRightLV2 = true;
fireballLeftLV2 = true;

Go to: