• 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. JasonTomLee

    HTML5 How do you prevent the page from scrolling when using the scroll-wheel ?

    Hello! I wanted to know if it was possible to prevent the page from scrolling when I use the scroll wheel inside the HTML5 game. Thanks!
  2. G

    Creepy Uncle Timmy & The Watery Ditch Of Lies

    What Is It? This game is what I am coining as a "micro" or "mini" RPG, with the goal of having a short story and overall length of 20-30 minutes. You can think of it as a bite size RPG, for just a quick run through and very simple mechanics. Any Story? The story is still in development, but...
  3. E

    GameMaker Resizing background with steady rest [HTML5]

    I want my game to look as if it's full screen on all major aspect ratios for mobile, so no black bars. I tried the fullscreen scaling tutorial here: https://www.yoyogames.com/blog/67/scaling-for-html5 But for some reason it isn't working at all? At least I'd like the background to be full...
  4. K

    HTML5: Drawing animated sprite in draw event

    Hi everyone, I am trying to use the draw event and the "draw_sprite_ext" command to draw an animated sprite. When running on windows, this works fine using this line: draw_sprite_ext(spritename, image_index, x, y, -1, 1, 0, c_white, 1); But when I switch to HTML5, the same code results in the...
  5. R

    Question - Code Mobile Browser Shaders & WebGL

    Hi forum! I'm developing an HTML5 game, that is supposed to run on both Desktop and Mobile browsers. Within this project, various shaders are used and I've been having some troubles, specifically on mobile browsers. Shaders on mobile browsers end up drawing black images or not event drawing at...
  6. Doughnut115

    HTML5 Authoritative Server

    First off, if I am posting in the wrong spot sorry about that. I have finally taught myself how to connect a gamemaker html5 games and send data back and forth with socket.io. I am now wondering how to process the data that is received within the game world. My idea is to designate one browser...
  7. E

    HTML5 [SOLVED] Mouse offset ignoring centering of the canvas

    Hi all, I'm resizing and centering my game in order to keep the correct aspect ratio, which works great. Except for the mouse coordinates. It reacts correctly on the resizing part, but when I center the canvas, it suddenly starts using the whole browser window, so I have to move my mouse...
  8. Waldemar Lima

    HTML5 How can i send parameters to GML Script using JS ?

    hello everyone ! i am trying send simple parameters to GML Script using GoogleChrome Console or JavaScript Extension ... I tested all these ways, but none worked ... : GM 2 SCRIPT - /// @function gmcallback_hello(id); /// @description Output "Hello World" to the debug console /// @param...
  9. M

    HTML5 Error building the HTML5 output in runtime 2.2.1.291

    Hello, My game exports fine to HTML5 in runtime 2.2.0.261, however, the export crashes in runtime 2.2.1.291 with the following (window) error: In the IDE's output console, the compilation-message feed stops at "Obfuscating..." and shows the error: Any thoughts? Thanks.
  10. M

    HTML5 audio_play_sound failed. WebAudio Context suspended

    When I run my game on HTML5 and try to play my "Menu background music" I get this error: "audio_play_sound failed. WebAudio Context suspended - user must interact with the page before audio can be played." How am I supposed to play any menu sound, or my game menu music after the user has...
  11. matharoo

    HTML5 The Arena

    The Arena (WIP) An HTML5 arena fighting game >> Play Here << Controls: Movement: [WASD/Arrow keys] Melee Attack: [Left Click] Ranged Attack: [Right Click] (Requires adrenaline) To be added: Abilities (mega attacks) that use up adrenaline Procedurally generated arena environment: spikes...
  12. S

    HTML5 No sounds at all when exporting to HTML5

    So I just bought the HTML5 license.. ...and OMG my game is so bad. So many bugs ahhhhhhh. First item on the list - no sound, at all. What is going on?
  13. M

    HTML5 The routine "audio_is_playing" has a different behaviour in HTML5 export

    Hello, In my application, I need to do some processing after some sound (of duration 5 seconds) has finished playing. For example: // snd_my_sound created if(!audio_is_playing(snd_my_sound)) { // do some processing } However, the above code won't work because while the sound is playing...
  14. F

    HTML5 Game does not run smoothly in HTML5, any ideas?

    Hey everyone, I've been testing builds for my game to see if I can export it in the Web format and so far I have not encountered any major bugs, I do however notice some sort of a stutter or lag when my objects move across the screen. About 9/10 times when testing it on GameJolt I get this...
  15. S

    HTML5 SOLVED - HTML5 Custom Font display issues

    HTML5 seems to have a bug with custom font even after testing. Here you go: global.font = font_add_sprite_ext(spr_font, "my letters", true, 0); HTML5 Export messes up pixels and does some funky things on a lot of my custom letters WIN Export however works out just fine. The problem seems to...
  16. K12gamer

    HTML5 A collection of EDUCATIONAL games I made...

    I've been teaching 1st grade for 20 years. I mainly make educational games. There are several samples below (Just click on the images to play) Note: I have a paid host but have been switching all my HTML 5 games over to the FREE service offered at itch.io. It's really easy to set up HTML 5...
  17. R

    HTML5 Can Multiplayer be done with the HTML5 Version of GMS 2

    YOYO Customer Service said Yes but upon going to the manual, it appears to say that networking is not supported yet. The networking page for GMS2 says something like "these functions not supported for the HTML5 Target Module" about 2/3 down the page. I was going to buy the HMTL5 (WEB) version of...
  18. S

    HTML5 Help with HTML5

    Hi, I'm very new to Game Maker Studio and have been following the beginner tutorials like Space Rocks by Friendly Cosmonaut. When testing in HTML5 a lot of the game elements are missing (asteroids and bullets). Is there something I am missing? Any help or advice would be very much appreciated.
  19. A

    html5 game local storage

    Hi, so I have a html5 based game and I need to save information in local storage when someone win the game. The thing is that I have no idea how to do this. I'm using game maker 1.4, please help. Thanks in advance
  20. R

    HTML5 Laggy in HTML5

    The game runs perfect until I test it in the html5 platform instead of the "test" platform. In the html5 platform it seems like the fps is much lower, making it laggy. Does anybody know why this is?
Top