GMLscripts.com

Discuss and collaborate on GML scripts
Invert

You are not logged in.

#1 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-07 04:02:36

I am currently a bit confused by several things:

Will the new GM9 be limited by the LIMITATIONS of all GM Versions.

For example... the HTML5 version doesnt support dlls, doesnt support screen_redraw, ....

...will these Limitations also appear in the GM 9 for Windows edition?

Basicly the Studio Version will only work if you can really export to all systems (Win, iOs, HTML5, ...) ...but for this to work you must consider all functions that ONE of those platforms doesnt support and
then strip these functions from GM.

So, will the Windows Version of GM be influenced by the Limits of the Studio or HTML5 version? Is there anybody who knows bout this?

#2 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-04 10:32:31

Yeah, thats it. 1:1 seems just fine...but whenever it is not 1:1 (zoom, view, ...) it displays lines between tiles.

#3 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-04 08:52:47

Thx a lot. You guys are doing a great job and got my respect. I musn't have thought it through when I wrote that stupid post of mine.... seems that the new GM4HTML5 triggerd my imamture impatient side ^^, sry

Oh, and please fix tilesets / tiles...they are shown with messed up lines between tiles in rooms... wink

#4 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-04 07:41:39

Sry for that, post edited. Is there any better way to let you know? Or simply trust in you and your team? Sry mike, seriously.

#6 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-03 12:39:11

An a new version is out:

Version 1.0.127
Changes
We have added unobfuscated code output when run in debug mode.This will allow you to debug your code inside the browser.
While we fixed a bug to do with sprite indices not being imported correctly rom a GM81/GMK, you will have to reimport them for the fix to work - sorry.
There is a new command, surface_create_ext() command, which allows you to bind to another canvas on the main webpage. You can then draw to this directly in your game. (HTML5 only)
You can also now bind a view directly to a surface using the new view_surface_id[0..7] variable. This is -1 by default to indicate the primary canvas. (HTML5 only for now)
Fixed bugs
0002593 Freaks out if project files scanned
0002550 When clicking "Import GM81", the open file dialog defaults to .GMZ files
0001836 "Maintain origin" for sprite resizing can sometimes be a pixel off
0002571 Pressing 'c' to highlight object instances while on 'settings' tab causes caption overwrite
0002569 Empty group/folder becomes first item in resource tree on project load
0002477 point_direction() using "other" inside of nested "with" statements crashes the game
0002340 a = 0.00001 freeze the game
0002557 Add an option that forces the "Player" to load the game data again.
0002578 tile_set_region freezes game loading in HTML5
0002572 Comment before DTD declaration will cause IE to render in quirks mode (index.htm
0002321 When compiling a converted GM8.1 file to HTML5 game,asset compiler crashes and gives no warnings or errors
0002331 Importing games and getting "failed to run the game"
0002425 Importing GM 8.1 games messes up script Ids
0002531 mouse_button doesn't work
0002490 Deactivated instances still perform collisions
0002320 script_execute does not function, or on stops loading from completing
0002224 Run normally or Run in Debug Mode
0002529 Loading this project causes a stack overflow crash
0002514 Room Properties - form inputs do not lose focus when switching tabs
0002526 patible header in generated HTML
0002528 Sprites larger than 1024x1024 are blurred
0002516 Problem Importing Fonts
0002495 When renaming a ressource (sprite, object ,...) cycle through all scrupts to rename the ressource there too (if found)
0002504 F5 run cached in browser.
0002515 Game Identification number does not save when exiting project and reloading.
0002519 <resource>_get_*() functions cause the game to freeze
0002524 Check the "center in the browser" option has no effect in the final HTML 5 compiled game
0002521 default index.html file causes IE 9 to not run game
0002498 Trying to fullscreen the game in HTML5 will result in CRASH *file inside*
0002402 Referencing BBOX variables causes crash in HTML5
0002262 bbox variables are underfined in HTML5 output
0002280 instance_count is always 0
0002448 cannot use keyboard_check(vk_nokey) or vk_anykey
0002435 when I add a large Background (500x1200) the screen shows blank
0002375 Display Cursor
0002486 Reversing an animation in the sprite editor sets its origin to (0,0)
0002469 Debug Mode is always active for HTML5 projects
0002484 Breakpoints / Line by Line Debugging
0002338 Compile errors are hard to read when "Use skin" is off
0002345 In the path editor the precision setting does not work.
0002311 IDE errors after opening script
0002299 Missing letter on Change Instance option
0002378 Conpiles but does not run
0002291 A wish and a bug report!
0001803 Project directory selection: new directory or cancel have issues
0002149 The "CompileForm" close-button is cut-off and the "CompileForm" is an overlay and doesn't resize the active window
0002353 Naming a room with spaces is not accepted in gmhtml5 eg: level 01. Windows mode accepts it
0002383 Saving does not remove the asterisk
Addressed issues
0002447 The "X" to close GM:HTML5 flashes and doesn't always get pressed
0002551 Principal Form does not maximize
0002468 Import files-of-type box changes
0002209 First room affects canvas size for entire game
0002552 Functions not allowed still in HTML5
0002574 When running game on iPad2 fps are extremely slow!
0002583 No sound_pan() ?
0002570 make_color_hsv() returns dull colors
0002562 Obfuscate Javascript Extensions
0002545 gravity_direction and image_angle not capped like direction is
0002540 Mono sounds are played unreasonably loud
0002501 Only load particles if needed.
0002479 screen_redraw() seems to crash the game
0002389 Objects with same depth are drawn in wrong order
0002533 GM editing window flashes up when closing welcome screen with the X
0002285 Arguments passed to extensions are escaped
0002364 Mouse movement increases performance?
0002532 This game crashes a Chrome tab for some reason
0002489 Version 1.0.118 seems to have destroied something about movement, propably even the round() function
0002518 completed help file...
0002506 Draw_sprite_part not working
0002454 "draw_rectangle_color" dont werck
0002427 Background not appearing in HTML5
0002354 Allow to remove a entry from the "Recent Files" list
0002474 Resource names not quite right
0002163 GameMaker-HTML5 1.0 Help didn't open
0002046 Opening sub windows from within property windows may cause thick white border to appear
0001936 Problem with maximizing window
0002227 No importing of gmz files possible (IDE feature).
0002233 UI: Some dialog box elements are not skinned when skin is used
0002185 YoYo Games logo on the bottom left has black background when skinless
0002324 Action tabs are unlabeled when "Use skin" is off
0002128 Show information on timeline
0002092 Empty tabs
0002353 Naming a room with spaces is not accepted in gmhtml5 eg: level 01. Windows mode accepts it
0002466 Select browser to run game in from available browsers
0002414 Background scrolling seems "jumpy" since last GM update
0002322 Text is always white in Google Chrome
0002480 Boolean expressions are not read in the correct order?

#7 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-03 04:49:04

When asked bout the next release

Sorry, we tried to get one out on Friday, but hit a showstopper. I've been working through the weekend to try and fix it. We hope to get it out today as long as we can fix one final issue.....

On the plus side...I've managed to sneak in a cool new feature while waiting working on it  :biggrin:

'Mike.Dailly' date='03 October 2011 - 09:32 AM' timestamp='1317630731' post='3840888'

#8 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-10-01 04:37:05

Btw, bbox_ variables are fixed with the next update (which will be released on monday)

#10 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-29 12:36:52

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

#11 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-29 12:11:10

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.

#12 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-29 11:58:28

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

#13 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-28 11:24:06

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.

#14 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-28 01:04:50

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

#15 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-26 16:03:17

rwkay
OK for the sake of completeness can I just say that most of these issues are fixed in the most recent versions of GM:HTML5 this topic looks very negative when read, it would be good if there could be follow ups when you confirm fixes... most of the functions above are fixed in v1.0.112 (which as I write Mike is preparing for publication, should go out in half an hour or so).

http://gmc.yoyogames.com/index.php?show … &p=3837299

However, that was a few hours ago wink

#16 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-26 14:56:57

Yikes....a random person... nobody special tongue
Very nice. Regex will sure make some things easier...thank you random person.

I am starting to love the Java Combinations <3

Now we need somebody to make a small Extension that connects to the HTML DOM to set the background image on-the-fly :3

I placed a instance in the room editor and it appears infront of another instance.
Once i run the game the instance is placed behind the other instance.


Its the lil bunny thats normally infront of the tree, but as HTML5 he appears behind the tree.

Instances at the SAME depth will not have a guaranteed sort order. If you require a specific order, set the depths specifically.

#17 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-26 14:38:00

GM 8.1 has a merge function as far as I know... I think they'll add this back...maybe add it to the bug tracker? smile yeah, sounds like a good plan smile

Edit: Well, you could at least import another games exported...stuff... so this was basicly like a merge.

#18 Re: GML Reference » GameMaker:HTML5 - Things that work differently » 2011-09-26 01:04:45

Thank you for the nice info-collection xot,

Didnt work with GM for a few years now... with GM4HTML5 I think we have some interesting months ahead.

Please continue with your info-collection. Very helpful to me and propably a lot of people out there.

Board footer

Powered by FluxBB