Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: Slow when drawing the Map into another surface

  1. #11
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Slow when drawing the Map into another surface

    I unfortunately don't have a copy of Delphi here so I can't check this out right now, but your code looks ok to me.

    It's likely a small change in the TCanvas.Release behavior. The function runs, but it does not show it being drawn, correct?

    I should think that Jicro has put some kind of information about changes in versions. I recommend looking for new document/text files or checking the readme as blasphemous as that is.

    It's likely to be something small, yet probably worth documenting. UnDelphiX is a good branch of DelphiX and with the hardware acceleration will do the job much nicer while keeping with the visual components you are used to.


    Sorry I can't be of much more help, but I'm at work and unable to do much OP work at the moment.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  2. #12

    Slow when drawing the Map into another surface

    If all you are displaying is an overlay type Map, you can fake dithered effect by making every 2nd pixel on your overlay Map transparent.
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  3. #13

    Slow when drawing the Map into another surface

    Quote Originally Posted by savage
    If all you are displaying is an overlay type Map, you can fake dithered effect by making every 2nd pixel on your overlay Map transparent.
    Hmmm I prefer using Hardware accelerating than this! Anyway, making this kind of transparency will get slow too.

    I'll check his docs to see what has changed! I looked into the demos and they are pretty nice!

  4. #14

    Slow when drawing the Map into another surface

    Quote Originally Posted by WILL
    Jicro has taken over UnDelphiX in all it's unofficial glory. It's the most current version and is considered to be the 'as official as we're gonna get' version of the old DelphiX.
    It is showing the new layer!!!!! but... strange... the Polygon function does not takes visual effects

  5. #15

    Slow when drawing the Map into another surface

    Quote Originally Posted by nildo
    Quote Originally Posted by WILL
    Jicro has taken over UnDelphiX in all it's unofficial glory. It's the most current version and is considered to be the 'as official as we're gonna get' version of the old DelphiX.
    It is showing the new layer!!!!! but... strange... the Polygon function does not takes visual effects
    I know what's happening!!!!!!!

    Can someone please help me with this? The DRAW of the new surface only takes effect when I resize my form ( :? )

    EDIT: Using BltFast instead of DRAW works perfectly... But I need to use the DRAWADD instead of BltFast

  6. #16
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Slow when drawing the Map into another surface

    Patience my friend. Web forums take a bit of time...

    PGD can be both fast or slow at times.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #17

    Slow when drawing the Map into another surface

    Quote Originally Posted by WILL
    Patience my friend. Web forums take a bit of time...

    PGD can be both fast or slow at times.
    Hehehe As I was trying to discover what was happening I was reporting here

  8. #18

    Slow when drawing the Map into another surface

    Quote Originally Posted by nildo
    Quote Originally Posted by nildo
    Quote Originally Posted by Legolas
    You may switch to Jicro's UnDephiX, that should have a sort of hardware acceleration
    Is his units workarrounded with the latest unDelphiX units?
    I have changed to his units but it seems not to work propertly. My World editor stopped working like it needs to be.. (the Draw passing the Surface does not works correctly).
    Hmmm.. I can't seem to access this site for the latest UnDelphiX.

    I wanted to update my tutorials with a URL to it. But it doesn't appear to work. This worries me somewhat. If DelphiX isn't being maintained anymore (Where is Hori?) and UnDelphiX isn't being maintained by Turbo anymore but is being maintained by different people at different places which may be unreliable, then UnDelphiX will die. At the moment it lives because it has a large fan base and a good reputation for being easy and reliable. This is a reputation which is easily broken.

    ...or it could be a temporary glitch. Could someone confirm though. UnDelphiX needs its own URL and site. Perhaps a SourceForge Site. But it needs somewhere central to live where it can exist for many years.. I mean, even Hori's old site is still there, unchanged after all this time.

  9. #19

    Slow when drawing the Map into another surface

    It works fine here
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  10. #20

    Slow when drawing the Map into another surface

    Quote Originally Posted by Legolas
    It works fine here
    The Website or the DRAW command?

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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