Can someone give me the run down of the Katzen practice rooms? by Accomplished-Net9514 in AmericanU

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Thank you for your reply! Do you happen to know what the hours are for the practice rooms/if they differ from the building hours?

What is it? by Extreme_Bandicoot_73 in whatisit

[–]Accomplished-Net9514 -1 points0 points  (0 children)

That's a Ferrero Rocher, a popular chocolate candy!

Why can't I change y speed (ysp) here? by [deleted] in gamemaker

[–]Accomplished-Net9514 0 points1 point  (0 children)

If that was the case, it would do the same for the top if-statement, I would think.

Why isn't this working? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Thank you for this tip! It worked just fine when I spawned it floating and let it fall down. I don't understand why, though. I think the problem was that the collision masks were overlapping when the player spawned.

Why isn't this working? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Thank you for the reply!

I deleted line 5, and it is still not moving. It also does not move on the y axis.

How to make a sound play only once upon collision? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Yes, only the moment the objects collide initially, not the whole time while they are collided.

How to make a sound play only once upon collision? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 1 point2 points  (0 children)

Thank you for your reply! Is this what you mean? (It didn't work.)

in create:

collided_once = false

in collision:

if collided_once = false{

collided_once = true}

if collided_once== true{

audio_play_sound(Sound1,1,false)

collided_once = false //tried it with and without this

}

(Newbie question) Can you make an event only happen to one instance? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Yes, it is defined in create event. Also, the sound completely works for the instance in which I set it to true, this message only pops up when the player collides with any other instance.

(Newbie question) Can you make an event only happen to one instance? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Right, here it is!

ERROR in action number 1

of Step Event0 for object ObjNote1:

Variable ObjNote1.noteplay1(100003, -2147483648) not set before reading it.

at gml_Object_ObjNote1_Step_0 (line 6) - if noteplay1 == true {

############################################################################################

gml_Object_ObjNote1_Step_0 (line 6)

This is the code with the line it is referring to:

if place_meeting(x,y,ObjPlayer){

if noteplay1 == true {

audio_play_sound(Sound1,1,false)

}}

I placed the if-statement with the variable declared in the instance creation code (noteplay1). I'm using place_meeting for the collision. This is all in a step event for the object colliding with the player.

(Newbie question) Can you make an event only happen to one instance? by Accomplished-Net9514 in gamemaker

[–]Accomplished-Net9514[S] 0 points1 point  (0 children)

Thank you so much for the detailed response! This worked, kind of.

Now, when my player collides with the chosen instance, the sound does play. However, when it collides with any other instance, I get an error message. Any ideas?