LittleStain's Recent Forum Activity

  • self.width is the width of the object referenced in the action.

    this should work though

    Rock on collision with bullet - rock spawn explosion

    blank subevent:

    • explosion set size to rock.height, rock.width
    • Rock destroy

    Maybe the subevent isn't even needed, but I think it keeps the event-sheet cleaner.

  • The grouping and deactivation is very program specific.

    For instance if you have a pause menu it would be good to deactivate all touch related input not related to the pause menu. By putting these in a group you can deactivate those events by a simple sytem deactivate group action.

    If you have buttons on your screen while slicing and you don't want to perform the slicing action when touching those buttons, a simple is not touching button condition under your touch events.

  • You could use overlapping at offset for this.

  • Have you tried following the beginners tutorials?

    Although they aren't about what you are trying to make, they do teach you the basics of working with Construct2. You'll learn how to use events, how to trigger certain responses based on conditions and much more. Learn the basics by following the tutorial and the answers to these questions will come much easier.

  • You could a boolean variable to the family. we'll call it isfalling and set it to true.

    When the sprite reaches the ground set the variable to false.

    add a condition keyboard events

    family compare boolean isfalling is true

  • If you could give a link to your capx, it would be much easier.

    What you are trying to doesn't sound hard if you understand how events and conditions work in Construct2.

    All you have to do is check if the touched answer (image in your case) is the correct one and when that answer is touched play the sound as shown above. After the sound is finished you set up events to stop showing this question and start showing the next one.

    All this is pretty basic stuff.

  • 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)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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" />

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies