P
paulog
Guest
Hello! I'm making a game in GM1.4 and I want to make a draggable window but I'm facing some issues.
The draggable part I have figured out, but there are two problems:
1 - The game uses a view smaller than the room, and the player can drag the view across the room. I want the window to stay in the same place in relation to the view.
2 - The game allows the player to rotate the view by 90º at a time, but I also wanted the window to stay in the same place in relation to the view after this happens.
Is there a way to make this possible? I thought about making the window appear fixed in the middle of the view, but I really wanted to make it draggable. Besides I want to be able to open multiple windows at a time. I also thought about using a different view, like a GUI view, and rendering it at the top of the main game view, but then I can't interact with the game view. Is there a way to make a view "transparent" so I can interact with the view "below" it?
I really hope someone can give me some ideas. Thanks in advance!
The draggable part I have figured out, but there are two problems:
1 - The game uses a view smaller than the room, and the player can drag the view across the room. I want the window to stay in the same place in relation to the view.
2 - The game allows the player to rotate the view by 90º at a time, but I also wanted the window to stay in the same place in relation to the view after this happens.
Is there a way to make this possible? I thought about making the window appear fixed in the middle of the view, but I really wanted to make it draggable. Besides I want to be able to open multiple windows at a time. I also thought about using a different view, like a GUI view, and rendering it at the top of the main game view, but then I can't interact with the game view. Is there a way to make a view "transparent" so I can interact with the view "below" it?
I really hope someone can give me some ideas. Thanks in advance!