spawn actor in touched area?
tabelor
Member Posts: 114
Hi all. What i want to do is very simple. When i touch the screen i want an actor to spawn in the touched area.
Is it posible?
Is it posible?
Comments
I've got a ship, and the actor i want to spawn when i touch the screen is a bomb (imagine something like stunt squirrels)
The problem come's when i move my ship to the right behind the initial screen (480x320 or viceversa). The actor only spawn in the initial screen, when i move out of this first screen (for example to pixel X 500, and i touch the screen, the actor doesn't spawn in the position it were suposed to spawn, but in the initial screen. Is like if were an invisible barrier and the actor could not spawn behind this barreer :S.
I've checked every actor and behavior, and i've found nothing that can justify this strange behavior.
But i don't know why i get this problem
Try moving your actor to the front of the scene, OR create a dedicated layer for this actor. Yeah it's not fancy, but if it works, it works
no problem with the image spawning, the bomb spawns in it's place but instead of doing his action (to colide with asteroids) it dont does his action :S, or rather it does the action but further back, not were the image spawns, so now i have "an invisible barrier" not for the image of the actor but for his action O_o