User Tag List

Results 1 to 5 of 5

Thread: Launch Object collision problem

  1. #1
    No Products Registered

    Join Date
    Jun 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Launch Object collision problem

    I have my enemy setup that if my player gets in to the enemies region the enemy will launch a bullet every 10/1000s
    Now I have set my collision of the Player with the Bullet to destroy the bullet and play a sound or substract 1 from score.
    But unfortunnately the collision isn't'detected. What is causing this?

    My Player is an Active Platform object.
    My Enemy is an Active Static object
    and the bullet is an Active Static object.

    Please help.

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are the bullets launching when the player enters the region? How is the "region" set up in relation to the enemy? Are the bullets just passing through the player or are they hitting him, being destroyed, and not doing anything?

    This would be easier with an example.

    But, off hand, your code should look something like this:

    Player is in region
    +Every 1/100 second:
    ->Enemy launch bullet at Player

    Player collides with bullet:
    ->Play sound
    ->Subtract 1 from score
    ->Destroy bullet
    Attached files Attached files

  3. #3
    No Products Registered

    Join Date
    Jun 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thank you very much! my problem was with layers. I have my scene setup with layers for parralex scrolling. Some objects were created at a different layer causing some problems with collisions!

  4. #4
    No Products Registered

    Join Date
    Jun 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm got it working now but the only problem I have is that my background image has a Turret textured on it. I want my active object to launche bullets from that turret. Now if I put the active object on the front layer, instead of the background layer with the turret on it, it parralexes with the background so it doesn't stay on the Turret position...

  5. #5
    No Products Registered

    Join Date
    Jun 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    never mind fixed it. Made a placeholder object on the background and positioned the active object to that one.

Similar Threads

  1. Launch an object problem/Direction
    By sgn15 in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 6th February 2014, 06:19 AM
  2. Replies: 5
    Last Post: 27th January 2014, 10:37 PM
  3. Launch Object problem fires far away from origin
    By Kokopelle in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th June 2013, 03:54 PM
  4. Active object collision problem
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 24th July 2012, 07:11 PM
  5. launch object problem
    By Leo in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 2nd December 2010, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •