Results 1 to 5 of 5

Thread: Windowed Gaming and Skins

  1. #1

    Windowed Gaming and Skins

    Anyone here write loley windowed games for desktop enjoyment? Stuff like card games, or arcade clones, or whatever. If so ever think about not using the defacto windowed interface? Maybe creating a "table" for those cards, or a "cabinet" for those arcade clones? Well I have, but I'm not sure where to start. So if anyone has any info on skinning please pass it my way, thanks.
    My DGDev forum pascal syntax highlight settings:
    <br />[background=#FFFFFF][comment=#8080FF][normal=#000080]
    <br />[number=#C00000][reserved=#000000][string=#00C000]

  2. #2

    Windowed Gaming and Skins

    I know that there are a couple of components that let you have odd shaped forms, but I cant remember the names of them. I think one was CoolForm but Im not sure but i know you can do this.
    Bobby Baker
    <br />Delphi Sanctuary
    <br />www.delphisanctuary.com

  3. #3

    Windowed Gaming and Skins

    There is a tutorial on flipcode on Skinning using the Win32 API. http://www.flipcode.com/articles/art...n32skins.shtml. Don't know if that's what you're looking for, but it should work as you can access the Win32 API from Delphi.

    Don't know of any native Delphi components though...

  4. #4

    Windowed Gaming and Skins

    There is a tutorial on flipcode on Skinning using the Win32 API. http://www.flipcode.com/articles/art...n32skins.shtml. Don't know if that's what you're looking for, but it should work as you can access the Win32 API from Delphi.

    Don't know of any native Delphi components though...

  5. #5

    Windowed Gaming and Skins

    http://gethelp.devx.com/techtips/del.../10min1099.asp

    That uses Canvas.Pixels, which is very slow and sucks. You'd want to load the picture up in a TBitmap and scan through it using Scanline, which will be approximately a zillion times faster. Also, you could change the bit that says "SetWindowRgn(TForm(Owner).Handle, Region, True);" to use TWinControl(Owner).Handle, which means it could be used to skin other win32 controls (which will have a handle - no non-TWinControls, however...).

    If you install that and dump it Align=alClient on the form, you can skin it. With the above suggestions, you should have a generic skinable app. You probably only want to use a two-colour bitmap (black/white) to store the skin.
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

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
  •