Mr. Potatobadger Posted June 5, 2013 Report Share Posted June 5, 2013 I need help with programming explosions when you defeat a boss. I've tried many things. This is the code I have so far for this bosses defeat. Detailed help would be GREAT Thanks! Link to comment Share on other sites More sharing options...
Strife Posted June 5, 2013 Report Share Posted June 5, 2013 For the explosion effect, try this: - Create at 0,0 from boss - Set X position to X ("Explosion") - 40 + random (81) - Set Y position to Y ("Explosion") - 40 + random (81) If you want them to appear less frequently, in the Worlds engine, you can use the Compare Two General Values action to make a "LevelTimer mod X = 0" condition, where X is the number of frames. The higher X is, the fewer explosions happen, while X being 1 has the same effect as an Always condition. Link to comment Share on other sites More sharing options...
Mr. Potatobadger Posted June 6, 2013 Author Report Share Posted June 6, 2013 For the explosion effect, try this:- Create at 0,0 from boss - Set X position to X ("Explosion") - 40 + random (81) - Set Y position to Y ("Explosion") - 40 + random (81) If you want them to appear less frequently, in the Worlds engine, you can use the Compare Two General Values action to make a "LevelTimer mod X = 0" condition, where X is the number of frames. The higher X is, the fewer explosions happen, while X being 1 has the same effect as an Always condition. Hey thanks for the help man. I'll work on it some more later, but I think I understand how. Please keep your eye on this thread just in case I need help. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts