Re: [A82: monster ai]


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

Re: [A82: monster ai]




i think that the minimum scroll is 0 and max is 95. so if we are at 95 we 
can either go back to the first screen or go to the right. if we go to the 
right the scroll goes to 0, and we are now back at screen 1. if we go back 
again, (to 95) the screen to the left is loaded, but we are now at screen 2. 
these scroll variables i think will be affected by the players variables. by 
default samus will be in the center, and if you go to the right 12 it starts 
to scroll right. go to 12 pixels left of the screen and it starts to scroll 
left. if the stopscroll bits are set for left or right (for a deadend or 
door), samus will be able to go to the left or right edge of the lcd.


>Am I understanding this right?
>The minimum x-coordinate is 0 and the maximum x-coordinate is 96?
>You're keeping the current screen's (what you see now) data in screen 1 and 
>the next screen's (what you see when you
>scroll right) data in screen 2?
>So when the player's x-coordinate is greater than 96, the data from screen 
>1 is lost when screen 2 is loaded into screen
>1, and then screen 2 is loaded with more level data from your program?
>So monsters that follow you into the next screen will have to have an 
>x-coordinate of at least 96 or else they will be
>"ditched" when you load screen 1 with screen 2 and screen 2 with the next 
>screen of data?
>Sorry if this is unclear or just totally wrong.
>
>----- Original Message -----
>From: "Roger Levy" <trip_n_save@hotmail.com>
>To: <assembly-82@lists.ticalc.org>
>Sent: Thursday, December 02, 1999 3:03 PM
>Subject: Re: [A82: monster ai]
>
>
>
>ok, if for instance i have scrolled one screen length - 1 (94) to the 
>right,
>then we would be almost completely in screen 2, and screen 1 is to the 
>left,
>off-screen however. any monster that follows me into this screen will have
>an x coord of >= 96. if i scroll one pixel more, i will be back at screen 1
>because the next room is loaded to screen 2, and so should the monsters be
>at screen 1 too. so im right i think, that i have to subtract 96 from all
>monsters when this happens...
>
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Follow-Ups: