try putting this in their walk code
if x < view_xview + (add whatever the camera width is)
and x > view_xview
and y > view_yview
and y < view_yview + (add whatever the camera height is)
{
(all your shitty coding goes here)
}
I did this from memory
EDIT: I'm also interested in how you did the lighting
was it tiles or was it advanced lighting code?
Last edited by xXxrenhoekxXx; 06-08-2012 at 05:48 AM..
|