• 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!

html 5

  1. D

    GML Code not Working in HTML5

    I am making a game, and I tested it in windows mode, but when I switched to html5, I ran into a bunch of problems. One is that the music only sometimes plays (the music comes from a persistent object in the initializing room with an audio_play_sound command), and the other problem I narrowed...
  2. AllenMLewis17

    SOLVED SOLVED - Project not Showing on Itch.io

    So, I finally got my game working in HTML5 and whenever I tested it, it worked perfectly. Then I uploaded it to itch.io and tried to play it in the browser on the game page, and nothing is shown on the screen. The music plays, and you can even navigate the menu and start the game, but no...
  3. R

    HTML5 Collisions not working in HTML5 build

    I compiled my build and... it didn't work? While that is expected it is still very upsetting. There are two instances of this. 1. My player object (oPlayer) is supposed to have a variable go down (global.currency) whenever it collides with one of two objects (oCar and oCurbs). While this is...
  4. Pfap

    Dedicated server deployment for web

    I have been working on getting GameMaker clients to connect to GameMaker server instances. The dedicated server way of the clients sending inputs to the server and then the server updating state and ticking it out to clients. This works well and is what is needed for a dedicated server, the game...
  5. kopoflakes

    HTML5 Can't export game on HTML (Urgent, for a game jam)

    Hello! I'm working on a game for a gamejam (due tomorrow) and I can't export the game in html. It works fine on other platforms but it is unable to run nor compile in html5. It says either FAILED: run program complete or FAILED: package program complete. I'm utterly lost, any help will be...
  6. Acrellux

    HTML5 Creating a website that fits every screen automatically?

    Hey, I'm currently trying out the HTML side of GMS2. Possibly because I want to make a custom website without learning HTML :') I'm stuck on making the window fit every screen. I tried the code below, but it detected my SCREEN'S window size, not the browser window's size...
  7. H

    GameMaker Uncaught ReferenceError: GameMaker_Init is not defined

    im trying to run my html5 game on flask in a webserver but the console keeps returning "Uncaught ReferenceError: GameMaker_Init is not defined" before it can even start up. The index.html file has remained untouched as the default. (Same error on firefox, opera gx, and chrome). Running...
  8. alexhinton

    HTML5 Trivial - One daily trivia question with stats

    A trivia question a day keeps the softening of the brain away! Trivial is simple trivia game that challenges the player with one question a day... Think of it as Wordle in trivia form. Compare your stats to the global stats of other players and see which of the 9 categories you have the most...
  9. O

    sound problem when changed to html5

    Hi I have little problem with sounds I created the game as windows game but I wanted so you can play it in browser for mobile players then the sound either play all together or they play really loud same as this https://da3bola.itch.io/run-bro-run
  10. O

    HTML5 GMS 2 html5 websocket client not connecting from external ip

    I’ve been attempting to make an html5 multiplayer game hosted on github pages. I’ve looked through every thread on websockets and html5 and have fixed every error under the sun on this project. I have finally hit a problem no one I could find has encountered. I’m hosting my game on a github...
  11. A

    HTML5 Problems with Scaling in HTML5

    I have problems with the scaling of my game. When I run my game in HTML5 format (for example itch.io) the screen make a zoom that makes impossible to see the whole game so it is impossible to play it right. I have tried using the Scaling options "Keep aspect ratio" and "Full scale" but it don't...
  12. FlatulenzaFiamm

    HTML5 Software crash ONLY on HTML5

    Hey comrades. Today I exported my little poop game in HTML5, and except the lack of prefetching and poor sprite quality if I lower the viewport's width and height, everything is fine in the game, except ONE thing. The game has a "secret boss" that everytime it appears in game crashes the entire...
  13. alexhinton

    HTML5 audio_sound_set_track_position issue specific to html5

    Hi all, I am looping a track over my game this way: //Create aloopplay = audio_play_sound(musLoop,10,0); looplength = audio_sound_length(aloopplay); //Step if audio_sound_get_track_position(aloopplay) >= looplength - 0.3 { audio_sound_set_track_position(aloopplay, 2.2); } Basically...
  14. S

    HTML run in background ?

    Hi, I made a game which i want to run also when the palyers sets the browser window in background or in on another tab. My problem is that theGame Maker code always only runs when the game is visible. How can i setup the game that i does not pause when changing the tab or setting it in background?
  15. Lostdog

    HTML5 Objects disappearing on running the code HTML5

    Hello, Recently i have been getting annoyed by this error i.e. "Unable to find any instance for object index '0' name 'Obj_bound_a' and my game doesn't even start. I am working on HTML5 platform and this error start showing when i removed the insatance from my room. The reason I had to remove...
  16. jucarave

    HTML5 HTML5 - options param in instance_create_layer fails

    Hey everyone. I've been working on a game for about a month now and I decided to try it on HTML5 but I get this error: Unhandled Exception - Uncaught { message : "Attempt to dispatch event on non-instance object", longMessage : "Attempt to dispatch event on non-instance object", stacktrace : [...
  17. L

    html5 build still not available [ SOLVED ]

    Recently activated the "Indie" license (previously GMS2 Desktop from 2018-ish), and the html5 export option is still not showing up in the target manager. I've re-installed, etc., but is this just something that takes some time to go into effect, or..? Any clarification would be nice, thanks!
  18. lyfe264_

    HTML5 FullScreen issue with aspect ratio

    Hello, I am having issue with setting fullscreen for my game on HTML5. The game is stretched when in fullscreen but works perfectly fine when not in fullscreen mode. I used this js script I found to get in fullscreen mode : function ToggleFullScreen() { if ((document.fullScreenElement &&...
  19. Y

    HTML5 Desktop to HTML5 is so different. Everything is corrupted. Please help :c

    I was following the tutorial and added a few things by myself in the desktop version and tried to finish the project as html5. So I bought the html5 version from steam today. And tried to export it. Everything was corrupted, blurry. And when I try to destroy Asteroid it goes blank? But not for...
Top