Actor within another moving/rotating actor

PetCroPetCro Member Posts: 21
Hi guys,
Could you please help me with the following problem?
I want to set a rule, where Actor 1 cannot leave Actor 2 (not even a pixel), even if Actor 2 is moving or rotating.
Thanks
Peter

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    I will make you a quick demo . . . . . hold on . . .
  • SocksSocks London, UK.Member Posts: 12,822
    Here you go . . . .
  • PetCroPetCro Member Posts: 21
    Sorry I forgot to thank you for the file and for the help.
    Actually I want to make a game with lines and a fire-actor, where the fire has to follow the lines (or choose which direction it has to go). But the lines could rotate and if they dont connect each other, than the fire is gone and the game is over
    Thanks
    Pete
  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2013
    Sorry I forgot to thank you for the file and for the help.

    It's too late, I run a very strict 5 month 'thank you' system, anything after that time will not be accepted.

    ;)
    Actually I want to make a game with lines and a fire-actor, where the fire has to follow the lines (or choose which direction it has to go). But the lines could rotate and if they dont connect each other, than the fire is gone and the game is over
    Thanks
    Pete
    Sounds great ! Good luck with it.
  • PetCroPetCro Member Posts: 21
    ehm,so it is quite complicated :)
    can anyone help me?
    thanks,
    Pete
  • grimmagelolgrimmagelol Member Posts: 18
    I think your description of what type of game your tying to make is confusing.

    So u want to have lines and a actor that fires at them is what i think?? Sounds like a basic game :o After that i have no clue what your talking.

    It sounds like u want to make a game like duck hunt but kinda different??

    :) A better description would help. A quick way to start this i think might be.

    Id say make 3 actors name them player, enemy, Bullet.

    Have the player when rule key is pressed spawn actor bullet.
    -Make him able to rotate with a swipe or just move.

    Give bullet a move behavior in the direction o want it to shoot.

    on the enemy make a collide with bullet rule and in the do section put destroy actor.
    -Add a move rule or something so it looks better.

    Take it from there adjust things to make it work the way u want.
  • PetCroPetCro Member Posts: 21
    edited December 2013
    hi grimmagelol,
    thanks for the answer.so i want to create a game,where the fire has to reach the goal,but the fire can move only on lines (and these lines would be rotatable). similar to blood flow,but i want to control my player, so i want to decide which direction it should go.
    or maybe it would be easier if the fire hits a point, and the optional directions would appear.i tried to do that but somehow i couldnt make it
    hope this helps
    thanks,
    pete
Sign In or Register to comment.