A room transition script that flips the room horizontally like this
___''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''___
|__| -> <| -> |> -> |__|
so it looks like a piece of paper being rotated would be really useful!
If anyone has or can/wants to make a script that does this please put a link in the comments. I am sure other people would find this useful. Or there may already be one...
Flip room transition
Started by Edge Ryder, May 07 2012 10:17 AM
1 reply to this topic
#1
Posted 07 May 2012 - 10:17 AM
#2
Posted 07 May 2012 - 10:30 AM
scrn=sprite_create_from_screen
then
draw_sprite_ext //using the new sprite scrn
either draw that sprite straight to the screen, manipulating image_xscale from 1 to -1
or draw it to a surface(not in draw event) and manipulate it how ever you see fit and then draw it in the draw event
i would have a white or black or textured background behind the flipping screen else it will look bad. also you will most likely want to "pause"/"feeze"/"deative" or destroy all objects other than the one doing this(after you have done sprite_create_from_screen)
then
draw_sprite_ext //using the new sprite scrn
either draw that sprite straight to the screen, manipulating image_xscale from 1 to -1
or draw it to a surface(not in draw event) and manipulate it how ever you see fit and then draw it in the draw event
i would have a white or black or textured background behind the flipping screen else it will look bad. also you will most likely want to "pause"/"feeze"/"deative" or destroy all objects other than the one doing this(after you have done sprite_create_from_screen)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











