Goulven Posted August 30, 2017 Share Posted August 30, 2017 Hi, I'm trying to create a game where we destroy ennemies with bullets, but when I add " var sens = Math.Random()*360; " to make ennemies go in random directions, we can't shoot bullets anymore. I'm a beginner and don't know why I've got this problem. Any ideas please? Link to comment Share on other sites More sharing options...
Théo Sabattié Posted August 30, 2017 Share Posted August 30, 2017 var sens = Math.random() * 360; (?) Is there an error in the console? Can you share more code? samme 1 Link to comment Share on other sites More sharing options...
samme Posted August 30, 2017 Share Posted August 30, 2017 You need to open your browser console so you can see error messages. Link to comment Share on other sites More sharing options...
Recommended Posts