home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!mcsun!news.forth.gr!csd.uch.gr!cyprus.csd.uch.gr!not-for-mail
- From: kilitzir@cyprus.csd.uch.gr (Kilitzirakis christos 122)
- Subject: I need you knowledge for GFX SPEED!
- Message-ID: <1jlmmuINN6r7@cyprus.csd.uch.gr>
- Sender: news@csd.uch.gr
- Organization: Computer Science Department, University of Crete HELLAS
- Date: Thu, 21 Jan 1993 08:26:06 GMT
- Lines: 35
-
- Hello there,
- I have written a program (in Pascal) that simulates the whole
- screen as being a right window of a spaceship (i.e I have stars
- moving from left to right with various speeds and various colour)
- Now the program has four Integer arrays (one array for x[i],one
- for y[i] one for step[i] and finally color[i])
- Allthough the speed for up to 30 or 40 stars is quite acceptable
- there is an annoying thing that can be seen.You can see the old pos
- of a star and the new pos at the same time (You see it as a double,
- not to mention you can see another one (two positions back) in the
- worst case).So what I thought was that I could have eliminate that
- by having two screens (one visual,and have all draws taken to the
- other and then flip active and visual screens)
- Yeah, good thought...But I did 'setbuffsize(2);setactivepage(1);
- setvisualpage(2);' and I had no problem with compiling it,but I
- had a crash on running it... (Any hints here???)
- So, how can I do it better?What should I optimise???
- If I have sprite stars would it be better?
- Should I turn to C for better results?
- And if you are good in programming graphics can you write a best-
- optimised program and send me the source??? (Come on it won't take
- you more than 20 minutes)
- Oh,here comes a stupid one...How can I break pascal programs that
- are running??? (Ctrl-C DOES NOT WORK,and nothing else I have tried
- too...)
- Please I am desperate on seeing some source. :-)
- Oh, and another one ... I have written a program to use it instead
- of dir/list commands but how do I go about it, in order to set the
- 'pure' bit???
- Thank you for taking the time and read this...I am sorry for my bad
- english, I hope you did understand what I was trying to say :-)
- Friendly,
- Alkis Argiropoulos
- (kilitzir@skiathos.csd.uch.gr)
-
-