cornchip's Recent Forum Activity

  • Ah, I see now. Thanks for all the explanations!

  • I basically have it so when the player is overlapping the sprite (zoom) I put the layer zoom event on, the layers will zoom out. But I've noticed that it takes a few seconds for the layers to fully zoom out to the value I have it set to. Is it possible to make the layers zoom out to my desired value in say, 1 second?

    The event I put goes as follows:

    Player is overlapping zoom>

    Subevent compare instance variable > zoom is = 0 > layer 0 , scale lerp(LayerScale("BG B"), 0.5, 1*dt)

    Subevent compare instance variable > zoom is = 1 > layer 0 , scale lerp(LayerScale("BG B"), 1.0, 1*dt)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh,thank you! :)

  • I have this sprite with an attack animation set to the 'spacebar' key. Whenever it's pressed and collides with an enemy, I want the enemy to die. But instead every time I press spacebar on collision with the enemy nothing seems to happen.

    I am using a boolean variable that sets to true when the player collides with the enemy. I feel like I am doing something very wrong here?

    Also, if say the attack animation just constantly plays after pressing spacebar once and keeps hitting things non- stop, would I need to put a 'is animation attacking playing' then set attack variable to false?

cornchip's avatar

cornchip

Member since 30 Nov, 2018

None one is following cornchip yet!

Trophy Case

  • 5-Year Club
  • Email Verified

Progress

6/44
How to earn trophies