Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
I am trying to make a game where the player can shoot a projectile similar to how Mario would fire a fireball when he gets a power-up. Does anyone know how to code that feature?
I'm working on a tower defense game and I ran into this problem.
I created a projectile and every time a new one is created, all of the projectiles that are currently on screen are messed up, I came to the conclusion that perhaps the variables are being changed every time a new projectile is...
I have the basic character shooting code but i'm not quite sure how to code in a way for the projectile to flip everytime you look a vertain direction. For example when i look left, my projectile shoots and moves backwards. here's my shooting code:
if can_fire and...
I recently was following a tutorial on how to create projectiles from the player and at the end of an Animation End event there was an error that I continuously ran into. The system told me that there was only 1 argument when there needed to be two. I was able to find the second argument...
Hello everyone.
I am new to GML and GMS2 but am in love with everything and the amazing community.
So, I am already able to successfully shoot a projectile object, from the players location/gun, towards the mouse click location/enemy. (In a top down 2D shooter type game).
However, I am...
I want to code a burst projectile. it will start as a separate projectile and once it hits a ground object it creates a bloom of smaller projectiles that spread out in 8 directions. now, coding the initial phase won't be a problem, just a matter of using the right loop to create the projectiles...
I have a physics game with a player helicopter. Player presses key to apply physics force on y axis to raise heli. Below are AA tanks which fire bullets at the heli. How can I get the aa bullets to shoot straight? I would rather the bullet not use physics but if I uncheck uses physics then it...
Do you guys know how to make projectiles fall only in one room? When I'm making emiter it constantly spawns projectiles in all rooms I enter despite that the emiter wasn't persistent.
Hey folks,
Let's talk physics! At the moment I have a projectile the player can angle and then fire out, which uses physics_apply_impulse() to give it a kick.
//make the arrow move
var dir = point_direction(x, y, mouse_x, mouse_y)-180;
physics_apply_impulse(x, y, lengthdir_x(50, dir)...
Hi everyone,
I am polishing my game a little and wanted the enemies bullets to come out of the gun from the end. The code i originally had was using the x and y values of the enemy.
Originally:
Alarm[1]
instance_create(x,y,obj_enemyBullet);
When I put in a code to make it come out of the...