Path: chuka.playstation.co.uk!news From: "Jon Prestidge (Moose)" Newsgroups: scee.yaroze.freetalk.english Subject: Re: negative scrolling on homebrew map routine - need help!! Date: Wed, 14 Mar 2001 15:44:04 -0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 14 Message-ID: <98o38v$ij81@www.netyaroze-europe.com> References: <3AAF7BB2.B427AED3@harbinger.com> NNTP-Posting-Host: host213-1-184-172.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sorry I've not got time to think about your prob specifically right now but generally speaking you usually need an additional line of code with this sort of thing for when you go negative e.g. after your line of code you might want something like:- if ( offsetX < 0 ) offsetX += max_X_offset; and also make sure all your variables are signed (and not unsigned) and that they are of sufficient size to cope with the largest result. Jon