Ok, heres that bouncing ball again...
I know how to do regular bouncing, if ball reached the target, do *= - on velocity and set that position to balls position..
But I am tryin to roll the ball...
Thank You very much for Your time and tuts, its quite helpful!
Theres just so many ways to write a line of as3, and its good to have some
healthy advices.
Thnx Gk!
I see.
Your suggestion feels right, its more clearly and easier to maintain.
Its a point and click game,I just have many many MouseEvents, code is getting huge, and I started to care for...
Thanks mr 5Tons, for optimized code, but much more for advice on how to do stuff. You guys are amazing!
Btw, why is there some stupid dot flashing under my input cursor, in input field??
It...
Will that mach a username with correct pass? I dont want to login as a user with just any pass from array.. Havent tried Your example, thats why Im asking..
Im building a site, pure as3, external classes, no timeline. Using swfaddress.
I have a Master class with navigations and listeners, and pages are external classes with their dispose() methods.
...
Ok, got that. Now I have problem of retaining the actual layer order from IDE..
Main Mc has seven layers of which some are graphics(no instance names), and in IDE layer order they were above of...
This is a mock up of my file, since its a mess, lets not waste Your time navigating through all code..Never done anything through Document or external classes, so Im totaly lost how to move out...
Help..
I have all my code in timeline, and I would like to put it in external classes, It would be easy if I had it all just in main timeline, but when I have code in children of main mc, and...
I dont know if this can be done? var bitmapBounds:Rectangle = tempScore.bitmap.getBounds(this)...
bitmapBounds.contains(bla,bla)...
And to Tweenlite that?
Thanks Man!
var myTimer:Timer = new Timer(3000);
myTimer.addEventListener(TimerEvent.TIMER, addDrop);
myTimer.start();
var dripping:Drop = new Drop();
function...
Yes, I started with few drops, but decided to stick to one, changing random entries of it..forgot to discard uint.. I did change to TimerEvent, but then I loose the speed of drop, dripping.ySpeed.....
Yes, I see.
Its just some flickering bulb, randomly changing brightness and contrast..silly maybe, but I didnt know how to make it other way.. Yes definetly You helped me to understand my mistakes!...
Hm, yes, right..
Im so new in this..
It just need Mc to flicker randomly.
So I should replace ENTER_FRAME with just "ram();"...?
Sorry, beginers are borring I know..
Oh thanx my friend, its so simple, (and thus perfect) meanwhile I actually did the code but it looks more like Ben Hur scenario.. :)
3months of beginers as3 course is still nothing..
Yes, this is...