Spawn Actor
hambuerger7
Member Posts: 45
So in my game I'm making a game with an actor that spawns another actor wherever the player flicks/swipes the screen and an actor that moves right and controls camera. It works perfectly fine at first, but once the scene moves right, it only spawns them at the beginning of the scene.
How do I fix this?
Thanks in advance.
How do I fix this?
Thanks in advance.
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
When game.Up>50 (thats when they flick the screen)
Spawn Actor: Paper in Front of Actor
Direction: 0.0 relative to actor
Position: game.releaseX (Mouse position X), 0 relative to scene.
Ex:
If the camera was showing the domain of [200,520] which would be literally on the iPhone [0,320] and I attempt to spawn it at (520,0), it will spawn at (320, 0) in relation to the scene.
How do I fix this?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User