Societyisbabylon's Forum Posts

  • I'm doing a platformer, one enemy is supposed to bounce. Well, the first enemy works, it's on the layout from the get go. But, I have a timer that creates that enemy once in a while, those created enemies don't bounce. Does creating enemies reset settings?

  • I'm doing an endless runner as a learning session, I'm using the endless runner template. Anyway, when I hit the "jump button" the player can jump, but I can't figure out how to make you able to control the character while in the air.

    Standard velocity is 200. Unless I press "D" while on the ground, then it's changed to 250 as long as "D" is held in, when let go it reverts back to 200

    I tried "Platform on jump" && "D" is down then set maximum velocity to 250 but it's still just a jump straight up.

    Any ideas?

  • Oh yeah, right right. Pin AFTER the creation. I need to remember the right order to do things. Thank you, it works now =)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm having trouble figuring out how to do this.

    At the moment I have an enemy that is created at the right side of the screen, walks left, rince and repeat. The problem is, I can't figure out how to keep the collision box with the newly created enemies. Any ideas on when it should be pinned, or should I play with the container option?

  • I'm trying to figure out my first custom movement, I kind of got it working, but it's a little buggy and I could use some pointers.

    The idea is, that once in a while: player.x is < then enemy.x the enemy moves in the players x direction, and the same for the y position.

    I can get the enemy to do the movement, but sometimes it's confused whether to move up or down, does anyone have any tricks to teach me?

    (I'm trying to get the enemy to move like in the old arcade game Berzerk)

    My current setup:

  • Thank you kindly. I managed to figure it out with your help. Man, it was tricky. But now I know.

  • I'm trying to figure out how to spawn more then 1 item in random position and I can't figure it out, I could use some pointers.

    As of now I have a global variable that chooses a random number between 0 - 5. 0 is no barrels, 1 is 1 barrel etc all the way up to 5.

  • Thank you. After a lot of hard work I achieved what I needed.

  • I have a theory I'd like some help with to work out a "simple" maze generator alá Berzerk, the classic arcade game. I know "nodes" are involved, so I made a sprite object that acts as the node. I put it in a family, and placed a few copies on the map.

    Now, my questions woud be: What would the command be to pick 1 of these randomly, and create a line until that line hits something?

  • Thank you =)

  • I'm fiddling with a field of view for the player. Basically I made a layer, called it darkness. Just added a sprite, a black square covering the whole playfield, and another sprite with the blend effect "destination out" called FOV, works quite well. Only problem is you can see through walls, any way to have the FOV sprite "cut off" when hitting "solids"?

  • I must be missing something incredibly obvious, but I can't for the life of me get shake to work.

    The object set to shake has no events to it, it's just a sprite acting as a background, I set the scroll to behaviour to on on it.

  • I'm pondering on the best way to make ropes. There must be a better way then to make thousands of round sprites linked together, that would take forever. Any tips and tricks?

    My ring needs ropes :3

  • Is there a way to remove a specific revolute joint? In this case: The one created to connect player1's lower arm to player2?

  • That works much better, thank you.