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

Thread: any source for starfield in delphiX?

  1. #11

    any source for starfield in delphiX?

    >> var StarField : Array[0..STARS] of TStar;


    Tstar is the problem. Where can I found code for Tstar class?


    Thanks!!

  2. #12

    any source for starfield in delphiX?

    It could just be a record:

    [pascal]type
    TStar = record
    X: Integer;
    Y: Integer;
    Size: Integer;
    Speed: Integer;
    end;[/pascal]

    Or something to that effect. You might want to have a look at Denthor's old tutorials. They're really old now (talking about DOS Mode13h, heh) but there's one on starfields: http://www.hornet.org/cgi-bin/scene-...search=Denthor -- find the 13th one and have a look in the file tutpro13.pas -- just ignore any asm that you see, if required.
    "All paid jobs absorb and degrade the mind."
    <br />-- Aristotle

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
  •