Hello,
I'm trying to edit the Aum shooter project. Right now it is a basic top down 2D Shooter. The action Shuttle entity currently shoots one bullet. I want it two shoot two. So I copied the line
ent_create (laser_mdl, my.x, move_bullet1);
and two create a second bullet I place this line of code right after it
ent_create (laser_mdl, my.x, move_bullet2);
I also make a second bullet move function. "bullet move 2" and place it after move_bullet 1.
But the problem is that the second bullet is created in the same position as the first. I tried to change the position of the vector but typing
ent_create (laser_mdl, my.x+1 , move_bullet1); // move the second bullet slghtly to the left.
But putting in the "+1" results in an error. so my question is: Is there any way to create a second bullet? A better way? How can I create a second bullet on a different vector.