I've been programming in QBasic for years, and have recently learnt C and C++. I think I am at a sufficient level to make a side-scrolling game (aiming for a gameplay level similar to Donkey Kong 1, but graphics similar to Commander Keen 1), but can't find a good pixel function.
I have screwed around with all sorts of libraries, and pretty much hated every one of them: OpenGL and SDL are driving me nuts. I have also tried VGA, which reminds me why I stopped using QB (BECAUSE MICROSOFT IS EVIL, and is constantly finding new ways to screw over it's old technology: I get all sorts of compiler errors when using anything but GCC, and it is hard to find help when a VGA program screws up).
Does anyone know of a decent way to plot graphics quickly? I don't mind about resolution as I always wanted the game to be 320x200 anyway. For example, does anyone know how later games plotted pixels (the ones before windows was popular, but after VGA, EGA)?
Decent C++ pixel function
I am by no means a C programmer (I did just enough to get through my uni courses) but I think that a lot of older DOS games use/used the Allegro library ... like for example I think Mike Wiering probably used Allegro for his games:
http://www.wieringsoftware.nl
Apparently the official Allegro page is here:
http://www.talula.demon.co.uk/allegro/
One good thing about using Allegro is that there's tons of tutorials nstuff written about it ('cuz its so old). I've never used it personally so I don't know how good it is ... my C programs usually just segfaulted into obilivion whenever they actually compiled ... I prefer <a href="http://www.digitalmzx.net">Megazeux</a> instead
http://www.wieringsoftware.nl
Apparently the official Allegro page is here:
http://www.talula.demon.co.uk/allegro/
One good thing about using Allegro is that there's tons of tutorials nstuff written about it ('cuz its so old). I've never used it personally so I don't know how good it is ... my C programs usually just segfaulted into obilivion whenever they actually compiled ... I prefer <a href="http://www.digitalmzx.net">Megazeux</a> instead
Owner / Webmaster of DOSGames.com for over 20 years
Download my free ebook: The Historical Reliability of the New Testament
Download my free ebook: The Historical Reliability of the New Testament
Re: Decent C++ pixel function
Check out this site - really very useful for new comers
http://www3.telus.net/alexander_russell ... uction.htm
Alex Russell's Dos Game Programming in C for Beginners
A Tutorial
T. P. Pramod Kumar
INDIA
http://www3.telus.net/alexander_russell ... uction.htm
Alex Russell's Dos Game Programming in C for Beginners
A Tutorial
T. P. Pramod Kumar
INDIA
No, that tutorial is for VGA graphics: and like I said VGA is hard to use and relaitvely pointless nowadays
Using Allegro, I have finished the game engine and the graphics. I also have a level selection map. The only thing left to do is make the actual levels. At the moment I am working on a map editor to make this process easier.
I can't wait 'til it's over and I can release it over the net: it should be a great game
Using Allegro, I have finished the game engine and the graphics. I also have a level selection map. The only thing left to do is make the actual levels. At the moment I am working on a map editor to make this process easier.
I can't wait 'til it's over and I can release it over the net: it should be a great game