User Tag List

Results 1 to 8 of 8

Thread: Partitioning external image at start of frame

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Partitioning external image at start of frame

    Hello,

    My purpose: I have an external jpg image that is 500x500. When game first starts, I want to have a 100x100 object that looks identical to the upper left corner of that image - basically take a 100x100 capture off of the original external image.

    What I tried was loading that image outside the playfield and using screen capture object, however that doesn't work. Any ideas on how to go about this?

    Thanks!

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Location
    Westcountry, UK
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    Capture it in the frame (whilst it is hidden behind a popup etc.):P

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    Nod, that would work, but for the game that I'm doing it's a bit inefficient. Thanks for your input though.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    Overlay. Load your source picture into a first overlay that is offscreen. Then paste your area from the source overlay in an overlay in the screen area.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    You can also use the Active Picture object to add a backdrop in a similar way.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    I also suggest the active picture. Although the overlay object is great, I generally don't like the idea of adding a complex extension with a whole lot of features if you're not planning to use most of them. The active picture does exactly what you're after, and you won't have to use two instances.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    Overlay works. Thanks!

    About active picture, I can load the 500x500 background away from playfield, but how do you grab only a 100x100 segment of it from there?


  8. #8
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Partitioning external image at start of frame

    As far as I know, the only way to do it using the Active Picture is to use "Create new backdrop" from the Active Picture's actions (it's called something like that, anyway).

Similar Threads

  1. Load image from binary / external into an active object
    By Popcorn in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 1st February 2013, 07:58 AM
  2. Preloading an external image
    By arthurh in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 31st January 2012, 02:40 PM
  3. Load external image
    By crugh in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 25th December 2011, 12:11 AM
  4. How do I save a Blit image to an external file?
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th January 2011, 01:33 PM
  5. Load external image...
    By staronic in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th July 2008, 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
  •