winstreak's Forum Posts

  • Simple Toggle:

    Character on collision with door - Toggle Boolean

    If Boolean false Show buildings normal | If true so Buildings with less opacity

    I would build it so when you collide with the door you force push the player inside the building.

    Then you don't have to worry about them triggering the collision but then leaving the building without triggering on Exit.

  • Look at my previous post with the screen shot.

    It was all done on your event 31.

  • winstreak That's super complex and extremely ineffective solution. What would you do if you need 20 random numbers?

    There is a feature called "permutation table" in the official AdvancedRandom plugin. It's pretty easy to use. Here is an example of getting 4 non-repeating numbers in the range from 1 to 10:

    Here is something from Dop2000 for Adv Random No Repeat

    dop2000

  • I edited event 31 in my screen shot - you left event 32 the same and created a new event. (Now both events are running)

    Delete your Event 38 + 39

    Edit your Event 31:

    Change Is playing attack to: Attack finished

    Remove Trigger Once

    Plug in my equation to Event 31.

    Scroll back to my Previous Screenshot to see how you need your event 31 to look.

  • Repost your project - I don't know where you ended up after making your edits

  • I usually use a bullet - On Created Event to set the direction.

  • The Enemy

    -On attack animation Finished - never happens if you have the animation loop

  • Did you stop the loop on your attack animation?

  • Looks like you are just trying to spawn a variable amount of object without overlap.

    check out this post: construct.net/en/forum/construct-3/how-do-i-8/two-objects-dont-spawn-place-173226

  • If you want to post your code I'll be happy to take a look at it. Hard to guess at this one without seeing anything.

    Also, if you post your code - let me know how get the issue to happen. :)

  • Edit* This is easier to read before C3 forum auto formatting, so I posted a SS instead.

  • Char.Defense is your instance variable (Boolean) you already created

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You want to make sure you have the X-vector is lasting longer than 1 tick. It is also affected by accel and decel rate.

    I do a minor knock back to my character here and a larger one to the enemy.

    My enemy has 1500 Accel and Decel and 280 Jump Str.

  • I made multiple changes.

    *Turn the Attack off a Loop*

    This way when it finishes you can calculate the damage then re attack again.

    If Char.Def = 1 (True) then you want reduced damage, I reduced it by all 10.

  • You are not going to get very many responses when you ask such a broad question.

    I have never heard of "Happy Wheals" but if you are looking to make a game that has to do with bouncing on a pogo stick, I would think:

    Create an object with Platform and set object platform is on floor | Simulate platform pressing Jump

    This will at least get your main object to always be jumping.