Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Downfall

  1. #11

    Downfall

    I wrote a small program to illustrate how to do non flickering transparent cursors and custom keys. Check it out. If there's something you don't understand, let me know.

    http://public.xcessred.com/stuff.zip
    Ask me about the xcess game development kit

  2. #12

    Downfall

    Thanks for the code.
    Downfall now has no flicker and customizable controls.
    http://atlas.walagata.com/w/peterbone/Downfall.zip
    You can set the controls to be the same and play on both screens at the same time!

    I know your code was just a simple demo but I found that I needed to add this
    Code:
    procedure TControlsForm.FormHide(Sender: TObject);
    begin
      if not Timer1.Enabled then Exit;
      ControlsForm.StringGrid1.Cells[CellX, CellY] := Selection;
      ControlsForm.Timer1.Enabled := False;
      UnHookWindowsHookEx(KeyBoardHook);
    end;
    incase the user closes the form while a cell is still flashing.

    Thanks again

    Peter

  3. #13

    Downfall

    yeah, there are a bunch of things that could be improved...
    Ask me about the xcess game development kit

Page 2 of 2 FirstFirst 12

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
  •