html5

  1. jaber

    Asset - Objects Grenade Top Down

    Good day Gamemakers! : ) Since I did not find lots of materials explaining how to design/programm a nice Grenade concept and solving the issues comming along with grenades for Top Down Shooter games; I decided to make it myself and use it in my HTML5 Game. here is a link how it looks sofar...
  2. Vlad_

    SOLVED Is it possible to disable notifications about the sound being played in the browser?

    Hi, everybody. Is it possible to disable this notification on mobile devices using GMS 2 or JavaScript? My game was rejected during moderation on a special resource. There should be no notifications during the game. P. S. I use a translator to communicate, sorry for the mistakes.
  3. N

    HTML5 build: Fragment shader compilation problem on Chrome

    Hello, I am currently trying to do some performance tests with HTML5, so I have made a very minimalist project that includes: - 0 sprite - 2 objects which draw text, one resizing the game window to somehow fit the browser size - 1 room with a black background and one instance of each objects...
  4. P

    Uploading an HTML5 game?

    Hello! I've been trying to upload an extremely simple HTML5 game (click a blue square, get a point, blue square moves to random position) to a Wordpress site as a test - I've not had much luck at all. I've exported the game as an HTML5 target ZIP file from GMS2, but whenever I would upload that...
  5. B

    HTML5 HTML5 no sprite when published

    Hello, I wanted to upload my last game on GameJolt and Itch.io, but all the sprites were replace by blue squares. I don't know how I can fix this, can someone help me ? I'm on the last version of GMS2 (2.2.5.481), under Mac OS. Thank you very much.
  6. Vlad_

    SOLVED How do I change the standard load screen in HTML5 game?

    Greetings to all. I'm developing a game in HTML5. How can I change this standard loading screen? I have already created a simple JS extension to update the page. And I noticed that the extension works from the very beginning of the game until it loads. I got an idea to make a JS extension that...
  7. Zuurix

    Legacy GM clipboard_set_text alternative for HMTL5?

    So I'm making a thing: I found out that clipboard functions don't work in HTML5 - surely there is some workaround?
  8. jaber

    HTML5 working with local storage from multiple HTML files (game maker studio 2)

    Hi all, its been few days and I am still finding no solution and thought to ask here. I am creating HTML5 game with game maker studio. my Idea is: I want to make my game to be divided into multiple HTML pages (multiple indexes); the player will be redirected between them using the url_open...
  9. F

    Legacy GM ds_grid/map functions not working for HTML5 version?

    Hi there. I am using a ds_map in order to store a number of ds_grids. The idea is that groups of objects fill out their own shared grid as you collect them, and when you have collected every object within a group, it uses the grid to create a number of jigsaw pieces, then destroys the ds_grid...
  10. M

    Help: Fitting Game to Canvas HTML5

    Hello :) I’m using GameMakerStudio2 and I've created my first game that I now exported to HTML5. I followed the https://www.yoyogames.com/blog/67/the-basics-of-scaling-html5, tutorial to fit the canvas to the browser window size and it works well. But unfortunally it doesn't scale the game...
  11. T

    HTML5 Particle Effects causing freeze in HTML5

    As it says in the title, I have some particle effects in my game. However, when I run the game in the browser, when the particle effects are supposed to appear, everything freezes. It doesn't crash, just freezes. In the console I get this error at the start of the game. Uncaught ReferenceError...
  12. Mookal

    Free Run, Doodleguy! (My 2020 Coolmath Game Jam Submission)

    Hey! I'm gonna get straight to the point. I'm one of the finalists in the 2020 Coolmath Game Jam! My game's called "Run, Doodleguy!" and it's about a stick figure and a pencil working together to run from the Big Eraser who's erasing the notebook world. You can watch the trailer here... ...
  13. MarkWolF

    Free 360° gravitational plaformer : Asteroid B612

    Asteroid B612 Hello everyone, I have just released my LD46 entry, Asteroid B612. And I would be grateful you try it. You are Explorer 101 and your are sent to the borders of the galaxy to watch over a mysterious creature. The goal is to go and find the necessary items for the creature's...
  14. Coded Games

    HTML5 Prevent browsers from caching texture pages in HTML5

    So I have been having a problem since the dawn of time that GMS games will get their texture pages cached. This seems fine until you release an update and when everyone tries to play it all the graphics are glitched like crazy. To get around this you tell everyone to clear their browser's cache...
  15. Mortalo

    HTML5 Bug with surface_reset_target in Draw GUI?

    So, I'm converting my game from windows to html5. I knew that there would be some changes needed, but I was not expecting that I will have to forget about any surface use in the GUI layer. TL;DR: In Draw GUI events, surface_reset_target makes drawing on the GUI layer to not work properly. Let...
  16. V

    HTML5 HTML5 scales beautifully on desktop browsers, but the resolution is completely wrong (3-4x too small) in iOS and Android browsers!

    Hi all, I've been following the tech blog article on HTML5 scaling, and to my delight, it has worked great for my HTML5 game. However, it only seems to work on desktop browsers. When I try to test the game on my iPhone 7 iOS (12?) Safari or my partner's Samsung S9 with Chrome, the game...
  17. jsterj

    http_get_file fails - OGG on HTML5

    I am unable to do a simple file download of an OGG file when running in HTML5. It works perfectly when testing locally (i.e. not HTML5) Below is the code. I moved it into an empty test project to rule out any other factors. I have a single object in a room. In the create event I have the...
  18. L

    "Inspect Elements" not working when running on HTML5 platform and other issues

    I cannot access the "Inspect Elements" window when running my game on the HTML5 platform. F12 doesn't do anything and right clicking anywhere on the browser screen does not bring up any option menu. I am running the game on Chrome (32-bit) and using Windows 10. I tried running the game on Edge...
  19. TRaFuGa

    Legacy GM Windows 10 ERROR: Don't Save and don't RUN!!!!

    No puedo guardar ni ejecutar el proyecto. Ejecuto GM con permisos de administrador pero al pulsar F5 (RUN) me muestra este error: ------------------------- I cannot save or run the project. I run GM with administrator permissions but pressing F5 (RUN) shows me this error: (Windows) Compile...
  20. D

    HTML5 image_index in HTML5

    Good day. I've got a problem with the variable "image_index" in HTML5 and I don't know if it's my or GMs fault. The problem is that in Windows VM and YYC, you can set image_index to decimal values like 1.5, 1.82, 2.3 etc. and in HTML5 you can't. If I do "image_index = 1.6" in HTML5, the...
Top