Path: chuka.playstation.co.uk!news From: "Chris Wallace" Newsgroups: scee.yaroze.freetalk.english Subject: Re: Basic beginner questions Date: Sun, 12 May 2002 13:13:36 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 77 Message-ID: References: NNTP-Posting-Host: host217-39-8-54.in-addr.btopenworld.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 > ok firstly i should have said i hadnt written the 3 loops to fade in and > then pause and fade out :) that bit of code was just to try and fade > something on the screen :) > > Your code helps, i didnt realise you had to do the update screen stuff > during each loop. > > i have a question about this line of code > for( count =0; count <8; count++ ) > FntFlush(fnt_id[count]); > > though ive looked it up in the books i can see that you can give up to 8 > font streams, but im not really sure right now what the use of that is? at the start of my code i have: fnt_id[0] = FntOpen(107,19,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[1] = FntOpen(203,19,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[2] = FntOpen(240,19,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[3] = FntOpen(270,19,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[4] = FntOpen(0,120,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[5] = FntOpen(0,130,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[6] = FntOpen(0,140,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); fnt_id[7] = FntOpen(0,150,SCREEN_WIDTH, SCREEN_HEIGHT,0,80); all i know about these is that the first to values set where text put into that fnt_id will appear. The first 4 are set to appear on my menu across the top, and the points go in fnt_id[0] and amo in [1] etc. I take most things like this for granted and just fiddle with them! in this case all the fnt_id's need to be written and not just the one. > > i also have a question about loadfont > > FntLoad(960, 256); what are these magical numbers? ive looked through the > bookand it doesnt mention these number anywhere that i could see, what am i > missing. urrr, i havent a clue. I use them and i think i have tried to change them, and it doesnt work if you do! Someone else will have to answer this. > > thanks for the replies :) so basically its now my understanding that if > manipulate any graphics on the screen i have to call update screen for the > effect to be seen.? > > ok last question > > ive used this line > #define YAROZE_SCENE_ADD (0x80090000) > > according to some demos ive seen they used 0x80100000 > > i tried using this value but found that my graphic didnt appear, should > either location work? > I cant find the info in any book either on this although im sure its there but afaik 80100000 is used for something else, it might be the vRAM in which case it cant be uploaded to. All i know is in my first game my graphics started at 80090000 and ran up and beyond 80100000 and at that point i started getting some VERY odd results. I would stick to 80090000 and hope some1 else can give a better answer! Chris