| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> still here nib? <1> ye <0> koek <0> ok <0> err i hate when that does that <0> autofill <0> lol <1> question <0> sure <1> i see your bodies have different size, and no reference point <1> i mean..hwoever i align em, i can't have the "head" of both body aligned <0> what about putting the body 1 layer behind the head? <0> would that work? <1> it's more for u <1> how do u gonna make the composing with gd if u have a different place for each body ? <0> maybe have a hotspot on screen
<1> i'm not sure i'm very clear <0> where body and head has to be within a certain dimension <0> draw a rectangle? <1> how do u wanna display the final avatar ? in a swf ? <0> no, gif <1> or u build a gif for each playa <1> ok <0> transparent background <1> u can have transparent flash <0> true, <2> yep <2> thats under publish html setting in flash <0> might be better then <2> you can choose transparetn <0> cause of more colors <2> its a small option it add to the html <1> would save hard drive space, processing...etc..to use a swf <0> ok, swf it is then <1> u would just have to p*** head url, body url, and the saved coords from DB <0> then the link would be swf in db correct? <1> no <0> ah, not 1 swf file then? <1> 1 swf for everybody <1> u just p*** it params so it built the saved avatar <0> i see <0> whats simpler to work with? <0> i would figure gif then would be easier <1> lol <1> i don't know..that's not my concern :)) <0> hehe <1> i like when it's clean..works well... <0> what do you suggest <1> i think i allready made a suggestion :) <0> ok, so stick with swf then <1> so here what we should do <1> user upload head <0> k <0> that part is already built <1> ten go to swf to place it and to place body too (no scaling for him yet) <0> ok <1> once both are in place, we send the scaling and the position of both images in the swf <1> gd scale the head images and u save the position and images url to the db <0> so what all fields am i going to need in db, and i will make them <1> headURL,bodyURL,headY,headY,bodyX,bodyY <0> k <0> thats for each user correct? <1> headX,headY <1> yes <1> if u wanna save the db... u can simply store a string with all infos <0> all text? <0> under type? <0> varchar? <1> x and y are more integers :) <0> ok, table name is users <0> fields are <0> head_url = varchar <0> body_url = varchar <0> head_x = int <0> head_y = int <0> body_y = int <0> body_x = int
<0> what about uploaded head? <0> shouldnt there be another field for that? <0> or does that prefill in head_url <0> when its uploaded <0> made varchar = 25 for link <0> should be enough <3> i've been toying around with actionscripted motion such as easing and springing, but i'd like to learn a bit more organic looking motion, does anyone have any tips or tutorials that would help me? <0> www.flashkit.com snottle <0> snottle hold on <0> got some code you might like <3> yay ^^ <0> ew mx.transitions.Tween(maskingBox,"_xscale",mx.transitions.easing.None.easeNone,100,750,90,false); <0> first word should of been new <0> this will let you xscale the easing, ect....all in 1 command <0> !google "new mx.transitions.Tween()" <0> !google "new mx.transitions.Tween" <3> i don't think that's entirely what i meant <0> err not working <3> i mean what i've been doing so far is things like springing and easing which means the mc basically moves in a straight line, which can be very usefull <0> well you can set it per timeline for how long in what motion <3> but what i'd like to learn is for a mc to move around randomly in a more organic looking manner, so instead of zipping around in straight lines sort of move around like a bug walks around <0> then same command but you adjust the x and y <0> example <0> new mx.transitions.Tween(_root.JailCell,"_x",mx.transitions.easing.None.easeNone,_root.JailCell._x,jailx,2,true); <0> instead of doing it through tweens <0> _root.jailcell = points to an mc called jailcell <0> _x adjusts the width <0> easing.none.easenone = no easing, can be adjusted to ease in or out <0> jailx = starting width <3> that's the most unusual looking actionscript i've seen so far, so basically that line is an actionscripted tween? <0> oops <0> snottle yes <3> i ***ume by starting width you mean the starting X coord? <0> exactly <0> a tween all in 1 command <0> yes <0> _xscale is a zooming feather <0> err <3> interesting, let me putz around with it <0> feature <0> want an example? <0> of it working <3> sure <0> one sec <0> will get url <0> http://www.wvpentours.com/new/ <0> click on jailcell name <0> everything you see there, except for graphic is coded <0> no manual tweens <0> which = less file size <0> and faster transitions <0> NiB, still there? <0> watcha think snottle? <3> yeah still here, i'll take a look <0> read above about benefits also <3> i've never seen anything like that <3> is there any reason you don't just code it like jail._x += (targetX - jail._x) * ease; that would pretty much have the same effect i think <0> no <0> it wouldnt <0> it wouldnt tween that way <3> ah yeah there's some kind of curve in it? <0> yup <0> also jailx is a variable <0> jaily is a variable <0> was dynamically filling those in <0> by just setting the variable per cell <0> just a shortcut in the code for me <0> that way each cell i just changed the variables <3> i don't see where the curve is implemented in the line of code you pasted <3> new mx.transitions.Tween(_root.JailCell,"_x",mx.transitions.easing.None.easeNone,_root.JailCell._x,jailx,2,true); <3> i'm seeing it says something about tween, x coords, transition but nothing about a curve <0> new mx.transitions.Tween(path to mc, "what variable is changing", easing?, start, finish, time period, true for using frames, false for time in seconds); <0> better explained? <3> ah yeah, if the x eases somewhere and the y eases somewhere you create the curve like that?
Return to
#flash or Go to some related
logs:
#politics #politics #politics #computers #nhl #delphi #politics #firebird #windows #winxp
|
|