![]() |
| | #1 |
| Software Developer Join Date: Feb 2003 Location: University of Waterloo
Posts: 1,916
| Just a random project Basically it sets up the DOS window so you have an 80x50 area (or 80x100 if you use the block character trick that I used for rendering the bitmaps) for rendering text to a buffer and swapping it to the screen really fast (I achieved about 900 fps on some computers with it in realtime mode). I've added support for a mouse and such, and I've done a couple random things, like print out an ASCII reference table. The cool thing I just finished though is a bitmap renderer using my Image Express library...it can load a bitmap and print it to the screen (using the available 16 colors) and does a somewhat decent job of it. Here's a screeny and some apps for you to play with. If you want code, feel free to ask and I'll post it. I might be doing a little tutorial thing on my site about this stuff, as it's fun to dabble with. These two attachments need to be renamed to .zip to be opened. Note: ImageLoader quits when you press a key, the ASCII table one has a + for the cursor. If you go in to full-screen (alt-enter) it works best. Last edited by jverkoey; 07-20-2005 at 02:26 PM. |
| jverkoey is offline | |
| | #2 |
| Software Developer Join Date: Feb 2003 Location: University of Waterloo
Posts: 1,916
| Screeny of the rendered bitmaps: |
| jverkoey is offline | |
| | #3 |
| Software Developer Join Date: Feb 2003 Location: University of Waterloo
Posts: 1,916
| Just added functionality for moving the bitmap on the screen and rolling the graphics around. I threw in a sin and cos wave to make it move around cool. I haven't efficienized it whatsoever, mind you, so it might run slow, but I used a Sleep function for really rudimentary frame limiting so it shouldn't go faster than what I tested it with, I know that for sure. It could go slower though if you have a computer worse than this crap one I'm using (667mhz). |
| jverkoey is offline | |
| | #4 |
| Registered User Join Date: Jan 2005
Posts: 483
| lol you got way too much free time on your hands... this could be usefull for something i had in mind but never bother doing.. |
| mrafcho001 is offline | |
| | #5 |
| Software Developer Join Date: Feb 2003 Location: University of Waterloo
Posts: 1,916
| It's called work, which oddly enough means free time. That's also the cool thing about working in an over-staffed computer help desk area as an intern. |
| jverkoey is offline | |
| | #6 |
| Crazy Fool Join Date: Jan 2003 Location: Canada
Posts: 2,596
| nice work
__________________ jeff.bagu.org - Terrain rendering and other random stuff |
| Perspective is offline | |
| | #7 |
| I am he who is the man! Join Date: Sep 2002
Posts: 361
| Looks very interesting, if and when you get articles/tutorials/give out code on your site, post about it/PM me
__________________ Stan The Man. Beatles fan When I was a child, I spoke as a child, I thought as a child, I reasoned as a child. When I became a man, I put childish ways behind me" (the holy bible, Paul, in his first letter to the Cor. 13:11) |
| Stan100 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Open-source Game Project | Glorfindel | Projects and Job Recruitment | 0 | 03-24-2009 01:12 AM |
| Lesson #3 - Math | oval | C# Programming | 2 | 04-27-2006 08:16 AM |
| Game Independent Anti-cheat Project Needs Programmers | GIA Project Lea | Projects and Job Recruitment | 3 | 09-15-2005 07:41 PM |
| Testing Random Number Generator | Roaring_Tiger | C Programming | 7 | 08-12-2005 12:48 AM |
| Best way to generate a random double? | The V. | C Programming | 3 | 10-16-2001 04:11 PM |