Hello, I am trying to make a quick game for my sister where you just move up and down with the arrow keys and try shooting the zombie using the spacebar. I have 2 problems: 1. I have tried everything to make the shooting work but the bullet/fireball thing I made just keeps coming out of the bottom or top of the character thing I made. 2. I am not sure how to make the zombie automatically move. I want to make it move in like a square type of way along the right side of the game like this: (The - represents the zombie)
??
? – ?
? – ?
? – ?
? – ?
? – ?
? – ?
? – ?
? – ?
? – ?
? – ?
??
(Starts at the bottom right dash)
Thanks! (If you need any clarification for the second problem please tell me.
1 Like
biggest instructions ever!! XD
Ok I'll try the help according to what I understand. So what you want is a gun that fires a bullet that a appears to come specifically out of the gun, to do this get a "once" and an "attacher" and make a separate object like "gun" or "blaster", And set the attacher to "gun" and connect the "once" to the attached "on". Make sure "gun" is not solid otherwise it will push the character you play as around. And just make the gun fire, not the character.
For the path of the zombie you can have an “always” and put the velocity on forward. And put 4 blocks on the corners. (To where If he didn’t turn he’d run into it) make it to where when he hits a block (use collision) and add a “number” and make the number 90. Now get a rotation and set the 90 output to add… Now erectile he hits a block he will turn to his right and move that way. If you want to make the blocks invisible you may have a “once” and put it into a “number” and don’t set to anything, leave it as default, and put down an “alpha” and connect the two.
Let me know if i need to simplify this.
1 Like