New answers tagged

1

The reason your obj_GameOver and obj_BtnOK won't appear is because you are checking the wrong variable. The No More Health Event is triggered by checking for the value of variable health. From the YoYo Documentation: No More Health GameMaker: Studio has a built-in health system, which, like Lives above, is basically a global scope variable that is ...


0

I haven't worked in GameMaker Studio before but just from looking at your screenshot it appears that when obj_rec2 collides with obj_Boss it is literally setting bossHealth to -1.5, so that after the collision it bossHealth = -1.5. Therefore bossHealth is never reaching 0 to create instances of obj_BtnOK and obj_GameOver



Top 50 recent answers are included