bouguima's Forum Posts

  • How can I manupilate Runtime TimeScale on the instanceProto.onCreate because this give this error.

    instanceProto.onCreate = function()

    instanceProto.runtime is undefined

  • Thanks I have Use CallJs and It give me a solution by appending an EventLister from his js file

  • HI All,

    how construct2 compare two string please give me any idea about this.

    because i have use " = " and it doesn't give me the good result

  • thanks for your helps,Now it's Ok

  • Ashley :

    please can you help me to install this sdk in my construct :

    I have do this instruction but it doen't work for me:

    -->download sdk,

    -->close constrcut2,

    -->unzip sdk folder into plugins directory

  • add an onMessage event to my game to control game from there parent ==> I'd like to pause game from his container

  • HI all,

    I'd like to add an Event Listener to catch message from other application like parent container of my game like an iframe I have used call js plugin to send Message from game to parent application with parent.postMessage('score','*');

    is there any method to catch message from other domain?

  • Thanks for your help problem fixed

  • here a link of my project:

    dropbox.com/s/lszwh508r7dmpxs/pause_prob.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • <img src="C:%5CUsers%5Cmehdi%5CDesktop%5CpauseP.png" border="0" />

    here an image of my code

  • Hi all,

    I'd like to make pause for my game I use timeScale = 0 but the sprite animation doesn't stopped is there any idea to do this. <img src="smileys/smiley25.gif" border="0" align="middle" /> <img src="smileys/smiley25.gif" border="0" align="middle" /> <img src="smileys/smiley25.gif" border="0" align="middle" /> <img src="smileys/smiley25.gif" border="0" align="middle" /> <img src="smileys/smiley25.gif" border="0" align="middle" />

  • HI all,

    How can I search an element into an array

  • Thinks I have resolved this problem by using tiled background plugin and modify his width on evey tick system set width to lives * width of my backgroud element <img src="smileys/smiley27.gif" border="0" align="middle" />

  • to be more clear adding sprite means :

    if my variable lives = 3 I will print   <img src="smileys/smiley10.gif" border="0" align="middle" />    <img src="smileys/smiley10.gif" border="0" align="middle" />    <img src="smileys/smiley10.gif" border="0" align="middle" />

    if lives = 2 I will print    <img src="smileys/smiley10.gif" border="0" align="middle" />    <img src="smileys/smiley10.gif" border="0" align="middle" />

    ===>sprite creation in dynamic it's related to lives variable.

    thanks of help

  • HI all,

    Can you give me help about adding sprinte on the fly:

    exemple adding :

    adding a picture after having some value in score{adding heard to explain that have a new live in my game.}.