Shooting Two Projectiles at the Same Time
ADSentertainment
Member Posts: 397
I had a discussion similar to this a while back, but it was never fully answered for me, how do I get something to shoot two different projectiles at the same time? The coding seems to go in order, so one projectile gets shot just before the other one, is there a way to make it so they both get shot at the EXACT same time? I tried putting them in groups too, but that didn't work.
Having trouble with your game? Sounds like a personal problem.
Best Answer
-
tatiang Posts: 11,949Try an adhoc build and see what happens. Everything's relative... it's possible to see lag with a couple of actors with long, complex rules or with many, many actors with moderate rules.
Try to simplify your rules if you can. Remove constrains and timers if possible.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
What I have:
What I want:
It just looks a lot nicer and would make more sense if they were to be shoot at the same time.
Having trouble with your game? Sounds like a personal problem.
Having trouble with your game? Sounds like a personal problem.
How are you spawning the two projectiles? Try a simple rule (e.g. When mouse button is down) with just two spawn behaviors back-to-back. Does this visible issue you posted still happen?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Having trouble with your game? Sounds like a personal problem.
So.... if both bullets are spawning one after the other, from the same actor, the time difference shouldn't be perceptible.
Having trouble with your game? Sounds like a personal problem.