Soccer Game dribbling function
Hey guys, I started making a new game with Gamesalad called Superhero soccer. Heroes vs. Villains. In the game my friend and I set up a basic background, made character designs (which haven't been implemented yet) and started working on a dribbling function. But we can't find out how to make the dribbling function. I tried making it so that the ball would constantly move towards the character if he touched the ball, but that didn't work. Then I tried constraining it. I didn't really like the result all that much. In the end I tried making it so if the Joker character touched the ball it would Despawn the ball, despawn joker, spawn a new actor called JokerPos. Jokerpos looked like he had the ball in his picture, and would move toward the goal with it. If hit by Batman or Superman, he was supposed to destroy himself, spawn Joker, and spawn the ball. I would import a MP4 video but it doesn't seem to work. So I will have to explain what happens. Joker spawns normally, hits the ball, suddenly turns HUGE, but clearly he is the JokerPos actor. Then Batman makes contact with JokerPos, and Joker is spawned and JokerPos is destroyed. Nothing happens to the ball. The spawn ball is under the destroy in the rule, but when I put it above Jokers start spawning like crazy. Pls help! If you need any information, I would be willing to provide. I have been working on the error for a week!