this isnt the fault of the engine, more your code. Yes, in the step event that will "spam" an instance for every time soandso == 1. You could stop...
Also, not related to your issue directly, but change this to
hp -= 1;
Or more preferably,
The second code will minus one just the same,...
if(global.state = "Enemy")
When you use "with(obj_enemy)", you aren't referencing the instance closest to the player, your...
Mind posting your solution? Could be a valuable resource for others
while obj_house goto_tree = true
is this formatted right?
What are you saying here? while obj_house exists?
gonna need to see some code to fix this one i reckon
AFAIK you're moving twice as fast because your diagonal speed is faster than your horizontal, debug it to confirm
/// draw event
var dis = abs(x...
Just wanted to thank everyone in one instead of individually messaging, this is the first jam that we have participated in, and the results have...
Or even simpler, for an object this basic, use inbuilt paths
Write it as
keyboard_check(128) for ~ (as example)
Edit: as Theou states, this may not work for nonstandard keyboards
the easiest way I've done it is to have skin object follow the player, And apply all movement to the player, all image_angle and attacks to the...
Isn't the issue here that all of your soldiers are trying to go into the space of one?
Perhaps I'm looking at this wrong, but couldnt you clamp their positions relative to where they are?
bodypart.x/y = head.x/y -...
A team of three, myself, and two nonGMC members, Maice and Zach.
We aimed for a lot more than the timeframed allowed,...
Also my first jam, and wouldn't you know it I'm working both days :mad:
Got some good mates though, so lets see if we can actually finish...
So I've just written this up, haven't tested as im at work, but is this along the lines of what I should be trying?
Ahh yes, my mistake, i did mean random_range, but as flerpy has said, is an unnecessary function for this case.
You have to size your viewport to the size of the screen.
so for example, you could have a room view of 10x20, but underneath that there should...
so in create you can call image_angle to be random on spawn ( I think irandom(0,359))
and then call direction to that angle, and apply a speed....
@Niels Oh really? I thought it was physics based. I guess thats a good thing for me haha.
So origin point for door as the hinge point, on...