Game Maker Studio: How to fire Ammo in all 4 Directions. Make barrels Move then Stop. VIDEO
Visit my anime and game site: http://mcanime1.wixsite.com/mcanime
GMX File: https://goo.gl/ojEQ2Y
Enemy Follow code: https://goo.gl/BNHtV7
The player object rotates, it does not switch object.
Go Right: Left pressed "moverighthim" Actions: image_angle=+0;
Go left: Left pressed " movehimleft " Actions: image_angle=+180;
Go down: Left pressed " downbb " Actions: image_angle=+270;
Go up: Left pressed " upbb " Actions: image_angle=+90;
For each weapon button: Example: weaponammo, Left pressed: Actions: Code sheet: instance_create( x - 0 * image_xscale, y - 32, bullet
The above example just need to change the x and y numbers, so the weapon is shooting from the gun, and change the object which is the bullet, so the bullet is going the correct direction.
Other Videos By MC Designs 2017-12-09 Game Maker Studio: How to select a player & continue background sound. 2017-12-01 Game Maker Studio: How to Swim in Water, show Bubbles & Splashes. 2017-11-26 Game Maker Studio: How to Stack & Use Objects in you’re game. 2017-11-23 Game Maker Studio: How to Create Checkpoints in you’re game. 2017-11-19 Game Maker Studio: How to Create Random Objects, Instances & Timing Objects Out. 2017-11-18 Game Maker Studio: How to Animate an Object, using a Path, Alarms, & Images. 2017-10-31 Game Maker Studio: Create a Custom Mouse Pointer & Gun Target Shooter. Plus, Collect Ammo & Score. 2017-09-26 Game Maker Studio: How to Create a Path & Fire Weapon in all Directions. 2017-09-24 Game Maker Studio: How to Create Alarms for you're Objects. 2017-09-16 Game Maker Studio: How to Make Something Happen, Later in the Game. 2017-08-12 Game Maker Studio: How to fire Ammo in all 4 Directions. Make barrels Move then Stop. 2017-07-29 Game Maker Studio: How to Create Variables & Enemy Direction Follow. 2017-07-22 Game Maker Studio: How to Shoot Ammo, Gain Ammo and Change Weapon. 2017-07-22 Game Maker Studio: How to Create Rain, Splashes, and Thunder. 2017-05-20 Game Maker Studio: How to use Persistent Objects, Different Message Box & Reset Room. 2017-05-20 Game Maker Studio: How to Use the Pause Code to go Back to Room you were just in. 2017-05-13 Game Maker Studio: How to Collect Keys, Open Doors, Switch Objects & Parent Objects. 2017-04-29 Game Maker Studio: Learn Scaling background, repeat objects & animating. 2017-04-23 Game Maker Studio: Learn Gravity & Collison
Tags: android
game
maker
studio
phone
tablet
teach
learn
how
direction
move
shoot
ammo
count
down
camera
view
health
bar
enemies
follow
kill
next
room
level
stop
angle
image
face
code