ra51 Posted March 22, 2013 Share Posted March 22, 2013 I bet Rich is going to be a bit surprised on how Flixel Powertools can actually be brought up in an HTML5 forum . But to clarify, i am using Monkey to build and HTML5 app with the Flixel modules (including photonstorm's Flixelpower Tools). So anyways, i'm using the FlxWeapon library and trying to detect a collision between the bullet itself and the bullet boundaries but there doesn't seem to be a way for doing this. For example, i would like the bullet to "explode" instead of just disappearing when it hits the boundary. Is there anyway to actually do this? Quote Link to comment Share on other sites More sharing options...
rich Posted March 23, 2013 Share Posted March 23, 2013 Hah. You should create a custom bullet type that over-rides what happens when the bullet dies, and make your weapon emit that instead. Quote Link to comment Share on other sites More sharing options...
ra51 Posted March 24, 2013 Author Share Posted March 24, 2013 Ok, got it working now thanks. Just thought there was already built in way of doing it that i'm not seeing . Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.