LittleStain's Recent Forum Activity

  • Just saw your reply. I would probably go for the easy approach.

    You could use choose(1,2)

    and create family 1 if choose is 1

    and create family 2 if choose is 2

  • The question is really unclear.

    If you want the function to work on a specific instance it should be picked.

    If the object is created within the function it can be referenced by using subevents.

    If after the creation you want to do things to each object in the family, you can add a for each.

    Point is, you want to sent the family or object as a parameter. To do this you'd have to know which object or family to use as parameter, right? So actually you have to do the picking before being able to set as parameter. Which is outside of the function, which makes your question questionable.

    You could just choose to send a global variable as a parameter and within the function have a subevent that says if global variable is ... perform these actions. these actions could be family or object specific, ofcourse.

  • And yes, a new project is not the same as a new layout. otherwise layout two would probably be called project 2. to add another layout to your project right click on the layout folder on the right and add new layout.

    The manual is available on this site as are tutorials, maybe it wouldn't be a bad idea to read about construct two to learn the basics.

  • on button pressed go to layout 2.

    There is no need to include an event-sheet for that. You can include other event-sheets when necessary by right clicking the event sheet and choosing include, but as I said before you don't need that here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No problem, I could do it in the breaks I have to take from Construct.

    By the way, having issues with Skype? Haven't seen you around.

  • Add a condition is animation attack playing to the on collision event.

    and an on animation end set animation to idle

    Ninjaaad by

  • Will the game remain 3 pieces?

    If not, fixing these events doesn't really make sense.

    Even in the 15 piece sliding puzzles there are a lot of impossible situations. To fix this it would be easiest to create the puzzle finished and after slide the pieces the only way possible to make sure an impossible isn't created.

    This could probably be done in an array by someone much more intelligent than I am.

  • If this doesn't work, please make sure you haven't any conflicting events. Like for instance if character isn't moving play stance, or if character is on floor play whatever.

  • on key pressed "shift" set animation to "attack"

    Character on collision with dummy dummy subtract 1 from health

    Just make sure your attack animation has it's collision polygon placed correctly. Another option would be to spawn a hit sprite on your sword and set it to the tip of your sword while the melaa animation is running.

    Instead of on collision, sometimes it's better to use is overlapping and trigger once while true.

  • First step to learn how to use Construct2 should probably be following the beginners tutorials.

    After completing those, you understand the basics of working with Construct2. For finding out specific things, there is the manual and the forum search. If that doesn't get you enough to work on, there's always the option to ask for help in this "How do I section"

  • Thanks Ashley for correcting me.

    I wasn't sure about that, so I added the edit-comment.

  • There are many ways to achieve this, depending on how you heve your events set up.

    One way would be to give the text objects a boolean variable that is set to true when the letter is typed. you could add conditions to make sure that the second, third and later textboxes variables can only be set to true if the ones before are true.

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