• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

html5

  1. B

    video_open fails on HTML5 target platform

    Hello! My goal is to play an mp4 video in an HTML5 game. I am using the beta IDE for Ubuntu. Versions: IDE v2022.3.0.625 Runtime v2022.3.0.497 These versions seem old but when I start my IDE it does seem to update occasionally and I otherwise seem to be on the latest version for the Ubuntu...
  2. If Programable_Matter

    HTML5 Program that retrieves JSON values from server

    I have been able to create a program that retrieves json values from an online server on a windows based game maker program. Is it possible to create an HTML5 game maker program that gets json key:values from server. If this is possible any coding suggestions would be greatly appreciated.
  3. Filipp_BSG

    HTML5 Games no longer work in older Safari versions

    The latest GameMaker runtimes use JS functionality which is not supported by mobile Safari versions older than 14.1 and causes games to crash on startup. This Safari version was introduced only in 2021 which cuts off a pretty decent amount of older Apple devices that are still in use nowadays...
  4. S

    HTML5 HTTP in HTML5 issues with latest release

    I am having issues with HTTP requests in the latest release. I have an app working fine making http_requests. But the latest version there is no response coming through from to the HTTP - Async. I even created a brand new project with a simple call to an API in http_request and the same issue...
  5. S

    HTML5 How to ignore async errors from HTML5 extension

    Hi. I'm trying to write an extension for the HTML5 build. I am connecting the SDK of a third-party platform and do not have access to the source code. I can call their functions. Some functions are executed async and may return an error during execution. throw new Error("error_text"); The game...
  6. G

    SOLVED Error only on HTML5 export - Unable to convert "X" to a number

    My game works fine on the windows text export, but the HTML5 export gives me a strange error Unhandled Exception - uncaught exception: { message : "unable to convert 3279 to a number", longMessage : "unable to convert 3279 to a number", stacktrace : [ "function _P4("unable to convert 3279 to a...
  7. N

    HTML5 Dynamic texture group will load in MacOS, but not HTML5

    Earlier today, I purchased an HTML5 monthly license for GameMaker to export my MacOS game to, just because I don't like all of the silly rules that Apple has for MacOS exports. I did run into some GML shenanigans, especially with shaders, but I was able to resolve most of them. However, one...
  8. DRC

    Guide/tutorial needed on how to download and use files

    hello everyone, is there any resource/tutorial on how to get files downloaded and used inside the game, possibly in html5 ? specifically, I would like my game during certain days to download additional images, an ini file containing additional text strings and music (Christmas mode etc. ), but...
  9. Davidpc123

    HTML5 HTML5 not loading!!!

    Hi! I have been working on a game for quite some time now. I have previously published the game perfectly fine in html5 but after a large update it is not loading when I run it, and sometimes the audio plays. It runs fine on windows and I have tried everything to try to fix it. It seems like it...
  10. alexhinton

    HTML5 Squirrel Skud!

    ---------------------------------------------------------------------------------------- Squirrel Skud is a 'Helicopter' clone (yes the old flash game) with some added elements. Take control of a flying squirrel navigating through an endless cave at 3 different speeds. Collect acorns while...
  11. J

    Do URL Parameters work in GXC?

    I'm not able to access my computer right now and am trying to come up with a solution for a future project with a friend, so I came to ask this to see if I could get a confirmation before I get home in a few days. Basically I want to know if parameters passed to a URL, which the HTML5 target...
  12. M

    HTML5 Autoscaling problems in browser window (HTML5)

    Hello, Guys! I want to create the app in GameMaker (not a game). With fixed windows size 900x790. I need it be autoscaled in browers (according to the current browers window size). I've tried to do the actions from this tutorial: https://gamemaker.io/en/tutorials/the-basics-of-scaling-html5...
  13. G

    HTML5 Call_Later on HTML5 freezes the game?

    I'm trying to run call_later on html5 and it's just a complete no go. I've simplified it to it's very basics, it's literally calling an empty function and still it just immediately freezes. all relevant code attached below function light_match(){ call_later(180, time_source_units_frames...
  14. Keys

    HTML5 Sequenced audio won't play in both ears (HTML5)

    So my audio clips in my sequences won't play in both ears. Interestingly it seems to be able to pick from one or the other but not both at the same time even if the listener is placed directly into the middle of the room and the audio file gets played in the center of the room. I found previous...
  15. Pfap

    HTML5 Mobile safari copy lookup translate disable.

    Is there a way to disable the copy, lookup, and translate bar that appears with tapping on mobile safari? I'm wondering if there's a solution that can be implemented from within GameMaker? It looks like there is this CSS that can be used: -webkit-user-select: none; So, I'll probably just put...
  16. Pfap

    HTML5 HTML5 crashes when tab loses focus.

    My game crashes if the browser loses focus. I've currently only tested on Edge and Chrome. This is the error that seems to be doing it... Uncaught TypeError: g_WebAudioContext._Q51 is not a function at HTMLDocument._S31 I'll probably update this thread when I can formulate a better...
  17. Keys

    HTML5 HTML5 build looks blurry on mobile, but fine when switched to Desktop mode

    Hi there, I've built my game for HTML5 and everything has worked absolutely fine while testing on PC, however when I launched the game on my mobile device everything looks blurry. The weird thing is if I switch on Desktop mode from my browser on my mobile device it fixes all the issues and makes...
  18. mcube-12139

    HTML5 Game crashes when switching windows

    IDE v2022.6.0.23 Runtime v2022.6.0.23 I create an empty project and run it on HTML5. When I switch the game window to another(or minimize it) and then return, the game stops running, and an error like this is displayed in console: Uncaught TypeError: g_WebAudioContext._6Y is not a function...
  19. mcube-12139

    SOLVED How can I get mouse position when it's outside of canvas on HTML5?

    mouse_*, window_mouse_get_*(), display_mouse_get_*() and device_mouse_*() are useless
  20. G

    HTML5 Application Surfaces in HTML5 can't be grabbed?

    I have this code which works to transfer the application surface to a shader, then draw a sprite with that shader. Works completely fine in windows but in HTML5 somehow it just, doesn't? It doesn't draw anything at all. If i swap surface_get_texture(application_surface); to...
Top