Re: A83: ASM Routines (C8:*
[Prev][Next][Index][Thread]
Re: A83: ASM Routines (C8:*
I actually have tried to learn similar things, here is what I gather.
On Wed, 17 Dec 1997, Dimitri Hammond wrote:
>
> Hey, I'm gonna need the following ASM routines for some up-coming prg's.
> If ANYONE can help, then please do!
>
> -=*8-> Routine for real, pxl-by-pxl text scrolling (I have some ideas,
> but I need some outside siggestions)
What do you mean by text scrolling? The best thing to do would be to
store your text in sprites, and then display slighly past the end of the
screen. That is the fastest way I have thought of for scrolling.
>
> -=*8-> Routine that takes the slope of a ball (its path) and the slop of
> the surface that it's hitting (ANY angle!) and make it bounce.
> Basically, a routine for a ball bouncing off of an ANY-angled surface.
> Hmm, I wish I could word that better, oh well, it's late.
>
This is fun too, I think the best one for this is to use a pixel test to
find out if you are hitting a wall, then use the ball's coordinates to
find out what type of wall it is, then it is just algebra.
> -=*8-> Umm, It'll come to me... Shux, I forgot (did I ever have one?)
> the other/3rd one. oh well, just those prev. two would be GREAT!
>
> Thanx in advance (TIA).
>
> -Dimitri
>
|-----------------------------------------------------------|
|Robert M. Gardner | Turbo C++ Programmer |
|Lilprog@prairienet.org | HTML Web page writer |
|Parkland Cross Country | Knows Unix, Dos, and Windows |
|-----------------------------------------------------------|
References: