akoji's Forum Posts

  • 13 posts
  • I did it by pinning a collision box on start of layout to the feet of the player. Then have that set where if it collides with the enemy it will destroy it. Once I am done with what I am doing I will post the capx for everyone would love some feedback on my first game.

  • Wonder why that is. Yeah everything is working fine right now. Which I very happy about it. Thanks for all your help.

  • dl.dropboxusercontent.com/u/42929721/LevelOne.capx

    lets try that

  • That works thank you. I figured out why it was moving had it on the wrong layer had it on my HUD layer which has 0 paralax haha.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok I am trying to do that but I am having trouble keeping the collision detection box pinned. I have't even tried to set it up where it is at his feet. It stays there for a little while and then starts to move as I keep going right. I am so confused and frustrated.

    Update: I tried On Collision Pin and Every Tick Pin oh also on created

    Every Tick doesnt even work it wont pin a tall. On Collison is the way I was doing it where it would stay there then start moving after you move so far its so weird.

  • No it won't allow me to post URLs I have to have a certain amount of REP since they are trying to cut out spam or something. I can try to message it to you

  • I looked on the FAQ "Mario style: jump on top of enemy to kill it" which is exactly what I am trying to do. When I try to do it if they collide the enemy destroys, no matter if its on top or side to side. I want to keep the side to side where if it hits the player he will take damage. But if he jumps on him it will destroy the enemy. Please help.

  • I haven't been able to figure it out yet. I feel like I either need to do 1) 12 different collision boxes or 2) Don't have jumps in the game maybe make it more of a platformer instead of a sidescroller and just have the enemies underneath or something.

    Update: Finally making progress. I think I can finally make this work

    Update 2: Finally got it~ took up setting up a boolean to get it working

  • Ok so it says I don't have permission to post URLs...

    I guess I will just type everything out then *sighs*

    This is the last thing I have tried and the enemy isn't even moving. I set the default controls to no. Am I missing something?

    SlimeEnemy > action = "right" > Simulate Platform pressing Right > Set Not Mirrored

    SlimeEnemy > action = "left" > Simulate Platform pressing Left > Set Mirrored

    SlimeEnemy > On collision with collisionbox

               > SlimeEnemy > action = "right" > set action to "left"

               > SlimeEnemy > action = "left" > set action to "right"

  • I have tried that and it still doesn't do right. It hits the right and goes left. Then it just passes right through the left collision box, hits my character and goes completely off the screen. I have no idea why it does that. I Ctr to duplicate the box. It's like only the first instance (which is the right box) works and not the rest.

  • Ok, so Solid behavior doesn't effect it. Off, the Character can move pass it but the enemy will turn around on the right collision box and go towards the character then go off the screen passing the left collision box like it wasn't there. On, it does the same thing and the Character can't pass through it. I have the enemy set for on collision with. I have tried overlap as well.

    It's not allowing me to post links, not sure how to post the capx file.

  • Yes I made double sure.

  • I am trying to add movement to my enemies and using a invisible box to bound it so it wouldn't go off to the side. What my problem is, my first box works. I CTRL to duplicate it and the other boxes does not work. my enemies just pass right through it and keep going. I have enemies set up with bullet movement. I have tried to use the tutorial for platformer to set up enemies but it does the same thing. Please Help.

  • 13 posts