html 5

  1. Kaliam

    HTML5 Mouse is offset whenever the screen is scrolled.

    Hello, I'm working on a HTML5 game which is contained in a webpage but lower down on the page, when you scroll down to the game, the mouse gets offset by the scrolling which is very annoying. Is there a way to fix this or is it a bug? The scrolling isn't 1:1 so it's doesn't seem possible to...
  2. FoxyOfJungle

    HTML5 Is it worth buying the HTML 5 module for web export? 🤔

    I am looking to buy the web export module in order to export a specific game that would be for Android, is it worth it? I know that there are some incompatibility issues on this platform, I would like you who have used it to give me feedback on what problems you had, if was needed to disabled...
  3. Forestherd

    GMS 2.3+ surface_set_target() not working in HTML5

    Hello! I am currently trying to apply a water shader over the entirety of my game view. Here's what its supposed to look like (Windows). Water is rendered on the bottom half of the screen with a slight distortion effect: However, this effect does not render on the HTML5 export. Here's what it...
  4. E

    HTML5 Facebook Playable Ads, problem with textures

    Hello readers, I hope you are having a fine day. I am trying to upload my HTML5 game to create a Facebook Playable Ad and its not working for no reason, so I decided to create a new empty game in an attempt to pin point the problem. The new game which only contains a room and an object that...
  5. A

    HTML5 Possible to save file to computer in HTML5 game?

    Hello, In GM2, is it possible to save a screenshot of a game, such as using function screen_save(), to the user's computer when they are playing the game on a web browser? Specifically looking to do this on the platform or on a website hosted by Weebly. Thanks -Ai
  6. P

    HTML5 Text input not working at all in HTML5 project - SOLVED

    Hello - this is driving me crazy so any advice would be hugely appreciated. I'm a teacher and wanted to make a form that students could enter answers in and have them checked, and if they get all answers right it gives them a link to the next task (like a sort of online escape room). I've made...
  7. Megamini009

    SOLVED HTML5 (camera_get_view_x) returns 0.

    Hey, I was just trying out a parralax background using lerp, which worked pretty well in the regular desktop test mode. So i tried it in HTML5 and it didnt move at all.. after checking the variables, I found that camera_get_view_x was returning "0" at all times in HTML5... strange. I used a...
  8. K

    HTML5 Uncaught TypeError: Cannot read property '_YU1' (CHROME)

    BUILD: v2.3.1.536 After playing through the game for 30 seconds to a minute I get these errors. Firefox: "Unhanded Exception - TypeError: this._av is null in file undefined at line undefined" Chrome: "Unhanded Exception - TypeError: Cannot read property '_YU1' of null in file undefined at...
  9. B

    GMS 2.3+ ds_grid_set_region not working properly on web export

    So in my code I have a few calls to ds_grid_set_region, when ran on windows these work exactly as expected, however running on html 5 they will only set a region up to the smaller of the width and the height. The only way I can get my code to work properly is If the ds_grid I'm working with is a...
  10. E

    HTML5 legacy sound, or no?

    Trying to play BG music, with a volume slider. I can get the audio to start playing, but everything breaks when I try using the audio_sound_gain function. I noticed the manual says that you're supposed to use legacy stuff for HTML sound specifically, but those functions don't show up when I try...
  11. Hayden FW Bennett

    Cant Export Game to HTML 5

    Error : Unable to save HTML5 output: "Access to the path 'Y:\Project_Arcadia_525A9631_Javascript\Project Arcadia' is denied." this is my first project to be perfectly honest, I don't even know where to start with this problem though, this form is my last hope. unfortunately, this is the only...
  12. Skull_k

    HTML5 Spine bounding box with HTLM5 : Bug ?

    Hi, I did some tests and i think there is a bug on bounding box from spine in html5. So, I imported in GMS2 a skeleton from spine without a bounding box. I used draw_rectangle (bbox_left, bbox_top, bbox_right, bbox_bottom, true) for the red rectangle. Compiling for windows : OK Compiling for...
  13. Mookal

    HTML5 Fixture Incorrectly Bound in HTML5 Export

    I'm making a game where walls can be drawn by the player. To cut down on the amount of instances, some walls are made longer when the player moves the mouse across the screen quickly. Because of this, I need to create a properly scaled fixture for each wall object. The issue is that, while the...
  14. Andrew R. C. Beck

    HTML5 Eggs Factor! = Egg Farming Clicker. [ This was a very quick personal 'JAM' of sorts that is the product of a day and a bit of work - ENJOY! :)] ------------------- Hey hey hey! Have you ever wanted to be a chicken farmer and earn that coin? Well now you can with this fun little clicker...
  15. FrancisClase

    HTML5 javascript native drawing functions on a GML surface

    Is there a way to use the native javascript drawing functions in a GML surface? I am creating an on-screen drawing game and I would like to be able to use the native javascript functions to draw, since the stroke and performance are perfect ... if I had to implement a drawing algorithm with...
  16. Gunnar the Clovis

    GMS 2 [SOLVED] camera_set_view_pos Silently Freezes on HTML5 Target

    Hello, Whenever I run the function camera_set_view_pos on the HTML5 target, the game image silently freezes (meaning no errors are given). The game is still running as inputs are read and sounds can be played when inputs are made, the game can be restarted, but the image is completely frozen...
  17. KONGEN

    HTML5 Posting my games on my own website

    Hi, i bought the WEB edition of GMM2. i would like to buy a domain and hopfully be able to post my games to friends etc, im not trying to become big, just an easy way for my friends to acces my games. i have basicly 0 skils in web development, but is there an easy way to post the games as HTML5...
  18. inertias

    HTML5 Loot Sweeper - a mix of Dig Dug & Minesweeper

    Hey everyone! Loot Sweeper is a free game I made in a few weeks. I think there are sound issues with certain browsers that I haven't been able to completely fix, but oh well. Your goal is to collect treasure while avoiding enemies and bombs. The red numbers correspond to how many bombs are...
  19. M

    HTML5 Ini file require server to get loaded [SOLVED]

    Hi, I'm making a html5 game and I have a problem with my included files. When I use the function ini_open, the game asks the file to the game server but I want the game load or store the included files at the splash screen and then it don't need to make these requests to the game server.
  20. C

    Problems with html5

    Good day, can you find out how you can place 2 applications html5 on one page? Only 1 application works, when placing the second image on the same page, it does not work here's the code for one <html> <canvas id="canvas" width="999" height="499"> </canvas> <script id='edit_src'...