construct2jjo's Forum Posts

  • 6 posts
  • HI guys Im developing a physic game and I have a problem hope you can help me

    this his my problem:

    1...I have 2 containers with 4 portals (1 for green and 1 for red)

    2...when I have the 4 portals on my game and my character (a red ball) enter into the green 1 it gets out for the portal red 2 (everithing its ok)

    4 but when my character colision with the portal 2 green it doesnt come out for the portal 2 red..it come out for the portal red 1

    Note: remember that its a container I can´t create more sprites for each portal

    hope you can help me :/ here i leave you a image to be more clear

    thamk you guys hope you can help me to fix this I realy want to finish this game

  • Hey Eindbaas Thankyou so mouch for take the time to do this my friend...you help me a lot I just have to adapt it to the game

  • Simple answers

    1 when the ball hits a cannon. Destroy it. Have each cannon with a turret behaviour. And activated on collision with the ball. Just set it's target as the next cannon.

    2 have bullet aspect on the ball. On collision. Set speed to 0. Rotate cannon overlapping the ball to next cannon. Rotate the ball to the same angle as the cannon. Then set the speed again.

    Complicated ideas.

    If your using physics on the ball. So it's like donkey Kong country where there is a drop. Its more of a case of trial and error for the cannon placements.

    You could also set the centre of gravity to the target cannon. The ball will stop when it arrives in till you set the next target

    Hi my frien i use a method like that ...and yes its like donkeykong

    thank you very much for your anwer hope I can finish this proyect before I die hehe

  • Thank you for your answer plinkie ..but this is my first proyect...I dont know much about instances

    I have been stuck in this situation for weeks :S ill descrive my problem more detalling

    1. I have a container with 3 diferents objects

    2..in one container I have 3 apples.when I click on the container apers one apple and rest 2

    3..I click the button on the screen and the apple its destroyed....(everithyng does well)

    4...but when I have 2 or more apples on the screen all are destroyed

    thank you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone I need help with this proyect im stuck

    1..I have my array and it has 3 apples

    2...I want to distroy 1 by 1 apple with one click in a botton on screen(first selecting the apple and then press the bottom to distry it)

    3...but when I click the botton I distroy the 3 apples

    please help

    sorry for my english

  • hello comunity

    Im developing a game but I have a problem

    how can I trow a ball from a canon to another canon and catch the ball but then redirection de new canion

    I want to manage the two or more canons but when the ball be on each one

    hope you can helpme guys thank you

    sorry for my english

  • 6 posts