User Tag List

Results 1 to 6 of 6

Thread: Problem with creating backdrop obsticles

  1. #1
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with creating backdrop obsticles

    I'm working on a map loader that creates a bunch of obstacles from an active picture object at the start of the level. This worked out fine for a couple small test levels, say 480x480. But on a larger level, I'm running into a situation where after a certain width, the objects are still created, but they don't retain their obstacle property.



    The darkened tiles have obstacle background objects pasted in behind them. The red arrow indicates where the obstacles cut off, even though it's clear the objects go on much further. My object limit is set to 20,000 and I'm only dealing with ~250 obstacle tiles.

    I did some further testing with the mouse to detect obstacles and create additional obstacles, and there appears to be a precise cutoff starting at 704px into the frame where obstacles are no longer detected. If a single object crosses that boundary, the left side can be detected as an obstacle, but the right side cannot. Regardless of how many tiles I add either in the loader, or with the mouse, this cutoff position does not change.

    Can anyone think of something I may be overlooking that's causing this annoying problem?

    Thanks.

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with creating backdrop obsticles

    i can't reproduce this with a really fast test app i made... that's weird, though

    EDIT: is this with a newer version of TL? because i can probably see if TL does this to me if it's still an older version

    EDIT 2: yeah i get this when using TL... are you sure zones aren't acting up or something? (i kinda doubt it given the behavior of the backdrops)

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with creating backdrop obsticles

    It could be a problem with something inactivating when it is outside the visible screen... But I don't think so since you say even backdrops added afterwards lose their collision. Try checking "Handle background collision outside the frame" or whatever it is called in frame properties and see if it makes any difference...

  4. #4
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with creating backdrop obsticles

    I've managed to boil this down to a very simple test case, and the obstacles still cut off at 704px into the frame.


    Example MFA

    The screen is resized at runtime to 3300px (approximately, but not exactly the width of my original test app). Arrow keys move the diamond around, right-click lays an obstacle tile, left-click tests for an obstacle.

    This appears to be a problem with dynamic resizing. If I specify the width of the frame to be say, 1000px before runtime, then I don't encounter an obstacle barrier. If it's left at its default 640px, then both width/virtual width changed to 1000px, I hit a barrier at 704px.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    1,141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem with creating backdrop obsticles

    It is indeed a problem with resizing the frame. It only detects collision within the original frame bounds.

  6. #6
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Problem with creating backdrop obsticles

    Yes, stupid bug in the Set Frame Width / Height functions, sorry, it will be fixed in the next update of the build 248.

Similar Threads

  1. Creating backdrop
    By LeGauche in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th August 2011, 12:29 AM
  2. Add Backdrop Problem
    By Julian in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd April 2010, 11:20 PM
  3. A problem with a Backdrop (quick backdrop)
    By Fant in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th March 2009, 08:51 PM
  4. Add to Backdrop Problem
    By MuddyMole in forum File Archive
    Replies: 5
    Last Post: 25th September 2008, 09:31 PM
  5. R241 Bug: Creating Backdrop with Active Picture
    By Cjeheth in forum File Archive
    Replies: 5
    Last Post: 14th August 2006, 09:19 AM

Posting Permissions

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