S
SonicTheHedgehog+123
Guest
Hey everyone
I am making a unique Platforrmer and I want to know how I can make a blackscreen with the text "Next" appear for a short amount of time. This should happen if the obj.player is outside of the room. Also if the blackscreen appeared it should use the code "room_goto_next"
I created a black square object. If the player is outside of the room the objects gets visible and streched throw the hole screen. Know I have a blackscreen also I did write the text "Next"
with the Draw Event. The problem is that when my player.object is outside of the room the alarm doesnt really work. I want that if the player is outside of the room an instant alarm gets activated and it should use the code smothly. Is there a trick or a better option to make this transition happen, or how I could do this method with low memory cost. If someone could help me I would be very thankful
Everythihng i did so far with the black square object:
Step Event:
if (Mega = 1)
{
visible = 1
}
else
{
visible = 0
}
if place_meeting(x,y,Fledermaus)
{
alarm[0] = 5
}
Create Event:
Mega = 0;
Draw Event:
draw_sprite_stretched(Portal_Bild, 0, x, y, 4000, 4000);
draw_set_font(BigMac)
draw_set_color(c_white)
draw_text(150,room_height/2,"NEXT")
Alarm[0] Event:
room_goto_next()
I am making a unique Platforrmer and I want to know how I can make a blackscreen with the text "Next" appear for a short amount of time. This should happen if the obj.player is outside of the room. Also if the blackscreen appeared it should use the code "room_goto_next"
I created a black square object. If the player is outside of the room the objects gets visible and streched throw the hole screen. Know I have a blackscreen also I did write the text "Next"
with the Draw Event. The problem is that when my player.object is outside of the room the alarm doesnt really work. I want that if the player is outside of the room an instant alarm gets activated and it should use the code smothly. Is there a trick or a better option to make this transition happen, or how I could do this method with low memory cost. If someone could help me I would be very thankful
Everythihng i did so far with the black square object:
Step Event:
if (Mega = 1)
{
visible = 1
}
else
{
visible = 0
}
if place_meeting(x,y,Fledermaus)
{
alarm[0] = 5
}
Create Event:
Mega = 0;
Draw Event:
draw_sprite_stretched(Portal_Bild, 0, x, y, 4000, 4000);
draw_set_font(BigMac)
draw_set_color(c_white)
draw_text(150,room_height/2,"NEXT")
Alarm[0] Event:
room_goto_next()
Last edited by a moderator: