TomCarter's Forum Posts

  • How are you testing for this to occur? Its hard to tell from the above screenshot. Every tick, Every Second.. something else ?

    Nothing...

    I assumed the conditions themselves would be checked by the engine every tick, isn't that how all conditions are checked by default?

    I'm pretty new to construct 2 so correct me if I'm wrong.

  • Of course, the simpler solution is this: Make both types of walls Solid, disable "bounce off of solid objects" on the bullet, and add a condition:

    Bullet -> On Collision with SolidWall | Bullet -> Bounce Bullet off SolidWall.

    Hi just wanted to let you know I ultimately ended up doing this and it works great, thanks!

  • I want the layout to restart if the player's ammo = 0 AND there are no bullets currently on the screen.

    For example the player has 3 shots to hit the target, If he wastes his first 2 shots, then shoots the third bullet at the target, I don't want the layout to restart until the bullet is off the screen, just in case it does hit the target.

    I am using this setup currently, it doesn't work but I can't see why not.

    Note in my game I have 2 different kinds of ammo, and of course I only want it to restart if the player is out of BOTH kinds. Also note I destroy bullets when they leave the layout, so any workaround must take that into account please

  • Unfortunately I am using bouncing bullets and would still like them to bounce off normal walls!

  • I have a game where the player can move around with the arrow keys and shoot bullets with the mouse button.

    I want to create a special kind of wall that the player cannot walk through, but the bullet can.

    Any tips?

  • Yes. For example level 1 will have 8 boxes forming a structure, the aim of the player is to destroy some of the boxes to make the structure fall over so the enemy rolls off the screen.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi guys, I'm pretty new to Construct 2 and enjoying it very much thus far.

    In my game the player must remove the enemy from the screen without destroying every other object on the screen.

    I am able to apply different loss scenarios to my levels by using multiple event sheets and events for each one, but I can't help but feel there is a more elegant way than the one I'm currently using.

    Main event sheet is included in all layouts and it just has "Level complete if enemy is outside layout" and works fine.

    Level 1 has wooden boxes. Level fail if wooden boxes count = 0.

    Level 2 has metal boxes. Same as above but metal this time.

    Level 3 has a 3rd kind of box, same as above...

    etc... Some levels also have multiple different kinds of boxes which mean even more unique events required to cover those levels.

    What I really want is something like "if any sprite other than "Enemy" + "Floor" is on screen, do nothing, else, level fail." but I'm not sure how to do this.

    Thanks in advance for the help!

    edit: changed title to something more in line of what I'm asking