1. Hey! Guest! The 34th GMC Jam will take place between August 22nd, 12:00 UTC (Thursday noon) and August 26th, 12:00 UTC (Monday noon). Why not join in! Click here to find out more!
    Dismiss Notice

view_camera[0]

Discussion in 'Programming' started by ThePropagation, Aug 14, 2019.

Tags:
  1. ThePropagation

    ThePropagation Member

    Joined:
    May 16, 2017
    Posts:
    114
    Any time I use view_camera[0] in HTML5 the game freezes. Is there another way I can manipulate cameras without assigning a camera? Can I manipulate the default camera at all without assigning viewports?
     
  2. Old School Ben

    Old School Ben Member

    Joined:
    Feb 28, 2018
    Posts:
    16
    Are you currently using Gamemaker 2's built in room camera?
     
  3. ThePropagation

    ThePropagation Member

    Joined:
    May 16, 2017
    Posts:
    114
    When I use view_camera[0] i set Viewport 0 as visible and enable viewports in that room. That makes it freeze. I turn off viewports and disable that one, change the camera variable to camera_get_default. that doesn't work either, and camera_get_active doesn't work in HTML5 at all I get a compile error when trying to run it
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice