Description

A collection of functions to extend the HTML5 capacities of GameMaker-Studio 1.x!

FUNCTIONS INCLUDED - EnableContextMenu() > enable right-click on html5 canvas - CustomLoader() > used to customize the loading screen - OpenImage() > take screenshot of canvas and open it on new tab - SaveImage() > take screenshot of canvas and invoke download of it - GetImageURL() > take screenshot of canvas and return data:url of it - GetImageData() > take screenshot of canvas and return base64 encoded image - InvokeDownload(url, filename) > start download of online files with custom filename - ChangeFullscreen() > (internal use only) change browser fullscreen mode - FullscreenStatus() > return 1 if fullscreen is enable and 0 if not - PrintWeb(url) > start printing the content of url parsed

OBJECTS INCLUDED - eh5_CenterWindow > center game canvas on the browser window - eh5_EnableRightClick > enable right click on game canvas - eh5_FullscreenButton > pre-built and customizable fullscreen toggle button - eh5_RescaleWindow > fit game on browser window (scaling it)

SCRIPTS INCLUDED - eh5_scaling > rescale game canvas on browser window - gmcallback_fullscreen > (internal use only) change browser fullscreen mode

SPRITES INCLUDED - sprFullscreenButton > the toggle fullscreen button icon

End User Licence Agreement (EULA).

Version 1.0.0. Published April 13, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


Gravatar

Jeremie D 24 May 2017

When I use SaveImage () I have a black image, why?

When I use SaveImage () I have a black image, why?

Logo

RBF Studio (Publisher) 24 May 2017

Hi, Jeremie D!

You need to disable the "WebGL" option on GGS > HTML5 > Graphics tab to this function to work, because games based on webgl-canvas don't give us permissions to "print" them.

So, just go to GGS > HTML5 > Graphics and set "WebGL" to "Disabled" ;)

Thanks!

What is the issue?

Back to Top