1. just like the movies
- Posted by dubetyrant at hotmail.com Jan 24, 2003
- 384 views
This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C2C3C8.A6858940 charset="iso-8859-1" Hi, Does anyone know of an algorithm that will display characters and = numbers in a sequencial fashion, with a slight delay in between each character, "just like in the = movies". I was hoping someone could just kind of point me in the right direction, I just have no idea how to = approach it...should I try to use the time() function to cause the delay? Because I want it to work on = any machine, regardless of speed. Thanks in advance, JDUBE ------=_NextPart_000_0005_01C2C3C8.A6858940 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Does anyone know of an algorithm that = will display=20 characters and numbers in a sequencial fashion,</FONT></DIV> <DIV><FONT face=3DArial size=3D2>with a slight delay in between each = character,=20 "just like in the movies". I was hoping someone could</FONT></DIV> <DIV><FONT face=3DArial size=3D2>just kind of point me in the right = direction, I=20 just have no idea how to approach it...should I try to</FONT></DIV> <DIV><FONT face=3DArial size=3D2>use the time() function to cause the = delay? Because=20 I want it to work on any machine, regardless of</FONT></DIV> <DIV><FONT face=3DArial size=3D2>speed.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2> Thanks in advance,</FONT></DIV> ------=_NextPart_000_0005_01C2C3C8.A6858940--
2. Re: just like the movies
- Posted by jbrown1050 at hotpop.com Jan 25, 2003
- 389 views
procedure delay(integer pause) --pause is the number of seconds to delay, --i use a while loop instead of sleep() as that --allows subsecond precision. t = time() + pause while time() < t do --waiting ... watching ... changing ;] end while end procedure global function putsy(integer h, sequence text) --passing h as an integer lets it work on other things beside the --screen, not sure why you'd want to do this tho ... if h = -1 then --return error return -1 end if for i = 1 to length(text) do puts(h, text[i]) delay(5) --pause every 5 seconds (use rand() if you want a random pause) end for --return success return 0 end function On Fri, Jan 24, 2003 at 04:50:07PM -0500, dubetyrant at hotmail.com wrote: > > Hi, > > Does anyone know of an algorithm that will display characters and numbers in a > sequencial fashion, > with a slight delay in between each character, "just like in the movies". I > was hoping someone could > just kind of point me in the right direction, I just have no idea how to > approach it...should I try to > use the time() function to cause the delay? Because I want it to work on any > machine, regardless of > speed. > > Thanks in advance, > JDUBE > > ==^^=============================================================== > This email was sent to: jbrown1050 at hotpop.com > > > TOPICA - Start your own email discussion group. FREE! -- /"\ ASCII ribbon | \ / campain against | Linux User:190064 X HTML in e-mail and | Linux Machine:84163 /*\ news, and unneeded MIME |
3. Re: just like the movies
- Posted by g.haberek at comcast.net Jan 25, 2003
- 352 views
This is a multi-part message in MIME format. --Boundary_(ID_EXbVkqbmibRzJTY8woHy3w) boundary="Boundary_(ID_nlFfIlml8ObeohokUfalQg)" --Boundary_(ID_nlFfIlml8ObeohokUfalQg) well, JDUBE, one algorithm wont really solve it, you need a series of algorithms to perform this, in fact, i have written a 'matrix' demo to show how to do this. i used sched.e from LangWar to schedule each column to move down the screen... included is the zip file, and i am uploading it to Rob also, so he should post it soon! ~Greg g.haberek at comcast.net ----- Original Message ----- From: dubetyrant at hotmail.com To: EUforum Sent: Friday, January 24, 2003 4:50 PM Subject: just like the movies ============ The Euphoria Mailing List ============ Hi, Does anyone know of an algorithm that will display characters and numbers in a sequencial fashion, with a slight delay in between each character, "just like in the movies". I was hoping someone could just kind of point me in the right direction, I just have no idea how to approach it...should I try to use the time() function to cause the delay? Because I want it to work on any machine, regardless of speed. Thanks in advance, JDUBE ==^==^============================================================= This email was sent to: g.haberek at comcast.net EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dd66.b3fJYv.Zy5oYWJl Or send an email to: EUforum-unsubscribe at topica.com TOPICA - Start your own email discussion group. FREE! http://www.topica.com/partner/tag02/create/index2.html ==^==^============================================================= --Boundary_(ID_nlFfIlml8ObeohokUfalQg) Content-type: text/html; charset=iso-8859-1 Content-transfer-encoding: 7BIT <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>well, JDUBE, one algorithm wont really solve it, you need a series of algorithms to perform this, in fact, i have written a 'matrix' demo to show how to do this. i used sched.e from LangWar to schedule each column to move down the screen...</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>included is the zip file, and i am uploading it to Rob also, so he should post it soon!</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>~Greg</FONT></DIV> <DIV><FONT face=Arial size=2><A href="mailto:g.haberek at comcast.net">g.haberek at comcast.net</A></FONT></DIV> <DIV> </DIV> <BLOCKQUOTE style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A href="mailto:dubetyrant at hotmail.com" title=dubetyrant at hotmail.com>dubetyrant at hotmail.com</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A href="mailto:EUforum at topica.com" title=EUforum at topica.com>EUforum</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 24, 2003 4:50 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> just like the movies</DIV> <DIV><BR></DIV><PRE>============ The Euphoria Mailing List ============ </PRE> <DIV><FONT face=Arial size=2>Hi,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Does anyone know of an algorithm that will display characters and numbers in a sequencial fashion,</FONT></DIV> <DIV><FONT face=Arial size=2>with a slight delay in between each character, "just like in the movies". I was hoping someone could</FONT></DIV> <DIV><FONT face=Arial size=2>just kind of point me in the right direction, I just have no idea how to approach it...should I try to</FONT></DIV> <DIV><FONT face=Arial size=2>use the time() function to cause the delay? Because I want it to work on any machine, regardless of</FONT></DIV> <DIV><FONT face=Arial size=2>speed.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2> Thanks in advance,</FONT></DIV> <DIV><FONT face=Arial size=2>JDUBE</FONT> </DIV><PRE>==^==^============================================================= This email was sent to: g.haberek at comcast.net EASY UNSUBSCRIBE click here: <A href="http://topica.com/u/?b1dd66.b3fJYv.Zy5oYWJl">http://topica.com/u/?b1dd66.b3fJYv.Zy5oYWJl</A> Or send an email to: EUforum-unsubscribe at topica.com TOPICA - Start your own email discussion group. FREE! <A href="http://www.topica.com/partner/tag02/create/index2.html">http://www.topica.com/partner/tag02/create/index2.html</A> --Boundary_(ID_nlFfIlml8ObeohokUfalQg)-- --Boundary_(ID_EXbVkqbmibRzJTY8woHy3w) Content-type: application/x-zip-compressed; name=matrix.zip
4. Re: just like the movies
- Posted by dubetyrant at hotmail.com Jan 25, 2003
- 361 views
-Hey, Thanks, I wanted the delay to be shorter so I just set it to one, then divided by five. Im just building up some concept ideas for an sci-fi adventure game I want to build( How the look and feel of the interface will be. )These functions will come in handy. BTW the "matrix" type output is pretty awesome. Thanks all, JDUBE >From: jbrown1050 at hotpop.com >Subject: Re: just like the movies > > >procedure delay(integer pause) > --pause is the number of seconds to delay, > --i use a while loop instead of sleep() as that > --allows subsecond precision. > t = time() + pause > while time() < t do > --waiting ... watching ... changing ;] > end while >end procedure >global function putsy(integer h, sequence text) > --passing h as an integer lets it work on other things beside the > --screen, not sure why you'd want to do this tho ... > if h = -1 then > --return error > return -1 > end if > for i = 1 to length(text) do > puts(h, text[i]) > delay(5) --pause every 5 seconds (use rand() if you want a random pause) > end for > --return success > return 0 >end function > >On Fri, Jan 24, 2003 at 04:50:07PM -0500, dubetyrant at hotmail.com wrote: > > > > Hi, > > > > Does anyone know of an algorithm that will display characters and >numbers in a sequencial fashion, > > with a slight delay in between each character, "just like in the >movies". I was hoping someone could > > just kind of point me in the right direction, I just have no idea how to >approach it...should I try to > > use the time() function to cause the delay? Because I want it to work on >any machine, regardless of > > speed. > > > > Thanks in advance, > > JDUBE > > > > ==^^=============================================================== > > This email was sent to: jbrown1050 at hotpop.com > > > > > > TOPICA - Start your own email discussion group. FREE! > >-- > /"\ ASCII ribbon | > \ / campain against | Linux User:190064 > X HTML in e-mail and | Linux Machine:84163 > /*\ news, and unneeded MIME | > > > >TOPICA - Start your own email discussion group. FREE!