I searched for someone with a similar problem but couldn't find it yet.
I have a game with 1 room, and a few objects in the room. In one of the objects' Game Start Event, I have the following code:
view_enabled = true view_visible = true view_wview = 480 view_hview = 320 view_wport = 480 view_hport = 320 view_xview = 0 view_yview = 0 view_xport = 0 view_yport = 0 surface_resize(application_surface, view_wview, view_hview) window_set_size(view_wview, view_hview)
The room size is 1024 by 768, but because I have set the view smaller, I should only see a part of the room. This works fine in a Windows build, but with HTML5, no matter what I try, the game will always show the entire room in the view. So the view sizes are correct, but it doesn't display only part of the room as expected by me, always everything.
Am I doing something wrong?
Thanks in advance for any help