Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!lll-winken!unixhub!shelby!msi.umn.edu!noc.MR.NET!gacvx2.gac.edu!hhdist From: jrl%images1.waterloo.ncr.com@RELAY.CS.NET Newsgroups: comp.sys.handhelds Subject: RE: Message-ID: <02EA16876DFF002164@gacvx2.gac.edu> Date: 16 Nov 90 21:57:41 GMT Organization: NCR Canada Ltd, Waterloo, Ontario, Canada. Lines: 21 To: hhdist%gacvx2.gac.edu@RELAY.CS.NET To: hhdist%gacvx2.gac.edu@RELAY.CS.NET In-Reply-To: <0471181703FF001A65@gacvx2.gac.edu> X-pmdf-warning: 1 format errors detected at ncrlnk.Dayton.NCR.COM X-Envelope-to: hhdist In article <0471181703FF001A65@gacvx2.gac.edu> you write: .. > i) I find moving the sprite to the left is quite difficult > since there is no equivalent instruction to Vx=Vx-KK only > Vx=Vx+KK. Am I missing something fundamental? Does anyone have > a nice little routine or algorhythm (spelling?) to explain > a simple way to do it. .. I haven't played with CHIP so I don't know whether this will apply, but... I'm thinking of Vx as position, not velocity. Is that correct? If it's position then a move of KK to the left on a display can also be taken as a move to the right by an amount that is KK unit smaller than the width of the screen. With that in mind Vx=Vx-kk can be taken as Vx=Vx+(width-kk). -- john.Latala@Waterloo.NCR.COM