• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GMS2 "view_xview" deprecated

S

StuffandThings85

Guest
Ok so I was following Heartbeast's RPG tutorial using GMS2 (he was of course still using 1.x), and came across this strange code behavior. To get the dialogue to appear on screen, he used:
Code:
display_get_gui_height()/view_wview[0];
which seems to have been deprecated and replaced with:
blah.png

As you see, it appears yellow and red as it is a recognized function. But when I put this into my RPG project, it won't work and displays like this:
blah2.png

When I try to compile, I get an error saying unknown function or script. Why would this work in one project but not another one?

EDIT: Found out that "view_xview" has been replaced with "view_camera", now it works.
 
Last edited by a moderator:
Top