This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm still somewhat new to gamemaker and I'd like to know you declare an object to have an instance variable storing a view camera (view_camera[0]) in it's create event, then you move to another room, will it still read the variable as the view_camera[0] or will it no longer read it right as it changed the room, therefore the direct view it was using.
If it doesn't save the view_camera it was using, would reassigning view_camera[0] to the instance variable work or will checking during the step event make it safer to do (i.e if instance_variable == -1, then instance_variable == view_camera[0]/maybe creating view_camera[0] if for whatever reason it just doesnt exist)?
Thanks in advance!
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/gamemaker/c...