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!
Hey, I'm trying to apply a force or impulse (I don't know which to really use) for let's say "ball_obj" to go towards the nearest same object ("ball_obj") But I don't know how. Can someone help??
Good afternoon.
I use GMS physics.
I have an object that "throws up" other objects.
In it I place a script describing its movement and reaction when approaching other objects.
In case of convergence, the function of throwing the object is called.
physics_apply_impulse() applies to the object...
hay guys
I made a game like "angry bird" but it's not about braking blocks it's about jumping on them with true aiming so it's too difficult for users because they can't aim!
they trying to do this like other games but the object (I don't know why maybe because physics settings like density...
So here is my code:
var ximpulse, yimpulse;
ximpulse = lengthdir_x(0.1,point_direction(phy_position_x,phy_position_y,mouse_x,mouse_y));
yimpulse = lengthdir_y(0.1,point_direction(phy_position_x,phy_position_y,mouse_x,mouse_y))...
Hello! I'm trying to make a game using physics. I have a cannon (obj_Cannon) which shoots balls (obj_Ball). The cannon has a small animation after which the ball is being shot. So I put this code into Animation End event of obj_Cannon:
with (instance_create(x, y, obj_Ball))
{...
Hello, i have small problem with speed of bullets in my game. I have a game where player is shooting bullets towards mouse - everything works fine except i can't change bullet speed.
Looks like my bullet is faster if i click when my mouse is far away from shooting object,
if my mouse is closer...
Hi everyone !
I'm new to gml and GMS 2 and i have a weird bug with physics.
(I'm sorry, english isn't my native language, i hope you'll understand me)
twitter.com/kano_stuff/status/869202284118499328
(Inside the link there's is a gif of this bug)
//Jump script (BUTTON A)
if...
So, i've been confused about as to why these different sets of code works different than each other.
So to set up the scene, it's a top down shooter using the physics engine, and I'm confused about the shooting mechanics. One of them works, one of them doesn't.
The one that works:
bullet =...
I belive I've made a thread about this before, although I did not get any help there really and it seems like it was a tough nut to really comprehend. I'm talking in terms of recoil and impact force which get applied by shot projectiles at a target or basically an enemy or yourself. Obviously...
Hi,
I'm new here =)
This looks like a great community!!
I have a question regarding this:
"physics_apply_local_impulse(0, 0, 0, -5 );"
The Scenario
i have the player object sitting on the ground, when hitting "Space" i run this command to jump using "physics_apply_local_impulse(0, 0, 0, -5...
I'm making a space game and I'm using physics engine.
Should I use physics_apply_local_impulse or physics_apply_local_force for ship movement and bullet firing?
Currently I'm using force for ship and impulse for bullet.
Also, another quick question: Bullets are traveling slower than ship when...