Spawn Actor and Debug statement
Hi. I managed to create a gamesalad game that has a slingshot that shoots at moving actors(spawned every few seconds) from right to left. Initial without the slingshot, it was working fine. After I included the slingshot in, the spawn dont seem to be working.
I am thinking of using the debug log statement to identify what has gone wrong. However, I am not too sure what is supposed to appear. I have included a log debugging statement in my actor- controller that spawns the actor but not sure what sort of statement to put in. E.g what sort of expression e.g game.tags=crash(my actor is tagged to crash)? in there that I can put to check if the spawn is working or not.
Perhaps someone can suggest any other log debugging statement guide or similar questions that I can learn from.
Thanks.
Comments
The Log Debugging Statement behavior is extremely useful. How you use it is up to you since it doesn't actually affect your code at all. There are a few options you might try:
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User