Computer Graphics

Moderators: Sephiroth
Number of threads: 1263
Number of posts: 2665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
2d graphics Posted by Ruben on 30 Aug 1998 at 7:26 AM
I am looking for a GUIDE or tutorial on programming 2D graphics. I need to know how sprites, animations and backdrops work. I would also like to know how scrolling backdrops work.<br>
I dont understand how you update the screen-do you have to redraw the background and sprites to the videomemory 20 times a second? That seems very inefficient.<br>
I programmed a game with vector graphics once, but i think programming with sprites uses other techniques. I program in C/C++ in DOS btw, does anyone know any good graphic LIBRARIES for dealing with sprites?


Edit Report
Re: 2d graphics Posted by Matthew Gross on 31 Aug 1998 at 4:54 PM
I've done a 2D engine for a game I'm working on,<br>
Unknown Kingdoms, which the animation demo for is<br>
at: http://acheronx.ml.org/ukpub/<p>
The library I used for it was a Modex 320x240x256c<br>
assembly library customized for sprites (clipping, <br>
transparency). The library and the game are done in <br>
TP, but the lib would be easy to port to C. I gave<br>
the code to one programmer (I think it was MLINK...)<br>
but never heard back from him. If you want the code<br>
I'd be glad to share it with you.<p>



URL:http://acheronx.ml.org/home/

Edit Report
Re: 2d graphics Posted by Staffan Vilcans on 14 Sept 1998 at 8:22 AM
: I programmed a game with vector graphics once, but i think programming with sprites uses other techniques. I program in C/C++ in DOS btw, does anyone know any good graphic LIBRARIES for dealing with sprites?<p>
Perhaps Allegro could be an idea? It works with DJGPP which is a compiler of choise for many game programmers. I think Quake was compiled using DJGPP.<br>



Edit Report
Re: 2d graphics Posted by Ruben on 26 Sept 1998 at 4:26 PM
<br>
Thanx Staffan,<p>
I use allegro now, and all my problems are history. I see now that this library is essential for everyone interested in game-programming for dos. (no this is not advertisement this really IS good: the library even includes 35 example programs in which they explain every feature/function you can think of.)


Edit Report
Re: 2d graphics Posted by Desertfox on 16 Jun 1999 at 5:09 AM
Where can i get that lib called allegro???<p>
Please mail me, desertfox@rebels.org





 

Recent Jobs