Well, to be honest, the fact that the HTML5 game starts doesn't mean the sounds are all fully loaded. I've noticed for some games that the sound effects are not there until some time in the game. Doubly so for music. Chronic wrote something about loading resources externally and how you can check whether a resource has finished loading, but it looks like GM4HTML5 doesn't wait for this by default - at least not for sound.I'm genuinely so impressed at how fast the games loaded, especially the sound loading -- which is annoyingly slow on GM8.1 (unless you load it all externally).
Experimental!
#21
Posted 27 August 2011 - 09:14 AM
#22
Posted 27 August 2011 - 09:30 AM
That said... if you code for mobile, it will also work quickly on desktops as well.
Over and above this, you should probably avoid things like "preciese" collision in GameMaker unless you really need it, as these are very slow. Games like Karoshi and TNTBF use preceise collision, and its the main reason they don't run well on iOS devices. Karoshi in particular could be quick on iOS if it was recoded a little.
I will be doing a series of articles on how to get better performance out of GameMaker, and these methods also work well on mobile... so stay tunned for them
Actually, we wait for enough data so that the sound can be played all the way through, but this doesn't mean its ALL loaded. The borwser is the thing that decides it has enough data, and that if we started playing now, it would stream in quick enough so as to have no interruption....can check whether a resource has finished loading, but it looks like GM4HTML5 doesn't wait for this by default - at least not for sound.
As to GM8.x, its not sound loading thats slow... it's DirectX audio initialisation. No idea what they're doing in there, but it appears to be driver/DX related, and out of our control - until we move DX versions in the future....
#23
Posted 27 August 2011 - 09:55 AM
#24
Posted 27 August 2011 - 10:32 AM
Not sure if that's a bug, or just some 'karoshi' humor.
Yeah, this is cool stuff, here, thanks for sharing it with the community! Now gimme html5, please! :D
#25
Posted 27 August 2011 - 10:54 AM
+1. It's great that you're making time for this. Tutorials from the software authors themselves usually give great insight about performance.I will be doing a series of articles on how to get better performance out of GameMaker, and these methods also work well on mobile... so stay tunned for them
I'll be checking the YYG techblog.
Edited by chance, 27 August 2011 - 11:00 AM.
#26
Posted 27 August 2011 - 10:14 PM
(Ive had all three)
#27
Posted 28 August 2011 - 03:21 PM
#28
Posted 28 August 2011 - 05:12 PM
I hope to see more great progress soon!
#29
Posted 28 August 2011 - 09:33 PM
Check it out here
http://mazi-madu.blo...to-be-feed.html
Edited by mazimadu, 28 August 2011 - 09:34 PM.
#30
Posted 29 August 2011 - 01:05 AM
#31
Posted 29 August 2011 - 01:10 AM
#32
Posted 29 August 2011 - 03:24 AM
#33
Posted 29 August 2011 - 02:00 PM
Is there going to be a new site for posting HTML5 games? If so, will it replace Sandbox? (BTW, when will sandbox get updated?)
#34
Posted 29 August 2011 - 03:10 PM
New version of Simply Solitaire has also been uploaded. Down from 955K JS file, to 318K! Options page now works on FireFox!
Slow bandwidth... well, it'll download the whole the game - pretty much, so should work ok. You can also flag them as "offline" play allowing you to play them when your not connected, which is cool as well.
EDIT: And now Maddening now plays the music as well!
#35
Posted 29 August 2011 - 07:38 PM
Solitaire remembers state of last game played. Cool.
#36
Posted 31 August 2011 - 03:22 PM
#37
Posted 31 August 2011 - 03:29 PM
GM Standard: $39.99Will those who already own Game Maker Standard also have to buy Game Maker HTML5?
GM HTML5: $199.00 (discounted to $99.00 during Beta)
So you're wondering if buying a $39.99 product will get you a free $199 ($99) product? Do the math.
#38
Posted 31 August 2011 - 05:09 PM
No. It's entirely optional.Will those who already own Game Maker Standard also have to buy Game Maker HTML5?
You only have to buy it if you want to create browser-based games.
#39
Posted 02 September 2011 - 10:40 AM
I have a question about these six GM HTML5 games:
http://experimental.yoyogames.com/
I have played these six games in Chrome 13.0.782,218, I noticed that scrolling is smooth and there is no screen tearing in these games.
Is screen tearing is solved in GM HTML5 games?
My computer is a slow dual core computer. The frame rates of these six games in Chrome on my computer:
Gravemaker: 60 FPS
Need to be Fed: 60 FPS
Solitaire HD: 37 FPS
Mr. Karoshi: 30 FPS
Maddening: 30 FPS
Skydiver: 29 FPS
These games run well on my computer. (only without music) I have a suggestion to YoYo Games. The game screens of Need to be Fed, Mr. Karoshi, Maddening and Skydiver are too small. I think that many GM users want to test how fast the HTML5 games of the HD versions of these four games are. Please also convert the HD versions of these four games to HTML5 games. Thank you very much!
#40
Posted 04 September 2011 - 06:24 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











