AKB Forums

Go Back   AKB Forums > Technical sections > Algorithms
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Algorithms The source of algorithms for your project

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Nov 8, 2002, 16:09   #1
Студент
 
Join Date: Mar 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 7
Reputation: 10
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.
Rust is offline   Reply With Quote Quote selected
Old Nov 8, 2002, 18:30   #2
Guru Apprentice
 
Join Date: Feb 2002
Location: /dev/null
Posts: 524
Rep Power: 7
Reputation: 10
Send a message via ICQ to Ektich Send a message via Yahoo to Ektich
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 ?
__________________
\/\/h47'5 1n 4 n4m3? 7h47 wh1(h w3 (4|| 4 r053,
8y 4ny 07h3r n4m3 w0u|d 5m3|| 45 5w337...
Ektich is offline   Reply With Quote Quote selected
Old Nov 8, 2002, 18:34   #3
Студент
 
Join Date: Mar 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 7
Reputation: 10
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.
__________________
::Against the crowd.
Rust is offline   Reply With Quote Quote selected
Old Nov 8, 2002, 18:45   #4
Guru Apprentice
 
Join Date: Feb 2002
Location: /dev/null
Posts: 524
Rep Power: 7
Reputation: 10
Send a message via ICQ to Ektich Send a message via Yahoo to Ektich
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...
Ektich is offline   Reply With Quote Quote selected
Old Nov 8, 2002, 23:57   #5
Грустно...
 
Agregat's Avatar
 
Join Date: Aug 2002
Location: Там, где всегда идут дожди
Posts: 21,544
Rep Power: 11
Reputation: 169
Send a message via ICQ to Agregat Send a message via MSN to Agregat
Post

Сильвер, тогда я бы тебе посоветовал вот еще что. В графическом режиме всегда есть две страницы на которых ты можешь рисовать. Рисуй на одной, а показывай вторую. Это можно совсем не сложно сделать на ассемблере. Поищи в инете фраз vga programming, или программирование vga.
Получишь кучу ссылок - в них будет то, что тебе надо. Ассемблер - всегда пригодится
Ну удачи, что ли.
__________________
http://аvitya.livejournal.com
Хотели, как лучше, а получилось даже хуже...
Лозунг шахматиста: На каждый шах - ответим матом!
Agregat is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 02:00   #6
Студент
 
Join Date: Mar 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 7
Reputation: 10
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.
__________________
::Against the crowd.
Rust is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 02:36   #7
Школьник
 
Join Date: May 2002
Location: Yerevan
Posts: 202
Rep Power: 7
Reputation: 10
Send a message via ICQ to Amph
Post

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

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

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

Так вот - почему? Я не возмущаюсь - дело ваше.... Мне просто интересно
__________________
This game has no name,
It will never be the same....
Amph is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 02:48   #8
Студент
 
Join Date: Mar 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 7
Reputation: 10
Post

2 Amph: you could send your last message to the Moderator as a private message and wouldn't flood the topic...
__________________
::Against the crowd.
Rust is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 03:04   #9
Школьник
 
Join Date: May 2002
Location: Yerevan
Posts: 202
Rep Power: 7
Reputation: 10
Send a message via ICQ to Amph
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....
Amph is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 03:08   #10
Студент
 
Join Date: Mar 2002
Location: [ Surrealistical World ]
Posts: 312
Rep Power: 7
Reputation: 10
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].
__________________
::Against the crowd.
Rust is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 03:22   #11
Школьник
 
Join Date: May 2002
Location: Yerevan
Posts: 202
Rep Power: 7
Reputation: 10
Send a message via ICQ to Amph
Post

Thanks for information

Ты чего, я не тупой, уж догадался бы как-нибудь, но писать приваты и Зомбику и Эйсиду и Греке по меньшей мере глупо.... Короче, так вернее всего, и по-моему теперь флуд уже развожу не я, а ты, провоцируя меня отвечать тебе. Мог бы сказать мне это все мэйлом, не так-ли? Короче, проверь приват....
__________________
This game has no name,
It will never be the same....
Amph is offline   Reply With Quote Quote selected
Old Nov 9, 2002, 19:36   #12
»
 
z0mbie's Avatar
 
Join Date: Jan 2002
Posts: 776
Rep Power: 7
Reputation: 10
Send a message via ICQ to z0mbie
Post

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

z0mbie is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 15:02.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link