spawnning an actor at the top of the scene

digitalzerodigitalzero Member, BASIC Posts: 639

i was trying to figure if theres a way to spawn the actor at the top of the scene... i know i could use another game attribute and calculate it that way but i dont want to have to do that for every scene i have because i have over 40 scenes so far lol is there any way to achieve this easier?

Comments

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956

    Find an actor that is still a prototype. Make sure it is in every scene. Add a spawn actor behavior to it. Make the coordinates above the screen.

    A prototype actor would be an actor that you didn't unlock on the scene.

    Maybe a background or a button.

  • SocksSocks London, UK.Member Posts: 12,822
    edited October 2015

    You want to spawn at actor at the top of your scene ?

    Can you not simply enter the right value for the top your scene (i.e the height of your scene) ?

  • ArmellineArmelline Member, PRO Posts: 5,368

    Do you mean the scene, or the screen? Is you scene larger than the device size?

  • digitalzerodigitalzero Member, BASIC Posts: 639

    Yeah on the scene... Basically the players y is tracked but i have a special move that happens where actor is destroyed and it spawns another actor (special move) actor... I could spawn it saying game.players.y+400 but i also have platforms and if the players y is too high it won't spawn using that method

Sign In or Register to comment.