Gamerev147
Member
Backstory:
So I recently started to switch over to Game Maker Studio 2. Much of the code is different. It's really hard for me to learn this new code when I knew the old code so well! Anyway, I need help creating a Dynamic Camera like Shaun Spaulding's video on a dynamic camera.
Attempts:
Since view_xview and view_yview have been removed, it is very difficult to achieve the same thing as the video. I tried using camera_get_view_x by doing:
But it isn't functioning the same as the old functions; view_xview and view_yview.
Question
I was wondering if someone already knew new code for a dynamic camera or if they could take the code from the video and convert it to Game Maker Studio 2 code for me? So in other words, How can I make a Dynamic Camera in Game Maker Studio 2?
All help is appreciated, thanks!
So I recently started to switch over to Game Maker Studio 2. Much of the code is different. It's really hard for me to learn this new code when I knew the old code so well! Anyway, I need help creating a Dynamic Camera like Shaun Spaulding's video on a dynamic camera.
Attempts:
Since view_xview and view_yview have been removed, it is very difficult to achieve the same thing as the video. I tried using camera_get_view_x by doing:
Code:
var vx = camera_get_view_x(view_current);
var vy = camera_get_view_y(view_current);
Question
I was wondering if someone already knew new code for a dynamic camera or if they could take the code from the video and convert it to Game Maker Studio 2 code for me? So in other words, How can I make a Dynamic Camera in Game Maker Studio 2?
All help is appreciated, thanks!
Last edited: