Flittergen- code and suggestions?

For general discussions of any sort that don't fit in the other forums.

Moderators: Mystic Dragon, Xalia, Shard, JKatkina

Post Reply
User avatar
DNS
Ancient Dragon
Posts: 3852
Joined: Mon May 15, 2006 3:47 pm
Location: On top of the rainbow
Contact:

Flittergen- code and suggestions?

Post by DNS »

So.. finally got off my bum and decided, hey. let's make a flitter gen.
finally.

This involves something I lack, though.
Code.

dundundun.

does anyone have code to spare? the rotating click-a-button-and-up-comes-flitter kind? Like what falas has.

even better if it's one that shows the image on the same page? though i doubt i can get that. ^^;

Also- color suggestions. :3 canon + white, black, purple, red, and cream. Anything else?

nothing too interesting, though. Or else I'll get all OCD and want to start making markings for each color, and then fifty different shades, each with every variant of marking in light and dark.. i get crazy.

so yeah. suggestions? and code donations?
Last edited by DNS on Mon Mar 26, 2007 2:53 pm, edited 1 time in total.
User avatar
DNS
Ancient Dragon
Posts: 3852
Joined: Mon May 15, 2006 3:47 pm
Location: On top of the rainbow
Contact:

Post by DNS »

Oh and, made a new flitter template, which i will be using for this.

Here is a sample, in super trippy colors. :D

Image

That's the shiney variety. the normal variaty is thus: http://i62.photobucket.com/albums/h119/ ... ippyyo.png

Definately not my best work, but until today I found hat pose impossible.

many thanks to Phoenix, who was kind enough to donate those bat refs.
User avatar
Xalia
Great Wyrm
Posts: 2030
Joined: Wed Jul 06, 2005 11:24 am
Location: California
Contact:

Post by Xalia »

Do you want the basic code that you can edit yourself or do you need someone to actually write the code for you?

I know I can't get it to load in the same page unless you wanted to put an iframe on the page (ooo...that's actually a good idea...hmm...*ponders*) but I've got that random flitter impression code on my site so I could certainly help you out with it... :)
Kilandaia
Tripaldi Weyr
TSCZ
Jurizlandia-Coming Soon
User avatar
DNS
Ancient Dragon
Posts: 3852
Joined: Mon May 15, 2006 3:47 pm
Location: On top of the rainbow
Contact:

Post by DNS »

I know nothing of java, so i need everything, except without the urls filled in. I can do that myself. >.> at the moment, I have 135 seperate flitter options [that number includes colour variations, though] , and inputting all those url's would be a pain in the ass. ^^; provided any of this isn't too inconvenient in the first place.


I wonder if you could do that. Have a link that opens into an iframe, i mean. XP

I had another idea that involved an iframe-- one of those image rotaters, that shows you a new image from a bunch every time you refresh. I can't find that code, though. D: so oh well.
User avatar
Xalia
Great Wyrm
Posts: 2030
Joined: Wed Jul 06, 2005 11:24 am
Location: California
Contact:

Post by Xalia »

I'd have to play around with that...see if it's possible...

I'll try to play around with the code of that page when I get home tonight (assuming I remember, I've got such a horrible memory... : P ) and I'll let you know if it's doable...if not I can come up with the basic load a page with a flitter code for you...do you want equal probability on all 135 flitters or did you want some more likely than others?

The way the code works it'd probably be easier if you gave me the links because I have to set up each individual location anyways...but if you'd rather paste them in I can leave the URL space blank...
Kilandaia
Tripaldi Weyr
TSCZ
Jurizlandia-Coming Soon
User avatar
DNS
Ancient Dragon
Posts: 3852
Joined: Mon May 15, 2006 3:47 pm
Location: On top of the rainbow
Contact:

Post by DNS »

I think I may have found some peice of codeon the intarwebs that might work. I'll try it, and see if that works.

Otherwise, that's what I'm thinking. If they have somethign like this:

xoxo[135] = "URL";

then just leave the url and number space blank, and i'll change them. :3 that's where most of hte work is, i think.

-hugs- thanks Xalia.
User avatar
Shard
Great Wyrm
Posts: 8950
Joined: Wed Jul 06, 2005 11:21 am
Location: San Diego CA
Contact:

Post by Shard »

The Belka adoptions in my planet twenty site have a randomizer.


http://www.geocities.com/planet_twenty_ ... elka-3.htm

When you click it takes you to the next of 5 different pages

.... blah blah blah java script (view the source for the frame)
var a;
a = 1+Math.round(Math.random()*5);
if (a==1) go_to("belka-41.htm"); <<------- individual pages
if (a==2) go_to("belka-42.htm");
if (a==3) go_to("belka-43.htm");
if (a==4) go_to("belka-44.htm");
if (a==5) go_to("belka-45.htm");

***

There's a link on that page to the source generator too. I use 2 separate instances of this, one to get the 'pupa' color and the next to get the final stage.

The one thing to be absolutely sure of is to keep track of your pages. Label the images and pages you use *clearly to you* but which might not be so easy to figure out for haxxorz like me (who might only TAKE that green flitter but I'll LOOK at all the others if I figure out where they are.... *sigh* I know I'm bad but I like simple code!).
Author of Repurposed
kshau-protectorate.com
User avatar
caesiusdraco
Fledgling
Posts: 468
Joined: Wed Oct 05, 2005 7:36 am
Location: Michigan
Contact:

Post by caesiusdraco »

Ooooh! *steals*

I could customize the Coeptus code where you click the picture, and a random flit pic comes right up on the page for you if you want. :)
S.R. / Coeptus Weir
~*~
Before she turns, rose-thorned tail streaking my hood,
I glimpse from her a thought like jagged glass,
Yet delicate with the texture of sentience:
We remain "turtle-apes", only the shells of our armors grow.
-My Bones Waxed Old by Robert Frazier
User avatar
DNS
Ancient Dragon
Posts: 3852
Joined: Mon May 15, 2006 3:47 pm
Location: On top of the rainbow
Contact:

Post by DNS »

My other expirements didn't work. >:| damn you, java code.

And ooh, nicole, that would be awesome. Could you? Or rather, could you tell mehow? ^^; 135 is rather a lot.

if not, shard's randomizer will work great. :D thanks everyone. -snug-
User avatar
Shard
Great Wyrm
Posts: 8950
Joined: Wed Jul 06, 2005 11:21 am
Location: San Diego CA
Contact:

Post by Shard »

If you've got that many flitters, I would say 'categorize, categorize, categorize'. You're gonna need to, because 1 long list will probably be buggier than several small ones with multiple results from each... Maybe if they're done by pose, that's one way to select.
Author of Repurposed
kshau-protectorate.com
User avatar
caesiusdraco
Fledgling
Posts: 468
Joined: Wed Oct 05, 2005 7:36 am
Location: Michigan
Contact:

Post by caesiusdraco »

H'okay, here's what I did:

http://draconigena.sphosting.com/coeptus/nessiecode.txt

That's my code copied and pasted with directions on how to edit it for your own personal, flitter-gen needs.

If you have any problems, or want me to just customize it for you, just say the word. :) You've done enough for me in the past that I owe you big, anyway. >.>

If you're having trouble getting all the flit images to show up, you might have to change the 39 in the:

rndno=Math.floor(Math.random()*39+1);

bit to a higher number.
S.R. / Coeptus Weir
~*~
Before she turns, rose-thorned tail streaking my hood,
I glimpse from her a thought like jagged glass,
Yet delicate with the texture of sentience:
We remain "turtle-apes", only the shells of our armors grow.
-My Bones Waxed Old by Robert Frazier
Post Reply