Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art.animation, 30 Aug 1998.
Re: ascii animation HELP!

Re: ascii animation HELP!

In article <35E...@iNOdirect.ca>, llizard <lli...@iNOdirect.ca> writes
>> >
>> >
>>            -=oO[  2 Java-Anims on 1 page!  ]Oo=-
>> 
>
>But what an excellent mistake to have made. I can't tell you how excited
>I am to learn that more than one animation can work. Very cool!
true!   ... and fanx :D

if, at the top of the page you had written ...
   "ONLY 1 per page" and "What follows are examples only"
i may not have tried to fix it.

i thought it was my browser playing up ...
... and only saw the comment about "1 per page" _after_ i'd made it work!

>
>I tried adding a "tack", but I got some weird "null" appearing in the
>first animation. then I tried changing it to "tuck" and just got errors.
>(this is what comes of using the "Blunder around" method. Do you think
>it's possible to have three?
yes ... i see no reason, having as many anims as can fit on the page, all
        running at once and at different speeds.
>
>But the two on one page works beautifully in Netscape Navigator 3.04.
good news ... fanx
>
i have made a clearer example on how to achieve 2 on 1 page at

  http://www.shieldwolf.demon.co.uk/anim/anim2-2.htm

the anim-code is verbose ... so variables are descriptive ...
... like 

    frame_count_one
    frame_count_two
    speed_one
    speed_two
    stop_one
    stop_two
    frame_stack_1
    frame_stack_2

and so on ...

basicly ... all u need is to include in the script the two anim_frame_stacks
 (the two separate picture-sets) and the control-routine for each, ensuring
 that the variable-names in each control-routine are different, including
 separate names for the picture-sets.

for some reason (i dont know what yet), in the control-initialise-routine that
 you use, each 'tlist' struct needs to have a unique struct name (and i dont
 mean just the pointer-label that its asigned to).
 ... this means if you use

        tl0 = new tlist0(
        tl1 = new tlist1(
        tl2 = new tlist2(  etc, there 'should be' no limit to the number.

the example i have described above in anim2-2.htm uses a different control-
 routine, somewhat simpler than yours. it doesn't require to count-up the
 number of frames in the picture-set to determine the value 'max' frames,
 altho' that could be useful, providing more flexibility to control the
 stop-start frame positions.   ... perhaps to switch, mid-stream, to another
 frame-set or control-function. (guess i'll have to get a book on Java).

i have re-written the script from your page so that its variable names are
 clearer than mud to read, while keeping the general structure.
 i've also duplicated one of the anims ... so there are now three.
 its 3Kb and e-mail'd it to you.

[][ see yuz
[][ colin
-- 
( () /_ / /\)   _/   /? .\ /\) /) .\ /_ /_
CJRandall http://www.shieldwolf.demon.co.uk

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,baf19c4b8f102517
X-Google-Attributes: gidfd588,public
From: CJRandall <col...@shieldwolf.demon.co.uk>
Subject: Re: ascii animation HELP!
Date: 1998/08/30
Message-ID: <LyV...@shieldwolf.demon.co.uk>#1/1
X-Deja-AN: 386150218
X-NNTP-Posting-Host: shieldwolf.demon.co.uk:193.237.26.148
References: <35D...@shaw.wave.ca> <35D...@iNOdirect.ca> <35D...@iNOdirect.ca> <O3u...@shieldwolf.demon.co.uk> <35E...@iNOdirect.ca>
X-Complaints-To: abu...@demon.net
X-Trace: news.demon.co.uk 904488749 nnrp-10:1322 NO-IDENT shieldwolf.demon.co.uk:193.237.26.148
Organization: me? organised?
MIME-Version: 1.0
Newsgroups: alt.ascii-art.animation
About this message. This message was posted publicly to the newsgroup alt.ascii-art.animation in 1998 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post