Constraining Problem
jbishop122
Member Posts: 43
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
Which part is the problem that you don't want to happen?
Sorry @moik I completely forgot about that! Fail! Sometimes the actor will spawn either above or below the area you can see.
Can you post your rules?
Need Help? Email Me | Templates | Full Game Source Code
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.
its relative to the actor @Moik Also, @bjandthekatz which rules do you want to see?
bump
The spawning and collision.
Need Help? Email Me | Templates | Full Game Source Code