snake85027's Forum Posts

  • Hey mind some reason I can not get it to work...I have it to when the squirrel collides with the bird..the Meter image comes up...some reason the Meter Arrow Graphic does not move on its own...also the arrow graphic only moves when I press left..

    dropbox.com/s/bqkd55td355z3li/squirrelnutsmeter01.capx

  • I have a question on this set up...on the first events where its between 269 and 81.... why isnt it 181 and 359...? i guess i get confused by the sprite graphic...i see my arrow graphic pointing straight up thinking thats that degree is aiming at 270 so just rotate according to that...

    but is it more like a imaginary arrow...lets say you have the angle at 0 for your sprite in the layout..a imaginary arrow will be pointing Right...and it has nothing to do with your graphic that may be pointing in whatever direction...?

    in this example we have are arrow pointing up at the start....shouldnt we have the angle point be 270 in the layout of the sprite...to represent that current angle to match the graphic??   

    just trying to figure this all out..probably thinking to much as usual.

  • so is this correct then...

    also can you explain the thinking with the instance variables...active and leftright...how did you get it the left right to work back and forth like that....thanks for the help...i just like understanding whats going on...to further help me down the road..

  • can you draw an example..? that would be awesome

  • when the angle is 0...does that mean it is pointing straight up? and is this a 360 circle?

  • so I made a struggle meter that shows up when the player collides with the bird.....you press either left or right to get it to move left...

    every half sec it will move right....

    now the issue is, when the struggleArrow Sprite is pointing all the way right I want it to take a subtract a point from the health variable...

    some reason I cannot figure out the angle...

    dwbailey.com/images/StruggleMeter

    link to play...just run into the bird to see the meter...press left and right to affect it..

    also on the left and right...it would be nice to have to press them in sequence...right now i can keep on pressing left and it will go 10 degrees counterclockwise...it would be great to have to press left and then right...left..right..left..right...and so on...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • dwbailey.com/images/hearts

    some reason it the invicibility still feels funny...

    I run into the squirrel and get hit,,, it flashes...after the flash is over...as long as I am overlapping the squirrel, it wont hurt me because I havent recollided with it....so doees this mean I need to put an overlapping even on it?

  • thanks for the help guys...it seems to work, not sure why I have to make things harder than they are...

    now im having an issue with the sound going off even when the flashing is occuring...did I place the sound Action in the wrong spot?

  • to get the every x sec to work...does it need an every tick in the beginning?

  • Is there anyway someone from here can open that capx and get it to work so I can see exactly what to do...right now everything I tried just gets horrible results....also I am not sure why the isinvisible var doesnt do the trick?

  • i tried it this way and couldnt get it to work..

    Hey justifun....you said move subtract 1 from health down to where it has every 3 seconds.....should i put that at each state change.

  • dwbailey.com/images/healthevent.capx

    not sure what you mean by one event for the every 3 seconds..here is the capx.

  • I am having an issue with my change states for my player when he gets hit.

    Right now when he collides with something it randomly takes off hearts..it could be one or all 3...I am not sure how to make my player invincible for a small time period after collision with the enemy....