Dec 102017
 
C source and example executables demonstrating screen scrolling.
File SCROLL2.ZIP from The Programmer’s Corner in
Category C Source Code
C source and example executables demonstrating screen scrolling.
File Name File Size Zip Size Zip Type
MAC.PAL 768 309 deflated
README.TXT 998 522 deflated
SCROLL.C 3671 1499 deflated
SCROLL.EXE 36992 17247 deflated
SCROLL2.C 4207 1694 deflated
SCROLL2.EXE 37288 17454 deflated
TILE.VSP 520 64 deflated

Download File SCROLL2.ZIP Here

Contents of the README.TXT file



This is a simple scrolling demo I put together to show how a
person might be able to speed up drawing and use vertical clipping
at the same time.

It uses xlib version 6. The executable was made using a modified
version of page flip. I have removed all waiting loops in it. It
looks like with triplebuffering they arent needed. Also using the
vsync handler can really screw up things.

The vertical clipping is very simple, just draw a page that is
320x256 on a 320x240 and display the middle portion.

I figured since someone took the time to put together xlib I
could donate a little of my expirimentation.

** I have added a little modification, scroll2 is my simple way
of making a outrun type scrolling game. Tell me what you think.


Any optimizations are greatly welcomed!!

Any comments can be sent to me via in%"[email protected]"


Enjoy
Jay Kramer



 December 10, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)