LittleStain's Forum Posts

  • You should add a tagname to the audiofile you are playing and use that tag in the audio on ended. Using the name of the audio file won't work, just the tag.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • should be pretty easy though,

    you could have three global variables combo1, combo2 and combo3

    on object1 selected add 1 to combo 1

    on object2 selected add 1 to combo 1

    on object4 selected add 1 to combo 2

    if combo1 = 3 set bonus

    if combo2 = 3 set bonus

    All you'd have to do is make sure the objects can't be selected more than once and/or subtract 1 when deselected.

  • audio on ended "tag" - play audio.

    just give the audio file a tag when setting play so it can be compared with the tag in the on ended event.

  • you could give the items in your news ticker the drag and drop behaviour, and foolaround with the settings ,or create a invisible sprite on touch and use it to manipulate the movement of the items in your newsticker, or you could make small up and down buttons to make it move, or you could create a slider to do the same..

    So many options to create the same or a similar effect depending on your coding abilities and visual wishes.

  • It only moves the layers that have paralax.

    You can set the paralex of layers that shouldn't scroll to 0,0 (It can even be done during runtime I believe)

  • Easiest way would be to use an invisible sprite with the scrollto behaviour or a system scrollto action and move that sprite with touch.

  • I've no experience in this kind of stuff, but:

    Maybe you could use the hash table plugin

  • Your problem could have been in the order of the events and or actions, but also in the picking of the objects.

    Glad this works for you!

  • The json format could be incompatible to load into an array.

    Some in formation about json format

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