Jump to content


Photo

Game not loading in browser


  • Please log in to reply
5 replies to this topic

#1 Jo-Remi

Jo-Remi

    GMC Member

  • New Member
  • 48 posts

Posted 24 September 2011 - 09:01 AM

I've compiled the game as HTML5, on finish, it opens Firefox. It says "Loading" with a gray bar underneath, but stops there, bar staying gray.

Tried to run in Google Chrome browser aswell, but same result. Works fine as a Windows application.

I've added a couple of DLL's to the project, does it have problem loading those perhaps? Anyone else getting this problem?
  • 0

#2 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 16839 posts
  • Version:GM:Studio

Posted 24 September 2011 - 09:03 AM

Have you pressed F9 to see if that shows the problem? Run the game, press f9 in the browser, and scroll down to the bottom and you should see there what the problem is.

PS: Dll can't be used with HTML5, only windows!
  • 0

#3 9_6

9_6

    Guest

  • GMC Member
  • 3627 posts

Posted 24 September 2011 - 09:04 AM

HTML5 doesn't support DLLs.
  • 0

#4 Psalms23

Psalms23

    GMC Member

  • New Member
  • 163 posts

Posted 24 September 2011 - 11:32 AM

Same thing happening to me but I'm not using an dlls
  • 0

#5 paul23

paul23

    GMC Member

  • Global Moderators
  • 3367 posts
  • Version:GM8

Posted 24 September 2011 - 11:37 AM

Same thing happening to me but I'm not using an dlls

Are you using surfaces? External resources? blend modes? d3d effects? etc etc.. Many many functions of standard gamemaker are not implemented in gm:html, and can crash your game.
  • 0

#6 Psalms23

Psalms23

    GMC Member

  • New Member
  • 163 posts

Posted 24 September 2011 - 11:51 AM

Nope, it's a very simple menu with simply click-able objects.
I just got it to work successfully on another site, where I just put it in a index.html file

When I paste the code into a wordpress widget, however, it doesn't work... Hrm.. Perhaps I need direct links in the code instead of relative

**Also to the OP, check to make sure you uploaded the "Scripts" folder, even if it's empty

Edit: Ahh I don't think wordpress widgets allow javascript

Edited by Psalms23, 24 September 2011 - 11:57 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users