LittleStain's Forum Posts

  • I don't know how you have your answers set up, but if they are text-objects it would be:

    on answertext touched - play sound "perfect" with tag "answered"

    (add a conition to see if the answer is right)

    audio on ended tag "answered" - (put the events here to go to the next question)

  • You should have another look at your events.

    The inverted has line of side is a subcondition of a had line of side event.

    So you are checking if there is no line of sight when there is, which can never be true.

    Also, it's of no use to repeat the conditions of the top-event in the subevent, for the subevent will only be checked if the top event is true..

    The last three events could be put into one, by using an or-block and or adding the grass, fence and branch to a family and checking collision for that.

    Good luck on your game, it seems like you really work hard at it!

  • I'm not sure what it is you need help with.

    Are you having problems displaying the questions?

    Are you having problems playing the sounds?

    Are you having problems with the controls?

    I'm also not sure what you mean by frames, In C2 frames usually means the seperate pictures an animation is made up from, but I guess you mean something else..

  • Replace:

    on left mouse button clicked with on any touch start

    and

    Left button is down with is in touch

    you might have to add conditions for when the player is able to do other things with touch than slice.

    Easiest way would be to put the slicing actions in a group and activate it on game-play.

  • There is a minus in front of the pauze_number, so when pauze_number is 0 it says

    -0+1 (which is 1)

    and when Pauze_number is 1 it says

    -1+1 (which is 0)

  • Setting up your events like below would be even better to prevent unwanted switching

    <img src="https://dl.dropboxusercontent.com/u/48563442/pauzenumber.jpg" border="0" />

  • Try Construct 3

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

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

  • You should look into blend modes. There's an example in the C2 folder you can open when choosing new project.

  • Maybe this could help you though.

    There is a third party plugin for HTML

    HTML-pack

  • Depends on what kind of HTML-code you'd want to use.

    Construct2 is a game engine that is based on javascript.

    It's not a WYSIWYG HTML-5 editor.

    You can however set css-style for textboxes.

  • give the player timer behaviour.

    on collision with powerup

    -destroy powerup

    • player start timer 5 seconds
    • player set scale to 1.5

    player on timer

    • player set scale to 1
  • Add this to your events and the sound will stop at mouse button released.

    <img src="https://dl.dropboxusercontent.com/u/48563442/Audio.jpg" border="0" />

  • If I'm not mistaken, and I'm pretty sure I'm not, the capx already has comments which state exactly what I changed.

    But I took a look anyway.

    The controls were on the layer "HUD" and that layer is referenced in the actions.

    The controls are now on the layer "gold&exp" so the reference to "HUD" isn't working.

    Make a new layer call it HUD place all controls on it and it should work.

  • The problem seems to go away when changing cell size.

    If you also change the collision polygon to a smal circular or rectangular shape around the feet of the character it works great.