Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters > Algorithms
Register

Reply
 
LinkBack Thread Tools
Old 08.11.2002, 17:09   #1
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post ALAS!! Help in buffering :(

Hello all.

I have a very very big problem, which is very important for my 'kursayin' How can I use double or triple buffering in Pascal programming language for more advanced graphics?? Or maybe anyone knows any other way to have a non-flicking animation? That's asap, answer fast, please... Thanks a lot.

Regards.,
Silver

PS: I'm using GetImage/PutImage in PASCAL Pascal sux
__________________
::Against the crowd.
Reply With Quote
Old 08.11.2002, 19:30   #2
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Can you be more specific please? What version of Pascal, what operating system and so on?

You are not using Turbo Pascal and BGI library (egavga.bgi file) under DOS, are you ?
Reply With Quote
Old 08.11.2002, 19:34   #3
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

In fact I AM using it
I have no selection.
So I need to write it for DOS... But I'm not uisng egavga.bgi... I wrote my own .bgi to bring it all to 256 color mode...
So??

version was tp7 I guess...
I just need to write something like a side-scroller [like mario] and I need a simple animation... thanks a lot.
Reply With Quote
Old 08.11.2002, 19:45   #4
Guru Apprentice
 
Join Date: 02 2002
Location: /dev/null
Age: 41
Posts: 524
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Quote:
Originally posted by Rust:
In fact I AM using it
I have no selection.
So I need to write it for DOS... But I'm not uisng egavga.bgi... I wrote my own .bgi to bring it all to 256 color mode...
So??

version was tp7 I guess...
I just need to write something like a side-scroller [like mario] and I need a simple animation... thanks a lot.
It's not that bad. FORTRAN is much-much worse, believe me!

I've done page flipping in pre-Windows era (well, probably Windows 3.1 was already out at that time) in TP 5.5, DOS 3.3. After some google-ing I found this
http://pascal.sources.ru/graph/pageflip.htm

Switching between pages are done by SetVisualPage and SetActivePage, but that's in (as far as I understand) in egavga.bgi, so I don't really know what to suggest to you.

How exactly you wrote your own .bgi? Can you mix calls from one and another? I was experimenting with things like that, but don't really remember results.
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Reply With Quote
Old 09.11.2002, 00:57   #5
Грустно...
 
Agregat's Avatar
 
Join Date: 08 2002
Location: Там, где всегда идут дожди
Age: 35
Posts: 21,717
Downloads: 2
Uploads: 0
Reputation: 250 | 7
Post

Сильвер, тогда я бы тебе посоветовал вот еще что. В графическом режиме всегда есть две страницы на которых ты можешь рисовать. Рисуй на одной, а показывай вторую. Это можно совсем не сложно сделать на ассемблере. Поищи в инете фраз vga programming, или программирование vga.
Получишь кучу ссылок - в них будет то, что тебе надо. Ассемблер - всегда пригодится
Ну удачи, что ли.
Reply With Quote
Old 09.11.2002, 03:00   #6
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Hehehe posle 5 chasov HARDCORE raboty ya nakonec dostig svoego Assembler rox, yes, I did it long ago with Assembler, but I ned to make it only [ONLY] using Pascal, and I did it It RULEZZZ Absolutely no flicks. By the way, the guy who wrote the article about it was... not absolutely correct But thanks a lot, dear Ektich, you've helped me much.

bye people.
Reply With Quote
Old 09.11.2002, 03:36   #7
Школьник
 
Join Date: 05 2002
Location: Yerevan
Posts: 202
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Я, конечно, дико изиняюсь за офтоп, но все же...

Я сначала немного неверно понял вопрос Rust-a, и поэтому немного неверно запостил свой ответ, то есть я имел в виду несколько другую ситуацию, а конкретно - вин программирование.

Но тем не менее - где этот мой ответ? Кто и почему его стер? Зомби, ты, что-ли? Или админы (что вряд-ли)? Да, мой ответ был приминителен к несколько другому вопросу, может быть в этом дело? Или я что-то не так понимаю....

Так вот - почему? Я не возмущаюсь - дело ваше.... Мне просто интересно
Reply With Quote
Old 09.11.2002, 03:48   #8
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

2 Amph: you could send your last message to the Moderator as a private message and wouldn't flood the topic...
Reply With Quote
Old 09.11.2002, 04:04   #9
Школьник
 
Join Date: 05 2002
Location: Yerevan
Posts: 202
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

2Rust:
Sorry for flood, and 'thanks' for advice, i know.... I just don't know who is responsible for that exactly - for sending him a private message. That's why i've posted my message right here. They can easily remove all this flood from here, so as they have deleted my previous post (i guess it wasn't flood)...

So, if you're dissatisfied with this 'flood', I'll edit my posts, and fill them with some useful content for your question....
Hope, you've understood, what i mean...
__________________
This game has no name,
It will never be the same....
Reply With Quote
Old 09.11.2002, 04:08   #10
Студент
 
Join Date: 03 2002
Location: [ Surrealistical World ]
Posts: 312
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Then let me inform you that for ANYTHING happening in the forum the responsible persons are moderators [zOmbie in this case] and administrator [Acid in this case].
Reply With Quote
Old 09.11.2002, 04:22   #11
Школьник
 
Join Date: 05 2002
Location: Yerevan
Posts: 202
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Post

Thanks for information

Ты чего, я не тупой, уж догадался бы как-нибудь, но писать приваты и Зомбику и Эйсиду и Греке по меньшей мере глупо.... Короче, так вернее всего, и по-моему теперь флуд уже развожу не я, а ты, провоцируя меня отвечать тебе. Мог бы сказать мне это все мэйлом, не так-ли? Короче, проверь приват....
Reply With Quote
Old 09.11.2002, 20:36   #12
»
 
z0mbie's Avatar
 
Join Date: 01 2002
Posts: 777
Downloads: 1
Uploads: 0
Reputation: 0 | 0
Post

Amph ты уверен что отвечал в этом топике ? я ничего не стирал.
к тому же я получаю на mail все что постится в этом разделе, а твоего сообщения не получал

Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 17:45.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.