GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#61 2011-09-27 23:42:57

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Work has begun on an extension to emulate 39DLL with Node.js and Socket.io. The idea is that it should drop into 39DLL games with little or no modification required for HTML5.

http://gmc.yoyogames.com/index.php?showtopic=520438

Seems that YoYo's bug wrangling has slowed considerably. 1.0.114 should be coming within the next 24 hours.

UPDATE:

Errr. Another 24 hours.

Last edited by xot (2011-09-28 18:20:02)


Abusing forum power since 1986.

Offline

#62 2011-09-28 00:44:26

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Ahhh, this may be a clue as to why things slowed down yesterday.

Mike Dailly wrote:

Looks like we'll be adding Box2D physics a lot sooner than planned! I'm really excited about that! It'll make a lot of game just "easy"!! :)

Last edited by xot (2011-09-28 01:46:13)


Abusing forum power since 1986.

Offline

#63 2011-09-28 01:04:50

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

Wow! That sounds really really interesting. Didnt see that one coming. This will be a nice feature to mess around with.


blax_sig.png

Offline

#64 2011-09-28 01:53:03

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Indeed. Apparently Uriel Griffin has already made an Box2D extension, so physics would appear to be coming one way or another.

Uriel Griffin wrote:

@mdf200 Just when we had finished our Box2D extension. :/

It's unclear if Uriel plans (or planned) on releasing it publicly but I suspect he would.

In response, Mike hinted at some interesting possible functionality:

Mike Dailly wrote:

@ugriffin We did tell you we were gonna be doing it!! It should be better built in as we can do proper events if we need to though..


Abusing forum power since 1986.

Offline

#65 2011-09-28 04:26:07

paul23
Member
Registered: 2007-10-17
Posts: 110

Re: GameMaker:HTML5 - Things that work differently

My bug is still unattended. This is quite a bit of a problem, as the bug is not visible and might hit someone without expecting it.

Offline

#66 2011-09-28 04:38:47

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

It is visible but it has fallen to the fourth page with ten other unassigned bugs. I count 89 unassigned bugs in total. sad


Abusing forum power since 1986.

Offline

#67 2011-09-28 05:00:14

paul23
Member
Registered: 2007-10-17
Posts: 110

Re: GameMaker:HTML5 - Things that work differently

xot wrote:

It is visible but it has fallen to the fourth page with ten other unassigned bugs. I count 89 unassigned bugs in total. sad

With "visible" I meant the bug in gamemaker, not the bug report lol tongue..


The bug gives no error, or other failure.. It fails silently, and in some cases user might think it is their fault ("did I accidentally type double {\\\} somewhere?").

edit:*great* forum software doesn't allow backslashes between spaces tongue

Last edited by paul23 (2011-09-28 07:34:38)

Offline

#68 2011-09-28 06:54:22

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

That is a really strange forum bug. It only seems to happen when a post contains both a left and a right square bracket somewhere within it. Position and order doesn't seem to matter but both must be present somewhere. Surely related to BBCode handling. It took me ten minutes of successfully posting slashes to figure that out.

These slashes / // \ \\ are fine.


Abusing forum power since 1986.

Offline

#69 2011-09-28 06:59:05

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

These slashes / // \ \\ are not fine.

This bracket ] is nothing special and neither is this one [ ... but together they create chaos!


Abusing forum power since 1986.

Offline

#70 2011-09-28 11:24:06

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

Since GM:HTML5 is billed as a program accessible to people that don't know code, it seems odd having no in-built way of changing the HTML page exported when you export your game to HTML5 - bar a few very limited GML options you're stuck with the game at the top left of a plain grey background.

My suggestion would be to use the basis of Game Information (since removed) as an editor of that Index page. A lot of the stuff is already there - background colour changing, font size/typeface/colour changing and text inputting, and horizontal alignment.

Vertical alignment, images (taken from Sprites), textured backgrounds (taken from Backgrounds), and hyperlinks could be added, along with of course a little element that basically means "plonk game here".

Failing that, have an external editor that does this stuff with an already-exported index.html.

Fixed in v1.0.114 - on Game Information I have added an HTML5 tab this allows you to select one of the included files as the index file to use when Running or Debugging.


blax_sig.png

Offline

#71 2011-09-28 11:54:17

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

I'll dump some more of today's revelations here. I'm being recklessly optimistic that there will be more than one so I'm making a bullet list. Living on the edge!

  • [GM:HTML5 does not support splash videos and that will probably remain the case. It should be possible to make a JS extension to play HTML5 videos provided by the user. I wonder if it would be possible to make horrible FMV-style games?

  • Games must be run from a web browser. It would appear this is because of image caching operations that must be performed to support limited color blending (image_blend, text color, etc). Browsers only support web storage for domains, not for pages served from the local file system.

It seems some cross-browser hiccups have slowed things down today. No update until tomorrow.

Last edited by xot (2011-09-29 11:57:35)


Abusing forum power since 1986.

Offline

#72 2011-09-29 11:40:13

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Mike wrote something encouraging in a bug report and again in a  tweet a bit later.

Mike Dailly wrote:

Javascript debugging inside the browser is coming soon...

Mike Dailly wrote:

Currently adding proper JavaScript debugging. You should be able to debug your script code in the browser next update! #gamemaker #html5

Last edited by xot (2011-09-29 12:19:38)


Abusing forum power since 1986.

Offline

#73 2011-09-29 11:58:28

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

Yeah, very nice...

Did anybody else notice that movement by pixel got sloppy with the latest version?
I had a project in 1.0113 which ran just fine...now in 1.0.118 the movment on some coordinates in the room is sloppy.... I#ve seen other reports on this too.
Maybe even the round() function is buggy.... very saddening sad


blax_sig.png

Offline

#74 2011-09-29 12:03:16

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

If GM:HTML5 uses web storage for its persistent file operations (INI files for instance), and storage is allocated based on the domain or subdomain of the page being viewed, and storage is limited to 5MB for each allocation, it seems like a portal site serving up multiple games could cause the user to quickly expend the available storage unless each game existed within its own subdomain. Do browsers even supply a user interface for managing web storage?


Abusing forum power since 1986.

Offline

#75 2011-09-29 12:08:06

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

BlaXun wrote:

Maybe even the round() function is buggy.... very saddening

I don't know if it is related, but I do know there has been some difficulty implementing round() within the HTML5 runner. I wrote a bit about that here.


Abusing forum power since 1986.

Offline

#76 2011-09-29 12:11:10

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

I cant even test in HTML5 cause I am using bbox_ variables which dont work in HTML5 yet. So, I get this problem in the windows version.


blax_sig.png

Offline

#77 2011-09-29 12:13:34

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Are you're saying the behavior of Windows games has changed? That seems very odd.


Abusing forum power since 1986.

Offline

#78 2011-09-29 12:36:52

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

Well, I can only tell you what I experienced.

I posted the engine on the bug tracker.

I definetly experienced this in 1.0.118 but NOT in 1.0.113 sad


blax_sig.png

Offline

#79 2011-09-29 13:30:00

xot
Administrator
Registered: 2007-08-18
Posts: 1,239

Re: GameMaker:HTML5 - Things that work differently

Russell just told me that Box2D physics will be available to HTML5 and Windows executables! I had initial expected this to be an HTML5-only feature. It will be a standard feature for this and future versions of GameMaker. It will not be coming to GM8 Lite and Standard.

Last edited by xot (2011-09-29 13:36:48)


Abusing forum power since 1986.

Offline

#80 2011-09-29 13:34:52

BlaXun
Member
Registered: 2011-09-26
Posts: 18

Re: GameMaker:HTML5 - Things that work differently

Okay, so, 2DBox for HTML5 AND Win, correct?


blax_sig.png

Offline

Board footer

Powered by FluxBB