User Tag List

Results 1 to 10 of 10

Thread: Shot Objects won't wrap?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shot Objects won't wrap?

    So I have some asteroids in my scene that float around and wrap when they leave the play area. Same with my ships.

    But all the objects that I shoot from the ship will not wrap, regardless of the fact that I set up events for them to do so. Is this some sort of automatic feature - to make shot objects auto-remove at screen edge?

    What I'd really like is for them to wrap, but I'd also like to be able to set a lifetime on them so that they'll automatically destroy themselves a specified amount of time after they're created.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shot Objects won't wrap?

    So I have some asteroids in my scene that float around and wrap when they leave the play area. Same with my ships.

    But all the objects that I shoot from the ship will not wrap, regardless of the fact that I set up events for them to do so. Is this some sort of automatic feature - to make shot objects auto-remove at screen edge?

    What I'd really like is for them to wrap, but I'd also like to be able to set a lifetime on them so that they'll automatically destroy themselves a specified amount of time after they're created.

  3. #3
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Shot Objects won't wrap?

    Its another limitation of using the shoot action.
    You don't have any control over the object.

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Shot Objects won't wrap?

    Its another limitation of using the shoot action.
    You don't have any control over the object.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    []Its another limitation of using the shoot action.
    You don't have any control over the object. [/]

    That's unfortunate, I wish they'd add some options to that action.

    I guess I wouldn't mind *too* much if I could control the speed and animation of generically created objects, but that doesn't work, either.

  6. #6
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    []Its another limitation of using the shoot action.
    You don't have any control over the object. [/]

    That's unfortunate, I wish they'd add some options to that action.

    I guess I wouldn't mind *too* much if I could control the speed and animation of generically created objects, but that doesn't work, either.

  7. #7
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    Of course it does. Just create a shot object at 0,0 of your ship, with the same direction (where you select the position, there are options for that). Also give your shot a bouncing ball movement, so it will fly in a straight line, AND will wrap around the playfield.
    You have total control over it. You can change speed, animation, size, what you want. Just add those things in the line in which you created the object, and it will only affect that one.
    Also you can use an alterable value, increase it every second by 1, if it's > 2 destroy it. There you have the lifetime.

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    Of course it does. Just create a shot object at 0,0 of your ship, with the same direction (where you select the position, there are options for that). Also give your shot a bouncing ball movement, so it will fly in a straight line, AND will wrap around the playfield.
    You have total control over it. You can change speed, animation, size, what you want. Just add those things in the line in which you created the object, and it will only affect that one.
    Also you can use an alterable value, increase it every second by 1, if it's > 2 destroy it. There you have the lifetime.

  9. #9
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    []Of course it does. Just create a shot object at 0,0 of your ship, with the same direction (where you select the position, there are options for that). Also give your shot a bouncing ball movement, so it will fly in a straight line, AND will wrap around the playfield.
    You have total control over it. You can change speed, animation, size, what you want. Just add those things in the line in which you created the object, and it will only affect that one.
    Also you can use an alterable value, increase it every second by 1, if it's > 2 destroy it. There you have the lifetime. [/]

    Have you actually tried this in MMF2? I have, and the speed changing, wrapping and timestamping don't work if you use the Shoot Object action. Even if you use the Create Object action, the speed changing still doesn't work (see my other thread on that) and timestamping seems to be global to all instances of the object, so it updates all of them at once... :/

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Location
    Madison, WI, USA
    Posts
    250
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shot Objects won't wrap?

    []Of course it does. Just create a shot object at 0,0 of your ship, with the same direction (where you select the position, there are options for that). Also give your shot a bouncing ball movement, so it will fly in a straight line, AND will wrap around the playfield.
    You have total control over it. You can change speed, animation, size, what you want. Just add those things in the line in which you created the object, and it will only affect that one.
    Also you can use an alterable value, increase it every second by 1, if it's > 2 destroy it. There you have the lifetime. [/]

    Have you actually tried this in MMF2? I have, and the speed changing, wrapping and timestamping don't work if you use the Shoot Object action. Even if you use the Create Object action, the speed changing still doesn't work (see my other thread on that) and timestamping seems to be global to all instances of the object, so it updates all of them at once... :/

Similar Threads

  1. 3 shot limit?
    By Zambaku in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 15th March 2009, 04:39 PM
  2. Active Objects don't wrap???
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 17th February 2009, 07:39 PM
  3. Charge shot
    By bunnyonion in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th October 2008, 10:53 AM
  4. Timed shot
    By Nickydude in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 3rd April 2007, 07:09 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
  •