Re: A83: What's wrong?


[Prev][Next][Index][Thread]

Re: A83: What's wrong?




Sorry, but I have to say it... READ THE EMAIL BEFORE YOU REPLY... He
said in his email in a whole paragraph what "what the problem is"!

Jkhum98@aol.com wrote:
> 
> Wasn't there a similar program called Bouncy that is out there already, only
> having a huge ball and not a smily face...? You didn't lift this code from
> there did you...? =P  Well, I'll take a look at it. Do you have a general idea
> what the problem is, like does it start up and then crash somwhere, or does it
> not work at all...?
> 
> --Jason K.
> 
> In a message dated 01/12/99 4:24:10 PM, Dsc984@aol.com writes:
> 
> >Ok, I made a little program.  This is my first program using SOS and my
> >first program using sprites...and I have a small, teeny-tiny problem.
> >Well, what the program (supposedly) does is bounce a little happy-face
> >around the screen.
> >I have 4 variables, xc, yc, dx, and dy.  Xc holds the x coord, yc holds
> >the y coord, dx holds the direction x is moving (0 for right, 1 for left)
> >and dy holds the direction y is moving (0 for down, 1 for up).
> >I'm using the sprite routine in ZLIB (lib1).
> >The problem is that when the sprite gets to the bottom of the screen, not
> >only
> >does the direction of y change, the direction of x also changes!  So, it's
> >just going from the top left corner to the bottom right (not quite corner,
> >about 30 pixels from the corner).
> >If you would like the source code to find out what's wrong, I have uploaded
> >it to my webpage, you can find it at www.hmph.com/bouncy.asm
> >Feel free to visit my starcraft page while you're at it :P
> >-Rangsk

-- 
Scott "_Wrath_" Dial
homosapian@geocities.com
ICQ#3608935
http://www.geocities.com/~homosapian/


References: