Path: chuka.playstation.co.uk!news From: "Rikki Prince" Newsgroups: scee.yaroze.beginners Subject: Re: --- Help me pleez --- Date: Sun, 23 May 1999 01:44:10 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 58 Message-ID: <7i7j16$lic10@chuka.playstation.co.uk> References: <7i73pd$lic8@chuka.playstation.co.uk> <7i7igs$lic9@chuka.playstation.co.uk> NNTP-Posting-Host: th-gt141-088.pool.dircon.co.uk 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, a bit of a mistake: In FntPrint, you cannot put ~crgb, but instead you need to put ~c%d%d%d, then put r,g,b at the end of FntPrint, like you would with any other variable. So: r=0; g=9; b=0; FntPrint("~c%d%d%dHello World",r,g,b) /* Print Hello World in Green */ Sorry again, its late so my mind slipped. Another thing is that for white you'd need ~c999, not ~c000. If you need any more help just ask. Thanks Rikki Rikki Prince wrote in message news:7i7igs$lic9@chuka.playstation.co.uk... > Well Loz, your problem this time is that I didn't explain the colouring of > text fully. I suppose I should have said this explicitly, but it skipped my > mind at the time. The ~cRGB only affects the colour of the text in the rest > of the text after it is inserted. So: > FntPrint("~c090Hello World") /* Would be in green */ > FntPrint("~c900This is Loz") /* Would be in red */ > Sorry for this mix-up. > I suggest it would be best to declare three integer variables named r, g and > b, then put ~crgb before any text, then in your check to see whether the > chosen colour is RED, BLUE, PURPLE etc, set r, g and b to whatever will make > the text that colour. > I hope this has made it clear, sorry for not making this obvious before. > > Thanks > Rikki > > Loz Dyer wrote in message > news:7i73pd$lic8@chuka.playstation.co.uk... > > Ok, here's the deal : > > > > This code (main.c, attached to this email.) is supposed to change the > colour > > of the timer when you press R1 or L1. And it does nothing when you press > > either of these buttons. Why? Please reply to this email if you can help. > > > > Byee !! > > > > Loz > > > > > > > >