Jump to content


ahmedQazzaz

Member Since 03 Oct 2011
Offline Last Active Feb 18 2012 06:56 PM

Topics I've Started

HTML5 and Sounds ?

09 February 2012 - 11:39 PM

Hi,

I have two sound tracks in my game each of them has size larger than 3 mb, so I think that I can't include them in the sound resource in the game.
  I tried to use sound_add() function but it doesn't work.
My questions are :  

1- Can sound_add() function be used in gm:HTML5 ?
2- if true, How?? (Where should I put my files)
3- does it solve the problem of large size?

----------
Note : the files are mp3 files
----------
Thanks

I don't know

05 February 2012 - 07:32 PM

I don't know if this problem belong to game maker or it's problem in Windows 7
...
The problem is I make a little multi-player game using mplay functions, when I run it twice, one as host and the other is client, there is no problem, but If I run it at two different computers at one network both computers using Windows 7 they can't connect together.
...
I thought that is the problem is in my code so I tried to use the multi-player sample from the official samples [pong.gmk] ---> the same problem
_________________

Note: I use game maker 8.

_________________




I'm sorry - My English is tooo bad

works there but not here, why?

31 January 2012 - 01:31 PM

hi,
when I use the script

  
  global.mpgrid = mp_grid_create(0,0,20,15,32,32);
  mp_grid_add_instances(global.mpgrid ,block,false);  

it works well in windows mode but, failed in HTML5 mode.
what is the problem, and how can I solve it.
==============
Failed means :
When I use mp_grid_draw(global.mpgrid) to debug I found this:

HTML5 output
Windows output

the test file here