d2uang's Forum Posts

  • 3 posts
  • Thanks,

    I have a easy way to to that by using "else"

    SPRITE_SPEED > 0 => DO_NO_THING

    else => when_all_stop = 1

  • Hi all, I need you help! Thanks

    The game like this:

    When i touch screen, many sprites start moving (in some way) and going to stop in seconds but they not stop the same time,

    When all stop user can touch again and sprite will start again.

    I code this:

    WHEN_SPRITE_SPEED = 0 AND TOUCH_ANY_WHERE -> SPRITE >>START_MOVING

    and the Problem is: when one of sprites is stop, some other is still moving: SPRITE >>START_MOVING is still happen.

    how can i do like: Just when all the sprites is stop: SPRITE >>START_MOVING happen?

    Many Thanks !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I have this problem , please help thanks alot.

    After export to HTML5 webbase

    I upload all the game files into gameC2 subfolder

    //public_html/gameC2

    The game is load from domain.com/gameC2/index.html -> it's run ok

    then I try load the game from the domain.com/index.php file

    //public_html/index.php

    The html in the index.php is copy from the gameC2/index.html with some links modified like this

    ----------------

    <div id="c2canvasdiv">

    <canvas id="c2canvas" width="854" height="480"></canvas>

    </div>

    <script src="gameC2/jquery-2.0.0.min.js"></script>

    <script src="gameC2/c2runtime.js"></script>

    -----------------

    but it show nothing! how to load the game from subfolder???

    Thanks

  • 3 posts