hopr37's Forum Posts

  • I just PM'd my capx....

    can you show me what I am doing wrong?

  • I have and the event sheet still plays

  • yea. I'm not getting it. I mean, I understand what you have but I don't understand how to make it call a specific event sheet.

    No matter where I put the functions, the event sheet plays regardless if I am even calling it.

    I can't figure out how to make the event sheet NOT play until it is called but since it's already a part of another event sheet, it plays automatically. Does that make sense?

  • the only thing I don't understand is that you have: on "myfunction" ...sprite...set angle to 45

    what I don't get is I want to: on "myfunction" call a different event sheet.

    I'm sure you are explaining it but I'm not grasping it..I'll play around with it

  • thanks for the response.

    So how would I include an event sheet to the function on "myfunction"?

    on "myfunction"

    include event sheet

  • but there is an animation on frame 0. i can change the animation frame to something else and it makes no difference.

    If I remove the "on left-side" function on the main event sheet ( second picture) and just leave the "include left-side" event sheet, the "left-side" event sheet still plays. So basically, the on-call function ( first image) isn't doing anything or I have it setup incorrectly.

    I'm trying to make it so the "left-side" event sheet doesn't play UNTIL the "on-call left-side" function..calls it.

    I'm just not understanding on call function....

  • trying to set up a call function but it isn't working.

    I have placed a call function inside an event sheet ( this event sheet runs at start up)

    first picture:

    https://db.tt/rZy02MZ0

    I have placed the "on call" function inside my main event sheet

    second picture:

    https://db.tt/3c4XC5Ah

    so basically, inside an event sheet that starts at the beginning of the program, it is suppose to use the call function after an animation trigger.

    The problem is that it doesn't matter if I have the "on call" function on the event sheet or not. As long as I have the "include left-side" sheet on the main event sheet it runs. I only want the "include left-side" to run if it is called.

    so how do I get the on call function to work correctly?

  • thanks for the quick response. Yea, I had the function in the wrong area..thank you

  • graphic to show what I have:

    https://db.tt/ArGd1fgm

    What I'm trying to do:

    trying to trigger an event by animation frame

    So I am trying this but it doesn't work. Any ideas what I am doing wrong?

    https://db.tt/OCdX1zTl

  • That's EXACTLY what I was looking for!

    I have been struggling with this for days trying to figure it out.

    Thank you so much Paradox!

    Learning as I go thanks to people like you

    So simple. I knew there had to be an easier and more efficient way of doing this.

  • I have the free version so families are out of the question.

    I will look this over and see if I can wrap my head around it and incorporate your direction into my own project.

    Thank you so much for responding.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok.Maybe this will help someone help me.

    This is a trimmed down basic idea of what I'm talking about.

    https://db.tt/SgcnlgN1

  • bumpitty bump

  • I have a variable attached to my invisible sprites called 'occupied"

    value is zero

    I I set a condition of:

    box equal to or less than 0...do something

    I can get that to work

    What I can't figure out is how to tell it that if something is there already, prevent anything else from going there....

    My brain hurts but I'll keep trying

  • "Another way is to put a Boolean variable on the invisible sprite, marking if its "on" for spawning. when you spawn one there, turn it off. when that one no longer overlaps, turn it on."

    That's what I'm trying to do but I can't wrap my head around it. I'm not sure how to word it

    they are all separate sprites with no animations.

    I've tried the overlapping bit but it just seems like there is a better way.

    Basically, I'm just looking for a way to tell the invisible sprite that if it already has an object overlapping it to not let anything else overlap.

    Not sure if I need to use variables or not.

    I am trying different options but so far I can't figure it out