1. Re : scroll ( anyone )

------=_NextPart_000_0047_01BF684B.A2E7CF40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks Lewis . Your idea can work , but I think I have a hole new idea .

code :=20

map =3D {tile,tile,tile,tile}
a =3D 1

display_image({10,10} map[a])

if get_key() =3D 333 then
  a =3D a+1
 elsif get_key() =3D 331 then
  a =3D a-1
end if=20

end code

Well , the code will look something like this . If anyone wants to try =
to work out a way to use my creation , please do . If you do , could you =
please just give me a copy of your program ? I can`t help it , i`m a =
lazy boy . Sometimes I don`t even feel like writeing a email ! I like to =
work out code but I`m just to lazy to type it in . Thanks to anyone who =
listened to my email .

Ferdinand =20



------=_NextPart_000_0047_01BF684B.A2E7CF40
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial>Thanks Lewis . Your idea can work , but I think =
I have a=20
hole new idea .</FONT></DIV>
<DIV><FONT face=3DArial></FONT>&nbsp;</DIV>
<DIV>code :&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>map =3D {tile,tile,tile,tile}</DIV>
<DIV>a&nbsp;=3D 1</DIV>
<DIV>&nbsp;</DIV>
<DIV>display_image({10,10}&nbsp;map[a])</DIV>
<DIV>&nbsp;</DIV>
<DIV>if get_key() =3D 333 then</DIV>
<DIV>&nbsp; a =3D a+1</DIV>
<DIV>&nbsp;elsif get_key() =3D 331 then</DIV>
<DIV>&nbsp;&nbsp;a =3D a-1</DIV>
<DIV>end if </DIV>
<DIV>&nbsp;</DIV>
<DIV>end code</DIV>
<DIV>&nbsp;</DIV>
<DIV>Well , the code will look something like this . If anyone wants to =
try to=20
work out a way to use my&nbsp;creation , please do . If you do , could =
you=20
please just&nbsp;give me a copy of your program&nbsp;? I can`t help it , =
i`m a=20
lazy boy . Sometimes I don`t even feel like writeing a email ! I like to =
work=20
out code&nbsp;but I`m just to lazy to type it in .&nbsp;Thanks to anyone =
who=20
listened to my email .</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ferdinand&nbsp; </DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_0047_01BF684B.A2E7CF40--

new topic     » topic index » view message » categorize

2. Re: Re : scroll ( anyone )

Hello Ferdinand,


>Thanks Lewis . Your idea can work , but I think I have a hole new idea .

Well, I'm not sure I'd call it a whole new idea since it
is somewhat similar to what I was suggesting.


>code :
>
>map = {tile,tile,tile,tile}
>a = 1
>
>display_image({10,10} map[a])
>
>if get_key() = 333 then
>   a = a+1
>  elsif get_key() = 331 then
>   a = a-1
>end if
>
>end code
>
>Well , the code will look something like this . If anyone wants to try to
>work out a way to use my creation , please do . If you do , could you
>please just give me a copy of your program ? I can`t help it , i`m a lazy
>boy . Sometimes I don`t even feel like writeing a email ! I like to work
>out code but I`m just to lazy to type it in . Thanks to anyone who listened
>to my email .
>
>Ferdinand

LOL, I may not have time to write you a program since what
you are suggesting uses tiles, but I might too. Anyway here
is revised pseudo-code:


pos = {100,50} -- on a world of size {200,100}
do while ESC is not pressed...
  if right key pressed then
    pos[x] += 1
  if left key pressed then
    pos[x] -= 1
  display position = screen center - pos
  display images using display position
loop again

hope this is clearer,
Lewis Townsend

PS: if I DO write you some code, I'll use Neil for
the graphics since I'm more used to it.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu