3030's Recent Forum Activity

  • say what?

  • i have no lag on export to nodewebkit for OSX. keyboard, mouse and gamepad entry operates as expected.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cool thanks, trying to think if there's some way I can simplify / make sure im not checking for all that stuff every tick. Maybe ill see if its on screen first. then Check collision...? Maybe im overdoing it.

  • Also just noted this in the manual for "Breakpoints":

    Note that Construct 2 bails out of events early if any condition is false. This means a breakpoint on the second condition won't pause the game if the first condition is false, since Construct 2 will immediately skip to checking the next event.

    So that kinda answers my question anyway, since it wont be checking all 4 of those every tick, correct.. it will never get to them because:

    • First i need to be overlapping a plant
    • THEN that plant needs to be hasSprouted = 0 (so that eliminates a majority of any future checks right there)
    • THEN I cant be crouching, so that cuts the check down also
    • THEN I have to be not teleporting
    • THEN I have to not be over a Henge, so finally it checks if im colliding with a Henge---but does it actually do a collision check here?

    Is this all right so far?

  • Does checking for an Inverted "Is Overlapping Object" (ie is not overlapping object) count as a collision check?

    Could this chunk here be any better written?

    Thanks dudes.

  • Oh wait you want the enemy to die when you land on it? Like a Goomba / mario enemy? You mentioned you want to kill it when you jump "Over" it so i ran with that. Sorry.

  • actually make the sprite narrow enough and center it over the enemy and you dont even need a delay really, since they technically have to be like halfway over the head of the enemy to kill it.

  • I would make an invisible collision sprite that follows the enemy around above their heads. Put it in a container with the enemy. If player overlaps that kill sprite for more than say 0.25 seconds destroy the enemy.. that's the easiest way I can think of doing it.

  • In your capx you're never actually passing the music/sound info to Webstorage.. you're just setting a global variable with it. If you look at how you're setting the high score & repeat that process for the sound / music, you should be ok..

  • Got it:

    Set PetFacing = angle(0,0,cos(angle(Player.X,Player.Y,Pets.X,Pets.Y)-Player.Angle+90),sin(angle(Player.X,Player.Y,Pets.X,Pets.Y)-Player.Angle+90))

    If PetFacing >= 0

    • Set Mirrored

    Else

    • Set UnMirrored

    Thanks dude - we were on the right track but you got me thinking about it more. NeoGAF helped push me over the edge.

  • Oops nevermind, I noticed you had more info at the bottom, i mistook it for your signature haha. Thanks!

  • Any info you can provide as to how you solved would be a huge help for the community

3030's avatar

3030

Member since 29 Jul, 2012

None one is following 3030 yet!

Connect with 3030

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies