User Tag List

Results 1 to 5 of 5

Thread: screen capture in a scrolling game -help!

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    screen capture in a scrolling game -help!

    Hi people! I need some help here.

    I have a scrolling rpg, and I want, on my command, to capture the 100x100 pixel area around my character with the capture object and save it to disk.

    I use the following order:
    Upon Pressing Key

    --> Capture Object
    1. set area origin at my character's position minus 50 (X -50,Y-50)
    2. set area dimensions to 100,100
    3. capture frame area

    Problem is, the capture object captures wildly different things, from everywhere on the screen, depending on where my character is.
    Instead of capturing the 100x100 area around her, it just captures bits of the game - top left corner, the inventory menu, whatever, depending on where my character is standing.

    Is there any way to capture the same area regardless of my character's actual X,Y coordinates?

    thank you,
    Kisses
    christina

    PS Also, it isn't fixed if I add Xposition of Left Visible Edge to the Xposition and Yposition of Top Visible Edge. What am I doing wrong?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: screen capture in a scrolling game -help!

    Well I can't see whwr you went wrong. Could you post an example?
    Working as fast as I can on Fusion 3

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: screen capture in a scrolling game -help!

    sure. here's the code.

    code

    I've made two pink comments to show you where the actions take place.

    When you press space the program stores the screen capture as 123.bmp and immediately loads it as an active picture in front of the player character. You will see that it captures anything it wants, instead of what I'm telling it to capture..

    Thank you so much for offering to help


  4. #4
    Clickteam Clickteam

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

    Re: screen capture in a scrolling game -help!

    The correct position is X("Fae")-X Left Frame-25 and Y("Fae")-Y Top Frame-50, because the coordinates are relative to the top-left corner of the window in the playfield.

  5. #5
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: screen capture in a scrolling game -help!

    oh Yves thank you so much for going into the trouble!
    It works perfectly!
    Maybe I should stop trying to be a coder :blush:


Similar Threads

  1. Game crash when scrolling the screen while animation playing in 2.5
    By Yos in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 2nd January 2014, 03:50 AM
  2. Screen Capture Object - load capture from clipboar
    By Maarten in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 3rd December 2010, 09:09 PM
  3. record screen with screen capture obhect
    By Oreo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 7th November 2008, 04:32 AM
  4. Screen Capture using Screen Capture Extension
    By drnebula in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th December 2007, 05:03 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
  •