View Full Version : Newbie here in need of help
09-25-2006, 08:33 PM
I am going to try and splice things together from other script examples if I can find them, but I would really like some help to try and learn how to do this from scratch.
Thanks for any help.
09-25-2006, 10:52 PM
So I was thinking that I should do something like having it choose a random number between 0 - 360 For "launch" direction. Then choose a random number between 1 - 10 for speed for each pixel. Then have the activation be when the mouse moves one pixel in any direction. Then each pixel would "accelerate" by subtracting say one number the y coordinate of the pixel every couple miliseconds. What do you guys think of that? I don't know how I would do this, but I think that would make the pixels do what I want them to do if I can get the script to work....
keep in mind, I just want to work on the trail pixels. Hopefully once I have that good enough, I will know enough to make the click work flawlessly.
09-27-2006, 05:51 AM
09-27-2006, 05:54 AM
09-27-2006, 06:12 AM
09-27-2006, 05:10 PM
Would you like to help me?
09-27-2006, 07:00 PM
I really don't think it's that simple. A single project doesn't teach you about the language. You'll only be using a restricted subset of it, and interacting with limited number of host objects. To become really proficient, it takes time. A lot of time - one person who I would call an expert put an estimate at six months, if not longer.
The more practical issue is that animation in browsers tends to come off really quite badly, with a lot of tearing and stuttering. It's just the wrong tool for the job.
09-27-2006, 07:02 PM
09-27-2006, 07:10 PM
I suppose it's not a bad idea. It's unlikely you'll be able to create anything viable for online use, but as a pet project it's fairly decent.
09-27-2006, 07:23 PM
09-27-2006, 08:24 PM
Hire all three of us as your personal tutors. :)
Like Mike (mwinter) says, there is a wealth of information available on the web, almost all of it is flawed but, it will get you started. You can almost always learn something though, even from the most misleading information, as long as the code works in the browser that you are using.
Just keep in mind that the not every browser responds the same way to any given code and that even when something works in all browsers, there usually is a better way to do it from the standpoints of economy of code and the resources it requires from the user's machine, browser, and the web.
So, keep an open mind, and always be ready to learn new and better ways of coding.
I learned most of what I know from trying to make existing scripts do different things than they were originally designed to do. Along the way I've seen and continue to see all kinds of things I never dreamt of. Often these are nightmares but, other times they are strange new ways to code that really are better than what I was used to.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.