User Tag List

Results 1 to 8 of 8

Thread: Pixel object crashes my application

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pixel object crashes my application

    The save system for my game includes saving a thumbnail screenshot of the visible area of the frame where the player saved his progress. It has been working perfectly.

    Earlier, I made a comment about my game being laggy and someone suggested HWA. I tried it out, and my game ran BEAUTIFULLY! Absolutely perfect... except for one thing: Now my screen capturing doesn't work.

    I've asked about this in the Gwerdy chat, and someone walked me through how to use the Pixel Object along with the Overlay Redux object in order to save the thumbnail and basically achieve the same effect as the Screen Capture object. Though it was a little more work, I gave it a try. However, it wasn't working. I don't know what was going wrong, but the game was crashing whenever I tried to save.

    I narrowed it down to being a problem with the Pixel Object. At first, I thought saving pixels in too many fastloops at once was the problem, but even if I set it to just 1 loop, it would crash. If I set it to 0 loops, it would not crash, but of course it wouldn't be using the Pixel Object then, either.

    I will try re-downloading the Pixel Object and attempt this again. Perhaps I got a buggy one or something.

    If anyone has heard of the Pixel Object crashing other apps, or if someone has a suggestion on another way I can save a thumbnail image of the current game window, I would really appreciate the tips.

    Thanks.

  2. #2
    No Products Registered

    Join Date
    Sep 2006
    Location
    Germany
    Posts
    861
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    That code on Gwerdy worked for me, the only issue was that you do not put "Always" and "On loop" on one event and that on start of frame the objects are not drawn yet, so a blank screen will be saved, wait at least for 1 fps update then it should work. No chrashes for me.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    Quote Originally Posted by maVado
    That code on Gwerdy worked for me, the only issue was that you do not put "Always" and "On loop" on one event and that on start of frame the objects are not drawn yet, so a blank screen will be saved, wait at least for 1 fps update then it should work. No chrashes for me.
    Well it crashes my app every time, and only if I use the Pixel Object. I don't have "Always" and "On Loop" together.

    Oh, and I just remembered. Any actions calling the Pixel Object (through an expression) cause the app to crash. I even omitted the use of Fast Loops altogether and tested just trying to set a single pixel to the Overlay using the Pixel Object. One event, one action, one pixel. Still crashed.

  4. #4
    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: Pixel object crashes my application

    Quote Originally Posted by maVado
    put "Always" and "On loop" on one event
    How does that solve anything!? That doesn't make sense! Can't you just use "Run this event once: Start Loop" ?
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2009
    Posts
    98
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    LB, putting "Always" and "On Loop" on one event isn't even an issue here. Please try to stay with the matter at hand so that my problem can get fixed. Thanks.

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    are you using hwa? It crashes in hwa

  7. #7
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    Quote Originally Posted by MechaBowser
    are you using hwa? It crashes in hwa
    Quote Originally Posted by vertigoelectric
    Earlier, I made a comment about my game being laggy and someone suggested HWA. I tried it out, and my game ran BEAUTIFULLY! Absolutely perfect... except for one thing: Now my screen capturing doesn't work.
    Yes, he is.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel object crashes my application

    Does anyone know when the extensions not currently working will be converted to HWA, will that happen with the upcoming betas?

    I know that overlay redux won't get ported (but it's one of the most useful) and possibly others due to clickteam not having the source code. I hope it's only a few that are like this and not lots.

Similar Threads

  1. VideoPro Object crashes MDI application
    By ogrgkyle in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th October 2013, 04:28 AM
  2. onu crashes application
    By itsa_doozy in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th March 2013, 06:13 AM
  3. How would you move an object in straight line pixel by pixel from location to another
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 22nd December 2012, 10:38 PM
  4. Build Application crashes when trying to run a sub-application
    By Arnax in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 10th July 2012, 04:17 AM
  5. [252 Bug] Application crashes on start
    By Jacob in forum Android Export Module Version 2.0
    Replies: 6
    Last Post: 7th June 2011, 04:34 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
  •