00:00
00:00
Pahgawk
I'm a computer graphics programmer who occasionally still makes art.

Dave Pagurek @Pahgawk

Age 28, Male

UBC

Toronto, Canada

Joined on 2/8/09

Level:
7
Exp Points:
500 / 550
Exp Rank:
> 100,000
Vote Power:
4.94 votes
Art Scouts
1
Rank:
Civilian
Global Rank:
79,144
Blams:
6
Saves:
73
B/P Bonus:
0%
Whistle:
Normal
Trophies:
34
Medals:
69

Experimental AS3 stuff

Posted by Pahgawk - July 28th, 2011


Hey folks!

So, I've been doing some work creating things with Actionscript 3 recently. I'll start doing something because I'm bored, but then it might turn out to be useful, so I will continue developing it until I can actually put it to practical use. One of these things is a particle system that creates a bunch of "bugs" that follow and swarm around a given point. You can see a demo of it and get the source code for your own use on my website. I haven't actually used it in an animation yet, but it will most likely be in my next one (or the one after that, depending on how fast I finish it.)

Another thing I have been trying to accomplish is an automatic music generator. So far, it has a structured but random drum kit that picks either 3/4 or 4/4 time depending on the selected genre (e.g. rock, jazz, blues). That works relatively well, and it will even put in fills and drum solos. What I'm having slight difficulty with is the melody. My main problem is a technical one: How do I play the sounds? It would seem like too much work to go and make a sample of a whole bunch of notes for a whole bunch of instruments. Does anyone know of a sound library that is relatively easy to work with that is capable of generating good sounds? I tried programming my own, but all it could do was a sine wave, and it sounded really crappy. Any suggestions would be welcomed! :) As for the actual melody-building, it is coming along surprisingly well. It can make chords, play a blues scale, solo, and structure itself into choruses and bridges. It just sounds crappy. But hopefully if I can easily generate the sound with a library, this will be fixed.

Also, you may have seen that I have a new video. Let's Go Fly a Kite was the first of what I think will be two "practice" submissions of mine that I am using to develop my frame-by-frame skills. There are some things that I tried that I probably won't do again, such as the textures on the shirts, pants, and hair. But I do like the "watercoloresque" backgrounds I put in, so I think I will do something of the sort again.

Oh, and one more thing. I came third in the SkillsCanada national competition! It was pretty fun. The people there are cool. Check out Conkertheking22, who came in second, and also happens to be on Newgrounds.


Comments

I prefer AS2 THANK YOU VERY MUCH N****R

It seems like the sort of thing that would be even harder to do in AS2. But if there happens to be a way, I'm all ears.

I can promise AS2 can do almost everything that AS3 can do, it's just that AS3 runs in a slightly faster VM.

Also, yes, I can easily make a swarm based on _xmouse and _ymouse

Not entirely true, but largely, yes, AS2 can do a lot of what AS3 can. But AS3 is much faster with many objects moving onscreen at once, such as particles.

Also, knowing how to do something is not quite the same as actually doing, applying and using it. Just sayin'.

Hey listen Canadian boy, I see this as a fucking challenge.
Just sayin'.

You don't need to, I believe you. It's just that it's perfectly fine to post a script as an animation resource for those who can't.

T____________________________________
____________________________T

I really liked The Masquerade. It's nice to see something with originality and meaning on newgrounds. C:

And you're 15 years old?

A boy genius to be certain. A true prodigy. You will go far.

thanks!
Well, maybe I might, if only I can actually decide what it is that I want to do for a living... there are too many options :O