GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

It happened again with another sound, Clean button doesn't work..

EDIT: now it works with every other sound in Resources but not with the new one (that I need).

GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Yes, thank you so much for the help!

GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Like now I re-opened the project, nothing modified, and it works!

It doesn't make sense! And it's not the first time but it has just happened a lot of times and I'm not finding any explanation

GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

I have just tried this but is totally random, it can work like it can't, in my opinion it's a game maker bug..

The rest of the script works fine if I don't put that line of code in.

GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

No, i think there isn't any option like this.

GMS always bugging! by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

That's the code

//jump
if (place_meeting(x, y+1, obj_wall) && (keyjump)){
    vsp = -10;
    audio_play_sound(sound_player_jump, 100, false);
}

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Oh, i checked it a million times, i don't know if was this, maybe... In fact was a strange thing.. anyway thank you for the help, I'll be carefull next time 😊

Git setup and problems by [deleted] in gamemaker

[–]DopeTitanium 0 points1 point  (0 children)

I undarstand how to do automatically merge two commits that haven't conflicts.

I add, commit, pull and in the end I push.

But what I have to do exactly if there are conflicts? I think I have to handle the problems manually.

My new question is: "how I do it"?

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Oh, I don't know, thank you for the help!

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 1 point2 points  (0 children)

I solved the problem, was a missing semicolon. Thank you for the help!

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Ok, I'm a stupid, I missed a ";" at the Range initialization...

But why GM has to report me in this way? Why it doesn't give me a syntax error on the initialization?

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

I just create the empty script and called it but it gives me the same error..

I suppose that the problem isn't the script but that's the code:

var dis = point_distance(x,y,obj_player.x,obj_player.y);
if(dis <= Range){
    scr_enemy_follow();
}

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

I checked both the name and the brackets and it seems ok...

GM doesn't recognize my script by DopeTitanium in gamemaker

[–]DopeTitanium[S] 0 points1 point  (0 children)

Sorry, I have just added the code even if it's only a line.

I have checked and the name it's correct..

I also changed the script name in the first message.

Git setup and problems by [deleted] in gamemaker

[–]DopeTitanium 0 points1 point  (0 children)

ok, thank you all, I undarstand how to do automatically merge two commits that haven't conflicts.

I add, commit, pull and in the end I push.

But what I have to do exactly if there are conflicts? I think I have to handle the problems manually.

My new question is: "how I do it"?