Constraining Problem

So in my game, an actor travels across the screen, and also spawns a copy of itself behind it in a random Y position. (Sort of like a pipe in Flappy Bird). Please tell me if I need to be clearer!

Comments

  • MoikMoik Member, PRO Posts: 257

    Which part is the problem that you don't want to happen?

  • jbishop122jbishop122 Member Posts: 43

    Sorry @moik I completely forgot about that! Fail! Sometimes the actor will spawn either above or below the area you can see.

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Can you post your rules?

  • MoikMoik Member, PRO Posts: 257

    Ooooh... that's an interesting one. Are you running the spawn relative to the Actor, or are you going relative to the Scene? My gut says you're spawning relative to the Actor, and when the Actor is close to the edge of the screen, the random range can go further?

    My gut also says the answer to this will probably require someone more familiar with Game Salad than me.

  • jbishop122jbishop122 Member Posts: 43

    its relative to the actor @Moik‌ Also, @bjandthekatz‌ which rules do you want to see?

  • jbishop122jbishop122 Member Posts: 43

    bump

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    The spawning and collision.

Sign In or Register to comment.