Joe7's Forum Posts

  • Hello,

    perhaps somebody needs some infos how this can be done - even when you're not on a win 7 <img src="smileys/smiley2.gif" border="0" align="middle">

    To play sound in browsers with ogg-support(Firefox,..) and brothers without ogg-support (IE9 on Win7,..) i've done the following:

    1) import the ogg-File in C2

    if (not Win7): 2)convert the ogg-File to .m4a (ie with fre:ac)

    3) import the .m4a File in C2

    C2 gives the m4a file the name soundExample2.m4a so i renamed it back to soundExample.m4a

    <img src="http://dl.dropbox.com/u/31151399/Construct2/Examples/SoundExample/howtoPlaySoundForIEAndOthers.png" border="0">

    hear example

    download capx

    Joe7

  • Exactly that was my problem.

    I've converted the soundfile to the wrong format ".aac"

    Now it works with encoding to ".m4a" .

    Yes -its annoying <img src="smileys/smiley2.gif" border="0" align="middle" />

    thanks, Joe7

  • hi,

    how can i import an aac-file without converting to ogg in C2 on Win Xp.

    Is this possible?

    C2 always trys to convert the aac-file and doesn't allow me to simple import the file (readonly doesn't affect).

    Thanks, Joe7

  • You're welcome.

    I've updated the plugin and made two examples.

    Have fun. Joe7

  • thanks,

    i'll try to do this with a plugin

  • Hi,

    perhaps this helps

    scramble cards

    haven't seen, that the solution above is better

    <img src="smileys/smiley2.gif" border="0" align="middle">

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    is there an easy way for getting the value of a variable(global or local) in the parent- html-page?

    ie:

    cr.createRuntime("c2canvas");

    alert(cr.instance_vars[1]); // doesn't work

    alert("The value is:" + myGlobalVar); // doesn't work

    If not, perhaps its possible to

    1) to set a value "really global" through a plugin or

    2) read the "local storage" from the html-Page.

    thanx, Joe7

  • Hi,

    I modified the Plugin "Array" a little so that you get an array of unique random numbers. You can also set a startvalue for the randomnumbers via the Properties panel.

    _________________

    [Update 2] v 1.<font color="red">1</font>

    [Add] Action "set size" Number

    Plugin Random Array (1.1) - demo,capx,plugin

    _________________

    [Update1]

    HowtTo - Plugin Random Array

    Plugin

    Scramble Cards Example

    _________________

    <font size="1">Plugin randomArray - old version </font>

    All suggestions are welcome. <img src="smileys/smiley1.gif" border="0" align="middle">