shrouk
shrouk

Reputation: 43

How to change the size of room at run time without changing its size in game maker itself?

I want to change the size of the HTML5 game when it runs on the web page without changing its original size in the game maker studio.

Upvotes: 1

Views: 2304

Answers (1)

William
William

Reputation: 21

It can be done at run-time but not when in that same room, so make a prep room to start the game in whose creation code sets the width and height using

room_set_width(room_name,width);
room_set_height(room_name,height);
room_goto_next();

Upvotes: 0

Related Questions