Board index » delphi » graphic - background scroll

graphic - background scroll

do you know how to write a fast background scroll with
moving toward or back by using turbo pascal 7.0 ?
if you know it , please teach me...
i want to write a game...

please reply to "tamyiuche...@hotmail.com"
thanks a lot.

 

Re:graphic - background scroll


Quote
henrytam wrote:

> do you know how to write a fast background scroll with
> moving toward or back by using turbo pascal 7.0 ?
> if you know it , please teach me...
> i want to write a game...

> please reply to "tamyiuche...@hotmail.com"
> thanks a lot.

Hi!
If I understand correctly then:
Go my site http://www.chat.ru/~alexfru and download Grafix.zip and/or
Grafixx.zip.
In these archives you can found graphics units and many examples.
There are different scroll-demos in each archive. Try both.
The demo in Grafixx.zip is faster.
Remember: your algorythm is next:
1. draw back
2. save back under a sprite
3. draw a sprite
4. do what you want (keyboard/mouse input,...)
5. restore saved back in the step 2.
6. (sc)roll back
7. goto 2

Re:graphic - background scroll


Quote
Alexei A. Frounze wrote in message <35DA2FA8.6...@chat.ru>...
>henrytam wrote:

>> do you know how to write a fast background scroll with
>> moving toward or back by using turbo pascal 7.0 ?
>> if you know it , please teach me...
>> i want to write a game...

>> please reply to "tamyiuche...@hotmail.com"
>> thanks a lot.

>Hi!

Try KOJAKVGA - 256 colour, 4 directional scroll, sprite scaling etc. etc.

Other Threads