16
Old Questions (from 1.x/2.x) / Behavior Not Working Outside of Starting Screen Area.
« on: March 20, 2013, 06:18:21 pm »
First off, the behavior that isn't working involved spawning actors when the screen is touched(clicked) inside of a region.
When testing my game in the iOS simulator I came across a problem in the spawning of actors. I have a feeling this is due to the fact that my scene is larger than an iOS screen both horizontally and vertically.
The behavior itself works fine when I click on an area inside the region as long as it is within the area of the scene that is originally loaded. As soon as I scroll the camera to another area of the scene and attempt to spawn another actor the actors no longer spawn, even if it is in the region. I did attempt removing the region requirement, but that had no effect.
When testing my game in the iOS simulator I came across a problem in the spawning of actors. I have a feeling this is due to the fact that my scene is larger than an iOS screen both horizontally and vertically.
The behavior itself works fine when I click on an area inside the region as long as it is within the area of the scene that is originally loaded. As soon as I scroll the camera to another area of the scene and attempt to spawn another actor the actors no longer spawn, even if it is in the region. I did attempt removing the region requirement, but that had no effect.