K
kftX
Guest
Hello everyone, GMS newbie here and I have a question that 1h+ of google under different terms doesn't seem to help. Hopefully someone knows/is able to help me in what I want to do, if not, I'll move on to a different concept. In this case, it would be a text-based game (think old style text adventures).
(1 is Viewport 1 and 2 is Viewport 2)
As you can see this game area is split into 3 different areas. My idea is that 1 would be the narration area where the text would be shown to the player. 2 would be a clickable GUI area with choices.
As you can probably see I created various viewports so that each would "house" its one specific part of the game area/GUI. Think of them as containers. The doubt I have is that no matter how much I search around on the internet I can't seem to find a way to make objects stay constrained within 1 or 2. If I drag the object with the draw text I created it'll just appear at the 100, 100 coordinate relative to Viewport 0 rather than Viewport 1.
So my question basically is:
Is there any way to make objects "spawn" within a specific Viewport and staying constrained within that area, or is there a better way to achieve what I want to do? What am I missing? I even tried creating specific instances for this but I have no idea how to use those instances and make them useful.
If anyone could explain to me what I'm doing wrong, that would be amazing.
Thanks in advance
(1 is Viewport 1 and 2 is Viewport 2)
As you can see this game area is split into 3 different areas. My idea is that 1 would be the narration area where the text would be shown to the player. 2 would be a clickable GUI area with choices.
As you can probably see I created various viewports so that each would "house" its one specific part of the game area/GUI. Think of them as containers. The doubt I have is that no matter how much I search around on the internet I can't seem to find a way to make objects stay constrained within 1 or 2. If I drag the object with the draw text I created it'll just appear at the 100, 100 coordinate relative to Viewport 0 rather than Viewport 1.
So my question basically is:
Is there any way to make objects "spawn" within a specific Viewport and staying constrained within that area, or is there a better way to achieve what I want to do? What am I missing? I even tried creating specific instances for this but I have no idea how to use those instances and make them useful.
If anyone could explain to me what I'm doing wrong, that would be amazing.
Thanks in advance