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

    keyboard_lastkey problem in HTML5

    keyboard_lastkey in HTML5 is not working properly in v1.4.9999, It does not record single key presses, you need to press and hold for a couple of seconds to respond. It works fine in native WIndows. To see the problem, insert the following in a simple object's step event (and compile under...
  2. M

    HTML5 Problem with first click in HTML5 games

    Hello friends, when I convert my games made for Android to HTML5 almost everything works fine, you always have to make some adjustments but there is something I do not know how to solve and it is driving me crazy, the first click of the mouse does not work or the first released, it throws a...
  3. O

    HTML5 Difficulty uploading to itch.io with included HTML5 file

    Hi! Thanks for reading. I'm trying to upload a zip file of my game to itch.io but keep getting this message: There was a problem loading your project: Failed to find index.html Please try deleting the ZIP file and uploading another one. I'm a complete newbie to coding. Do I have to make my own...
  4. F

    Legacy GM Shader issues with HTML5 in Safari/Silk

    Apologies - I posted a variation on this problem before, but having spent a couple more days working on it, I wanted to raise it again in a more coherent manner. I've been testing my game on various browsers, and found that the shader I'm using doesn't work on iOS Safari or Amazon Silk. It...
  5. F

    Legacy GM How to turn off shader for specific browsers in HTML5

    My whole-surface shader doesn't display correctly (in fact, it doesn't display anything) in Safari or Amazon's Silk browser, but I can't seem to get it to switch off just for these browsers. I've tried the following: if (shader_is_compiled(shader)) { shader_set(shader)...
  6. S

    HTML5 In-game "copy" text to paste in another program?

    Pretty easy to understand question, but not sure if it's possible. I basically want to do the same thing as the clipboard_set_text function. Currently those clipboard functions are only good for Windows target only. Is it possible to do something similar for HTML5 target? Note: This game will...
  7. T

    HTML5 Background speed layer_hspeed("Background", x) won't work in HTML5

    Hi all, Run in into a frustrating issue near the end of game development. I've made one 'infinite runner' type game, so the background scrolling speed needs to keep in sync with obstacles and game objects. This works fine, controlling the obstacle speeds and background speed with a variable...
  8. civic71

    HTML5 Project html5 , yoyogame and privacy cookie

    Hi i created a program with Gamemakerstudio 1.4 + HTML5 module, then inserted into my site. I noticed that within the JavaScript file generated by GMS 1.4 You are present these links : https://ping.yoyogames.com/pingback?data=... http://jsd.supersonicads.com...
  9. C

    HTML5 Trouble with creating instances in HTML5

    For some reason the instance_create_layer() and instance_create_depth() functions do not seem to work at all for me on HTML5. They work fine when testing on OS. It does not seem to matter whether I call the layer by name like this: instance_create_layer(x,y,"Player",Object); or with built in...
  10. J

    HTML5 instance_create_layer : Problem with HTML5

    Hi, we are currently designing a small browser game for our company. For this we use GameMaker Studio. We have created a login script so far. After verifying that password and username are correct, the script should create a player object in a predefined space. That´s the Code for that...
  11. T

    HTML5 Get That Gold! - WGJ 65

    Hello Folks! I took some time off the tutorial making this week in order to participate in the 65th WeeklyGameJam. The theme was Watch Your Step Play Get The Gold! Game Overview You have to get to the "X" spot without falling into the water. To move you have to pick 3 steps, no less and no...
  12. A

    HTML5 Scaling mouse coords when scaling HTML5 canvas

    Hi All, I have a little problem I'm trying to solve with HTML5. I have a prototype game where the player's x axis is simply set to the location of the x axis of the mouse as follows in a step event: x = mouse_x; That all works fine on both desktop and HTML5 until I scale my game. I'm using...
  13. H

    HTML5 instance_create_layer() not working at all

    Hey guys, I just bought the license for html5 and I thought of porting my game in it. The game works fine on windows but I found that on html5 the instance_create_layer() is not working at all. So I made a new project to test it again and sure enough, it was woking on windows build but not on...
  14. Shadow64

    HTML5 HTML5 Export Issues (Slowdown)

    For some reason I've hit this issue where when I export to HTML5, my game runs really slow. The thing is that it only runs slow if my room/window size is large. If my room/window size is say 1024 x 576, there's no problem. 1280 x 720? Instantly my frame rate is cut in half. I'm not using a ton...
  15. N

    Legacy GM [SOLVED]Create a script that interacts with an external html5 game.

    Hey guys! I need help understanding how to go about writing the gm_callback script. I'm already done with my game and I want to connect it to another HTML5 game(not done in Gamemaker studio) such that if a player wins some money in my game, the other game will get that information and add the...
  16. L

    http_get on HTML5 export

    Hello, I'm experiencing an issue trying to get http_get to work on HTML5 platform. When I export my project to desktop (Windows), everything works fine. Once the game is executed in html5 mode, no http_ requests are working. I've tried both running html5 version on a local webserver and...
  17. D

    Windows Instance_create does not work in the windows test game, but works perfectly in the HTML5 version

    I made a game with a quick intro, the end of the intro is supposed to create an object I tested this a couple days ago, worked perfectly, no problems in windows or HTML5 Today I made a second room to do some testing, after I finished testing, I deleted that room Now HTML5 spawns objects, but...
  18. zbox

    Asset - Extension Facebook IAP's (HTML5)

    Marketplace: http://bit.ly/2LPFFJE Category: [/B]Extensions Price: $29.99 Modules: HTML5 Description: Use Facebook's Login and In-app purchase system to monetize your in-browser HTML5 game. View an online demo. View the documentation
  19. K12gamer

    Still can't find a good HOST for my HTML5 games...

    Been searching for several years now... Started with Drop Box...but that often loaded my games too slow (and now doesn't even allow HTML 5 hosting) Next...tried Free Web Hosting Area...A complicated mess to get your games online... You have to download filezilla...and jump through a whole lot...
  20. matharoo

    HTML5 [HTML5/JS] Loading image from a URL

    I want to load an image from the Discord CDN, like this one. Currently the only way I know is sprite_add(). If I use it, I get this error in the web console: So, is there any way to fix this, or another way to load the image? Maybe it could be done through JS and then passed to GM? I don't...
Top