Feature request: Custom angling and imagepoints

  • If by "mother sprite" you mean you're spawning bullets from another sprite, then don't use spawn use create (I've heard that spawn uses the angle of the parent).

    I think that's what you're talking about, otherwise you can do "set angle" in bullet behaviour to "no" if you don't want the display and movement angle to be the same.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • wtf, anyone else seeing my posts before his?

  • When I implement bullet mechanics I find it very frustrating that the bullet angle is determined by the angle of the "mother" sprite.

    I miss an imagepoint option to determine in which angle other sprites are spawned.

    So for example, if I fire a bullet from imagepoint 1 i want the potential bullets to fly off in a 15 degree angle, independent of the mother sprite.

  • That's really odd, alspal I do see your posts after his!

    In regards to original poster: why not use 'set angle' after the spawn action?

  • Yeah, alspal seems to to the original poster... Weird.

    Well, I have experimented with the set angle property and spawning the bullet on a custom coordinate. The problem is that as soon as I set the bullet angle, it affects all other bullets currently on screen making previously fired bullets reverse their direction.

  • <img src="https://dl.dropbox.com/u/1024727/c2/bulletmother.PNG" border="0" />

    Any actions after a created object will only affect that newly created one, so make sure you put the "set angle" after the creation and not before.

  • That did the trick! Much appreciated!

  • Heh, I think our server changed its clocks at 2am for the end of British Summertime (BST)... causing a weird posting order bug!

    Anyway, I don't see a need for additional features here, it seems covered by the 'set angle' action.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)